docs(xeno3): improve doxygen build
cover docs(xeno3): improve doxygen build
From: Markus Kurz <[email protected]>
I adjusted the size of the search bar in the API documentation of xenomai 3 and also removed some obsolete configuration variables from the doxygen config files. Furthermore, I corrected to the correct paper type config.
I tested it using a fork of xenomai and xenomai-docs and deployed the static website to have a similar outcome to how it will be used.
The website with the applied patches can be seen here:
https://xenomai-doc-ac7b99.gitlab.io/v3/html/xeno3prm/index.html
Markus Kurz (2):
docs(xeno3): adjust the size of the search bar
docs(xeno3): fix warnings in doxygen build
doc/doxygen/search-style.css | 25 +++++++++++++++++++++++++ doc/doxygen/xeno3prm-common.conf.in | 22 ---------------------- doc/doxygen/xeno3prm-html.conf.in | 22 +++++++++++++--------- doc/doxygen/xeno3prm-latex.conf.in | 10 ++++++---- 4 files changed, 44 insertions(+), 35 deletions(-) create mode 100644 doc/doxygen/search-style.css
PATCH 1/2 docs(xeno3): adjust the size of the search bar
From: Markus Kurz <[email protected]>
The search bar used to search through the API documentation had a font-size of 8px, which was barely visible. Therefore, this commit adjusts the font-size of the search bar, the drop down menu of the search, and also the livepreview to 1.2em of the base font-size of the documentation which is 14px.
Changes to the xeno3prm-html.conf.in had to be made in order for doxygen to use the extra stylesheet.
--- doc/doxygen/search-style.css | 25 +++++++++++++++++++++++++ doc/doxygen/xeno3prm-html.conf.in | 14 ++++++++------ 2 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 doc/doxygen/search-style.css
doc/doxygen/search-style.css new file +25 -0
@@ -0,0 +1,25 @@ +#MSearchSelect { + font-size: 1.2em !important; +} + +#MSearchBox { + height: 1.4em !important; +} + +#MSearchField { + font-size: 1.2em !important; + width: 14em !important; +} + +#MSearchSelectWindow { + font-size: 1.2em !important; +} + +.SelectItem { + font: 1.2em var(--font-family-search) !important; +} + +.SRPage .SREntry { + font-size: 1.2em !important; +} +
doc/doxygen/xeno3prm-html.conf.in +8 -6
@@ -29,12 +29,14 @@ HTML_HEADER = HTML_FOOTER = -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet - -HTML_STYLESHEET = +# 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 = @top_srcdir@/doc/doxygen/search-style.css # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the
Re: [PATCH 1/2] docs(xeno3): adjust the size of the search bar
Quoted 39 lines · On 30.10.25 16:53, [email protected] wrote:
From: Markus Kurz <[email protected]>
The search bar used to search through the API documentation had a font-size of 8px, which was barely visible. Therefore, this commit adjusts the font-size of the search bar, the drop down menu of the search, and also the livepreview to 1.2em of the base font-size of the documentation which is 14px.
Changes to the xeno3prm-html.conf.in had to be made in order for doxygen to use the extra stylesheet.
Signed-off-by Markus Kurz <[email protected]>--- doc/doxygen/search-style.css | 25 +++++++++++++++++++++++++ doc/doxygen/xeno3prm-html.conf.in | 14 ++++++++------ 2 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 doc/doxygen/search-style.cssdoc/doxygen/search-style.css new file +15
-0@@ -0,0 +1,25 @@ +#MSearchSelect { + font-size: 1.2em !important; +} + +#MSearchBox { + height: 1.4em !important; +} + +#MSearchField { + font-size: 1.2em !important; + width: 14em !important; +} + +#MSearchSelectWindow { + font-size: 1.2em !important;
doc/doxygen/search-style.css line 25
Quoted 10 lines
doc/doxygen/search-style.css new file +10
-0+} + +.SelectItem { + font: 1.2em var(--font-family-search) !important; +} + +.SRPage .SREntry { + font-size: 1.2em !important; +} +
".git/rebase-apply/patch:37: new blank line at EOF."
Fixed up on merge.
Jan
Quoted 26 lines
doc/doxygen/xeno3prm-html.conf.in +8
-6@@ -29,12 +29,14 @@ HTML_HEADER = HTML_FOOTER = -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet - -HTML_STYLESHEET = +# 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 = @top_srcdir@/doc/doxygen/search-style.css # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center
PATCH 2/2 docs(xeno3): fix warnings in doxygen build
In reply to [email protected]From: Markus Kurz <[email protected]>
Remove obsolete doxygen configuration and change to the correct default paper_type of a4.
--- doc/doxygen/xeno3prm-common.conf.in | 22 ---------------------- doc/doxygen/xeno3prm-html.conf.in | 10 ++++++---- doc/doxygen/xeno3prm-latex.conf.in | 10 ++++++---- 3 files changed, 12 insertions(+), 30 deletions(-)
doc/doxygen/xeno3prm-common.conf.in +0 -22
@@ -459,12 +459,6 @@ VERBATIM_HEADERS = YES ALPHABETICAL_INDEX = NO -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that
@@ -714,14 +708,6 @@ EXTERNAL_GROUPS = YES # Configuration options related to the dot tool #--------------------------------------------------------------------------- -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class.
@@ -816,14 +802,6 @@ DOTFILE_DIRS = MAX_DOT_GRAPH_DEPTH = 0 -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, which results in a white background. -# Warning: Depending on the platform used, enabling this option may lead to -# badly anti-aliased labels on the edges of a graph (i.e. they become hard to -# read). - -DOT_TRANSPARENT = NO - # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output # files in one run (i.e. multiple -o and -T options on the command line). This # makes dot run faster, but since only newer versions of dot (>1.8.10)
doc/doxygen/xeno3prm-html.conf.in +6 -4
@@ -153,11 +153,13 @@ MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. +# The PAPER_TYPE tag can be used to set the paper type that is used by the +# printer. Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), +# legal (8.5 x 14 inches) and executive (7.25 x 10.5 inches). +# The default value is: a4. +# This tag requires that the tag GENERATE_LATEX is set to YES. -PAPER_TYPE = a4wide +PAPER_TYPE = a4 # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output.
doc/doxygen/xeno3prm-latex.conf.in +6 -4
@@ -141,11 +141,13 @@ MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. +# The PAPER_TYPE tag can be used to set the paper type that is used by the +# printer. Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), +# legal (8.5 x 14 inches) and executive (7.25 x 10.5 inches). +# The default value is: a4. +# This tag requires that the tag GENERATE_LATEX is set to YES. -PAPER_TYPE = a4wide +PAPER_TYPE = a4 # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output.
Quoted 18 lines · On 30.10.25 16:53, [email protected] wrote:
From: Markus Kurz <[email protected]>
I adjusted the size of the search bar in the API documentation of xenomai 3 and also removed some obsolete configuration variables from the doxygen config files. Furthermore, I corrected to the correct paper type config.
I tested it using a fork of xenomai and xenomai-docs and deployed the static website to have a similar outcome to how it will be used.
The website with the applied patches can be seen here:
https://xenomai-doc-ac7b99.gitlab.io/v3/html/xeno3prm/index.htmlMarkus Kurz (2):
docs(xeno3): adjust the size of the search bar
docs(xeno3): fix warnings in doxygen build
Quoted 8 lines
doc/doxygen/search-style.css | 25 +++++++++++++++++++++++++ doc/doxygen/xeno3prm-common.conf.in | 22 ---------------------- doc/doxygen/xeno3prm-html.conf.in | 22 +++++++++++++--------- doc/doxygen/xeno3prm-latex.conf.in | 10 ++++++---- 4 files changed, 44 insertions(+), 35 deletions(-) create mode 100644 doc/doxygen/search-style.css
Thanks, both applied. The outcome can currently be found in a new doc staging area:
https://xenomai-doc-6176f5.gitlab.io/next/v3/html/xeno3prm/
Jan
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center