diff --git a/util/doc.css b/util/doc.css index ab653e4e..a868e444 100644 --- a/util/doc.css +++ b/util/doc.css @@ -7,12 +7,15 @@ h2 { font-family: monospace; - margin-bottom: 2em; background-color: #b2c9db; padding: 7px; border-radius: 7px; } +div.title { + margin-bottom: 2em; +} + ol { list-style: none; margin-bottom: 4em; diff --git a/util/doc.go b/util/doc.go index 50da8d2d..681b8349 100644 --- a/util/doc.go +++ b/util/doc.go @@ -544,7 +544,10 @@ func generate(outPath string, config *Config) (map[string]string, error) {
-

{{.Name}}

+
+

{{.Name}}

+ All headers +
{{range .Preamble}}

{{. | html | markupPipeWords}}

{{end}} @@ -637,6 +640,9 @@ func generateIndex(outPath string, config *Config, headerDescriptions map[string
+
+

BoringSSL Headers

+
{{range .Sections}}
{{.Name}}