mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-07 17:46:58 +08:00
doc: add the version number to the HTML output
Add the subtitle (e.g. "version XXXX...") to the HTML output. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
984c6011ba
commit
aa319b93e9
@ -3,8 +3,18 @@ body {
|
||||
"arial", "sans-serif";
|
||||
background: white;
|
||||
}
|
||||
h1 {
|
||||
div.title {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0;
|
||||
}
|
||||
span.subtitle {
|
||||
font-size: 1.25em;
|
||||
font-style: italic;
|
||||
}
|
||||
code, pre {
|
||||
font-family: "source code pro", "liberation mono", "monospace";
|
||||
|
@ -967,7 +967,10 @@ sub html_preamble {
|
||||
print "<li class=\"last\"><a class=\"index\" href=\"nasmdoci.html\">Index</a></li>\n";
|
||||
print "</ul>\n";
|
||||
|
||||
print "<div class=\"title\">\n";
|
||||
print "<h1>", $metadata{'title'}, "</h1>\n";
|
||||
print '<span class="subtitle">', $metadata{'subtitle'}, "</span>\n";
|
||||
print "</div>\n";
|
||||
}
|
||||
|
||||
sub html_postamble {
|
||||
|
Loading…
Reference in New Issue
Block a user