Skip to content

Commit 52f2f9b

Browse files
committed
Improve documentation website
1 parent 110fbd9 commit 52f2f9b

15 files changed

Lines changed: 580 additions & 325 deletions

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@ Jinja2>=3.0
77
sphinx-design==0.5.0
88
myst-parser==2.0.0
99
sphinxcontrib-mermaid==0.9.2
10-
breathe==4.35.0
11-
exhale==0.3.7
1210
sphinx-copybutton>=0.5.0
1311
sphinx-multiversion>=0.2.4
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
function setFavicon(e) {
2+
const dark = e.matches;
3+
const favicon = document.getElementById("favicon");
4+
if (favicon) {
5+
favicon.href = dark
6+
? "_static/logo/corese-core_doc_fav_dark.svg"
7+
: "_static/logo/corese-core_doc_fav_light.svg";
8+
}
9+
}
10+
11+
const mql = window.matchMedia("(prefers-color-scheme: dark)");
12+
mql.addEventListener("change", setFavicon);

docs/source/_static/logo/badge_flathub.svg

Lines changed: 11 additions & 5 deletions
Loading

docs/source/_static/logo/badge_github.svg

Lines changed: 12 additions & 6 deletions
Loading

docs/source/_static/logo/badge_maven.svg

Lines changed: 10 additions & 4 deletions
Loading

docs/source/_static/logo/corese-command-logo.svg

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)