Skip to content

Commit bf58178

Browse files
authored
Merge branch 'master' into fix/crypto-registry-deduplicate-md4-md5
2 parents 29740a0 + 3077216 commit bf58178

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docgen/proto/gen.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ generate () {
6767
sed -i -e "s/\${title}/$title/g" "$OUT_DIR/$OUT_FILE"
6868
sed -i -e "s/\${version}/$version/g" "$OUT_DIR/$OUT_FILE"
6969

70+
sed -i -E -e "s#(<p>)buf:.+</p>##g" "$OUT_DIR/$OUT_FILE"
71+
sed -i -E -e "s#^buf:[^<\n]+##g" "$OUT_DIR/$OUT_FILE"
72+
7073
inject_header "$OUT_DIR/$OUT_FILE" "$version" "proto"
7174
}
7275

docgen/xml/xs3p.xsl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@
715715
<xsl:template name="DocumentCSSStyles">
716716
<xsl:text disable-output-escaping="yes">
717717
/* XS3P specific CSS */
718+
html {
719+
scroll-padding-top: 110px;
720+
}
721+
718722
body {
719723
font: 16px/1.5em "Helvetica Neue",Helvetica,Arial,sans-serif;
720724
color: #222;
@@ -808,19 +812,11 @@ code {
808812
a {
809813
color: #2157c4;
810814
}
811-
a.name {
812-
padding-top: 110px;
813-
}
814815

815816
h3.xs3p-subsection-heading {
816817
margin-bottom: 30px;
817818
}
818819

819-
section, #top {
820-
margin-top: -110px;
821-
padding-top: 110px;
822-
}
823-
824820
pre {
825821
padding: 5px;
826822
}

0 commit comments

Comments
 (0)