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>
This commit is contained in:
parent
1aa03f0745
commit
2b1ca80e09
@ -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;
|
||||
|
@ -544,7 +544,10 @@ func generate(outPath string, config *Config) (map[string]string, error) {
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<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 @@ func generateIndex(outPath string, config *Config, headerDescriptions map[string
|
||||
|
||||
<body>
|
||||
<div id="main">
|
||||
<div class="title">
|
||||
<h2>BoringSSL Headers</h2>
|
||||
</div>
|
||||
<table>
|
||||
{{range .Sections}}
|
||||
<tr class="header"><td colspan="2">{{.Name}}</td></tr>
|
||||
|
Loading…
Reference in New Issue
Block a user