summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-10-18 14:50:49 +0300
committerRan Benita <ran234@gmail.com>2014-10-18 15:06:16 +0300
commit0419f6e78377a91f997f0f67ae0ef49fa1bc09c3 (patch)
treef786eb39fb6ef075f2c4e5ecf48c74507f1f58bb
parentb05a05edbd4f386de8cb82003ed3408786478e0f (diff)
downloadxorg-lib-libxkbcommon-0419f6e78377a91f997f0f67ae0ef49fa1bc09c3.tar.gz
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>
-rw-r--r--Makefile.am3
-rw-r--r--doc/Doxyfile.in2
-rw-r--r--doc/doxygen-extra.css9
3 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b2bdbe7..cd2dfab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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)"' \
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 8ef97b6..5881ff9 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -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
diff --git a/doc/doxygen-extra.css b/doc/doxygen-extra.css
new file mode 100644
index 0000000..632ebad
--- /dev/null
+++ b/doc/doxygen-extra.css
@@ -0,0 +1,9 @@
+div#top, div.header, div.contents {
+ margin-left: auto;
+ margin-right: auto;
+ width: 960px;
+}
+
+.footer {
+ display: none;
+}