From aa319b93e910736eacb4a492a3128661a76f52b1 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 17 Apr 2017 02:18:50 -0700 Subject: 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 --- doc/nasmdoc.css | 12 +++++++++++- doc/rdsrc.pl | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/nasmdoc.css b/doc/nasmdoc.css index 466ee2ce..af095273 100644 --- a/doc/nasmdoc.css +++ b/doc/nasmdoc.css @@ -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"; diff --git a/doc/rdsrc.pl b/doc/rdsrc.pl index 78e53951..bc066584 100644 --- a/doc/rdsrc.pl +++ b/doc/rdsrc.pl @@ -967,7 +967,10 @@ sub html_preamble { print "
  • Index
  • \n"; print "\n"; + print "
    \n"; print "

    ", $metadata{'title'}, "

    \n"; + print '', $metadata{'subtitle'}, "\n"; + print "
    \n"; } sub html_postamble { -- cgit v1.2.1