Skip to content

Commit d8a3564

Browse files
authored
docs: Use sphinx-book-theme for docs (#79)
1 parent 1c6d431 commit d8a3564

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+154
-3388
lines changed

Diff for: docs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
SPHINXOPTS ?=
77
SPHINXBUILD ?= sphinx-build
88
SOURCEDIR = source
9-
BUILDDIR = build
9+
BUILDDIR = _build
1010

1111
# Put it first so that "make" without argument is like "make help".
1212
help:

Diff for: docs/make.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
1010
set SOURCEDIR=source
11-
set BUILDDIR=build
11+
set BUILDDIR=_build
1212

1313
if "%1" == "" goto help
1414

Diff for: docs/source/Makefile

-20
This file was deleted.

Diff for: docs/source/_static/css/badge_only.css

-1
This file was deleted.

Diff for: docs/source/_static/css/custom.css

+13-28
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,21 @@
1-
/* Make the title bigger */
2-
.wy-side-nav-search > a {
3-
font-size: 160%;
4-
}
5-
6-
/* Search box adjustments */
7-
.wy-side-nav-search input[type="text"] {
8-
padding: 10px 15px;
9-
font-size: 100%;
10-
border-radius: 10px;
11-
}
1+
/* Hack font */
2+
@import url('https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css');
123

13-
/* Set visited links to blue */
14-
.section a:visited,
15-
footer a:visited {
16-
color: #2980b9;
4+
#site-navigation h1.site-logo {
5+
font-size: 1.5em;
176
}
187

19-
/* Make home icon black instead of purple */
20-
a.icon.icon-home:visited {
21-
color: unset;
8+
#site-navigation .bd-sidebar__top nav ul li a {
9+
font-size: 1.25em;
2210
}
2311

24-
/* Change code highlight background on dark mode */
25-
@media (prefers-color-scheme: dark) {
26-
.rst-content .highlight {
27-
background: #26292b;
28-
}
12+
#site-navigation .bd-sidebar__bottom .navbar_extra_footer {
13+
color: #999;
14+
opacity: 0.8;
15+
font-size: 0.85em;
2916
}
3017

3118
/* Change code block font */
32-
.rst-content .linenodiv pre,
33-
.rst-content div[class^="highlight"] pre,
34-
.rst-content pre.literal-block {
35-
font-family: Source Code Pro, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
36-
}
19+
:root {
20+
--pst-font-family-monospace: "Hack", "Source Code Pro", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "Courier", monospace;
21+
}

Diff for: docs/source/_static/css/fonts/Roboto-Slab-Bold.woff

-85.6 KB
Binary file not shown.

Diff for: docs/source/_static/css/fonts/Roboto-Slab-Bold.woff2

-65.7 KB
Binary file not shown.
-84.3 KB
Binary file not shown.
-64.9 KB
Binary file not shown.
-162 KB
Binary file not shown.

0 commit comments

Comments
 (0)