- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dark/light switch to docs, include markdown manuals in doxygen ge…
…neration
1 parent
49972d5
commit 73b02ab
Showing
24 changed files
with
647 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,11 +34,10 @@ jobs: | |
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
|
||
- name: Install Doxygen | ||
run: sudo apt-get install doxygen -y | ||
|
||
- name: Generate docs | ||
run: doxygen docs/Doxyfile | ||
- name: Doxygen | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
doxyfile-path: 'docs/cfg/Doxyfile' | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600"); | ||
|
||
.github-corner svg { | ||
fill: var(--primary-color); | ||
color: var(--page-background-color); | ||
width: 72px; | ||
height: 72px; | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
.github-corner svg { | ||
width: 50px; | ||
height: 50px; | ||
} | ||
#projectnumber { | ||
margin-right: 22px; | ||
} | ||
} | ||
|
||
.next_section_button { | ||
display: block; | ||
padding: var(--spacing-large) 0 var(--spacing-small) 0; | ||
color: var(--page-background-color); | ||
user-select: none; | ||
} | ||
|
||
.alter-theme-button:hover { | ||
background: var(--primary-dark-color); | ||
} | ||
|
||
html.dark-mode .darkmode_inverted_image img, /* < doxygen 1.9.3 */ | ||
html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ { | ||
filter: brightness(87%) hue-rotate(180deg) invert(); | ||
} | ||
|
||
.bordered_image { | ||
border-radius: var(--border-radius-small); | ||
border: 1px solid var(--separator-color); | ||
display: inline-block; | ||
overflow: hidden; | ||
} | ||
|
||
html.dark-mode .bordered_image img, /* < doxygen 1.9.3 */ | ||
html.dark-mode .bordered_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ { | ||
border-radius: var(--border-radius-small); | ||
} | ||
|
||
html { | ||
--primary-color: #42b983; | ||
--fragment-link: #42b983; | ||
--fragment-keywordflow: #ff7b72; | ||
--spacing-small: 8px; | ||
--content-maxwidth: 800px; | ||
--font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif; | ||
--font-family-monospace: 'Roboto Mono', Monaco, courier, monospace; | ||
--fragment-lineheight: 24px; | ||
} | ||
|
||
html.dark-mode { | ||
--primary-color: #42b983; | ||
--page-background-color: #1a1d23; | ||
--side-nav-background: #242832; | ||
--separator-color: rgba(255,255,255,0.07); | ||
--tablehead-background: #242832; | ||
--code-background: #242832; | ||
--fragment-background: #242832; | ||
--fragment-link: #42b983; | ||
--fragment-keywordflow: #ff7b72; | ||
} | ||
|
||
div.fragment { | ||
padding-top: 25px !important; | ||
padding-bottom: 25px !important; | ||
padding-left: 20px !important; | ||
border-radius: 0px; | ||
border: none; | ||
} | ||
|
||
code { | ||
border-radius: 0px; | ||
border: none; | ||
} |
Oops, something went wrong.