File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
src/rocm_docs/data/_doxygen Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * CSS workaround for Doxygen missing image references
3+ *
4+ * This file overrides CSS variables that reference non-existent images
5+ * in the auto-generated doxygen.css file which makes the dead link checker
6+ * happy.
7+ */
8+
9+ html {
10+ /* Fix search images (not generated when SEARCHENGINE=NO) */
11+ --search-magnification-image : none;
12+ --search-magnification-select-image : none;
13+ --nav-gradient-active-image-parent : none;
14+
15+ /* Fix fold/collapse images with incorrect relative paths (not generated when HTML_DYNAMIC_SECTIONS=NO) */
16+ --fold-minus-image-relpath : none;
17+ --fold-plus-image-relpath : none;
18+ }
19+
20+ /* Dark mode overrides */
21+ @media (prefers-color-scheme : dark) {
22+ html : not ([data-theme = light ]) {
23+ --search-magnification-image : none;
24+ --search-magnification-select-image : none;
25+ --nav-gradient-active-image-parent : none;
26+ --fold-minus-image-relpath : none;
27+ --fold-plus-image-relpath : none;
28+ }
29+ }
30+
31+ html [data-theme = dark ] {
32+ --search-magnification-image : none;
33+ --search-magnification-select-image : none;
34+ --nav-gradient-active-image-parent : none;
35+ --fold-minus-image-relpath : none;
36+ --fold-plus-image-relpath : none;
37+ }
You can’t perform that action at this time.
0 commit comments