Skip to content

Commit f65bdf0

Browse files
committed
Doxygen Awesome style tweaks
1 parent 1aced65 commit f65bdf0

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

docs/Doxyfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,8 @@ HTML_STYLESHEET =
13011301
# list). For an example see the documentation.
13021302
# This tag requires that the tag GENERATE_HTML is set to YES.
13031303

1304-
HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css \
1304+
HTML_EXTRA_STYLESHEET = include/sim-racing-docs.css \
1305+
doxygen-awesome-css/doxygen-awesome.css \
13051306
doxygen-awesome-css/doxygen-awesome-sidebar-only.css \
13061307
doxygen-awesome-css/doxygen-awesome-sidebar-only-darkmode-toggle.css
13071308

@@ -1642,7 +1643,7 @@ ENUM_VALUES_PER_LINE = 4
16421643
# Minimum value: 0, maximum value: 1500, default value: 250.
16431644
# This tag requires that the tag GENERATE_HTML is set to YES.
16441645

1645-
TREEVIEW_WIDTH = 250
1646+
TREEVIEW_WIDTH = 350
16461647

16471648
# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
16481649
# external symbols imported via tag files in a separate window.

docs/include/sim-racing-docs.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
Sim Racing Arduino Library - Doxygen Stylesheet
3+
https://github.com/dmadison/Sim-Racing-Arduino/
4+
5+
For use with Doxygen Awesome theme
6+
*/
7+
8+
/* Custom side nav width */
9+
html {
10+
/* side nav width. MUST be = `TREEVIEW_WIDTH`.
11+
* Make sure it is wide enough to contain the page title (logo + title + version)
12+
*/
13+
--side-nav-fixed-width: 350px !important;
14+
}
15+
16+
/* Move project number to its own line */
17+
#projectnumber{
18+
display:block;
19+
position: relative;
20+
left: -0.3em;
21+
}

0 commit comments

Comments
 (0)