docs: make html output have a fixed width, hide footer

It's hard to read text which stretches indefinitely.

The footer is not adding much.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2014-10-18 14:50:49 +03:00
parent b05a05edbd
commit 0419f6e783
3 changed files with 12 additions and 2 deletions

View File

@ -11,7 +11,8 @@ EXTRA_DIST = \
doc/quick-guide.md \
doc/compat.md \
doc/keymap-format-text-v1.txt \
doc/rules-format.txt
doc/rules-format.txt \
doc/doxygen-extra.css
AM_CPPFLAGS = \
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \

View File

@ -925,7 +925,7 @@ HTML_STYLESHEET =
# robust against future updates. Doxygen will copy the style sheet file to
# the output directory.
HTML_EXTRA_STYLESHEET =
HTML_EXTRA_STYLESHEET = @abs_top_srcdir@/doc/doxygen-extra.css
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note

9
doc/doxygen-extra.css Normal file
View File

@ -0,0 +1,9 @@
div#top, div.header, div.contents {
margin-left: auto;
margin-right: auto;
width: 960px;
}
.footer {
display: none;
}