From ed729f74260d83a14b8d9850adcff3a7315ceeb6 Mon Sep 17 00:00:00 2001 From: gabrielebndn <gabriele.bndn@gmail.com> Date: Fri, 30 Nov 2018 23:58:32 +0100 Subject: [PATCH] [doc] Custom CSS --- doc/Doxyfile.extra.in | 12 ++++++++++++ doc/customdoxygen.css | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 doc/customdoxygen.css diff --git a/doc/Doxyfile.extra.in b/doc/Doxyfile.extra.in index 2266c668b..c780d363d 100644 --- a/doc/Doxyfile.extra.in +++ b/doc/Doxyfile.extra.in @@ -425,9 +425,21 @@ HTML_FOOTER = # will generate a default style sheet. Note that doxygen will try to copy # the style sheet file to the HTML output directory, so don't put your own # style sheet in the HTML output directory as well, or it will be erased! +# NOTE: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, +# as it is more robust and this tag (HTML_STYLESHEET) +# will in the future become obsolete. #HTML_STYLESHEET = @PROJECT_SOURCE_DIR@/doc/package.css +# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined +# cascading style sheets that are included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace +# the standard style sheet and is therefore more robust against future updates. +# Doxygen will copy the style sheet files to the output directory. + +HTML_EXTRA_STYLESHEET = @PROJECT_SOURCE_DIR@/doc/customdoxygen.css + # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. # Doxygen will adjust the colors in the style sheet and background images # according to this color. Hue is specified as an angle on a colorwheel, diff --git a/doc/customdoxygen.css b/doc/customdoxygen.css new file mode 100644 index 000000000..0e3416fd3 --- /dev/null +++ b/doc/customdoxygen.css @@ -0,0 +1,19 @@ +/* Customizing Doxygen output */ + +/* Needed to allow line breaks in tables*/ +.memberdecls { + table-layout: fixed; + width: 100%; +} + +/* Needed to break long template names*/ +.memTemplItemLeft { + white-space: normal !important; + word-wrap: break-word; +} + +/* Needed to break long template names*/ +.memItemLeft { + white-space: normal !important; + word-wrap: break-word; +} -- GitLab