Link back to the main page in documentation. Also give the main page a title. Change-Id: I6db588a9454d90a5974de5446d58d709f84d1906 Reviewed-on: https://boringssl-review.googlesource.com/8020 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/util/doc.css b/util/doc.css index ab653e4..a868e44 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 50da8d2..681b834 100644 --- a/util/doc.go +++ b/util/doc.go
@@ -544,7 +544,10 @@ <body> <div id="main"> - <h2>{{.Name}}</h2> + <div class="title"> + <h2>{{.Name}}</h2> + <a href="headers.html">All headers</a> + </div> {{range .Preamble}}<p>{{. | html | markupPipeWords}}</p>{{end}} @@ -637,6 +640,9 @@ <body> <div id="main"> + <div class="title"> + <h2>BoringSSL Headers</h2> + </div> <table> {{range .Sections}} <tr class="header"><td colspan="2">{{.Name}}</td></tr>