Skip to content

Commit 836d7b9

Browse files
committed
update documentation theme
1 parent 9b68eb6 commit 836d7b9

4 files changed

Lines changed: 8 additions & 45 deletions

File tree

docs/_static/custom.css

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
1-
.sidebar-github-link {
2-
padding: 0.5rem var(--sidebar-item-spacing-horizontal);
3-
}
4-
5-
.sidebar-github-link a {
6-
display: inline-flex;
7-
align-items: center;
8-
gap: 0.4rem;
9-
font-size: 0.85rem;
10-
color: var(--color-sidebar-link-text--top-level);
11-
text-decoration: none;
12-
opacity: 0.7;
13-
transition: opacity 0.15s;
14-
}
15-
16-
.sidebar-github-link a:hover {
17-
opacity: 1;
18-
}
1+
/* Custom styles for dynaris docs */

docs/conf.py

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,15 @@
3030

3131
# -- Options for HTML output -------------------------------------------------
3232

33-
html_theme = "furo"
33+
html_theme = "alabaster"
3434
html_title = "dynaris"
3535
html_theme_options = {
36-
"source_repository": "https://github.com/quant-sci/dynaris",
37-
"source_branch": "main",
38-
"source_directory": "docs/",
39-
"top_of_page_buttons": ["view", "edit"],
40-
"navigation_with_keys": True,
41-
"footer_icons": [
42-
{
43-
"name": "GitHub",
44-
"url": "https://github.com/quant-sci/dynaris",
45-
"html": (
46-
'<svg stroke="currentColor" fill="currentColor" stroke-width="0" '
47-
'viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 '
48-
"3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37"
49-
"-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 "
50-
"1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64"
51-
"-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 "
52-
"2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82"
53-
".44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95"
54-
".29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013"
55-
' 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>'
56-
),
57-
"class": "",
58-
},
59-
],
36+
"github_user": "quant-sci",
37+
"github_repo": "dynaris",
38+
"github_banner": True,
39+
"github_button": True,
40+
"github_type": "star",
41+
"github_count": True,
6042
}
6143
html_static_path = ["_static"]
6244
html_css_files = ["custom.css"]

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
sphinx>=9.1.0
2-
furo>=2024.8.6
32
sphinx-copybutton>=0.5

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ dev = [
4646
"mypy>=1.14",
4747
"pandas-stubs>=3.0.0.260204",
4848
"sphinx>=9.1.0",
49-
"furo>=2024.8.6",
5049
"sphinx-copybutton>=0.5",
5150
]
5251

0 commit comments

Comments
 (0)