telepathy-qt: doxygen: add extra css to constrain the width of the page
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Sun Oct 9 13:45:42 UTC 2016
Module: telepathy-qt
Branch: master
Commit: db6b4019f0b978821423ef348c1d4ef0d1f07ef0
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=db6b4019f0b978821423ef348c1d4ef0d1f07ef0
Author: George Kiagiadakis <gkiagia at tolabaki.gr>
Date: Sun Sep 25 16:04:48 2016 +0300
doxygen: add extra css to constrain the width of the page
On big screens, expanding to the full screen width can be tiring
for reading text.
The 99% width constraint also makes the footer look slightly nicer
(the text doesn't touch the window edge anymore).
---
customdoxygen.css | 7 +++++++
doxygen.cfg.in | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/customdoxygen.css b/customdoxygen.css
new file mode 100644
index 0000000..e412189
--- /dev/null
+++ b/customdoxygen.css
@@ -0,0 +1,7 @@
+/* This file overrides css rules generated by doxygen */
+
+body {
+ margin: auto;
+ width: 99%;
+ max-width: 80em;
+}
diff --git a/doxygen.cfg.in b/doxygen.cfg.in
index 7d2b425..0173666 100644
--- a/doxygen.cfg.in
+++ b/doxygen.cfg.in
@@ -1170,7 +1170,7 @@ HTML_STYLESHEET =
# list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
-HTML_EXTRA_STYLESHEET =
+HTML_EXTRA_STYLESHEET = @abs_top_srcdir@/customdoxygen.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
More information about the telepathy-commits
mailing list