Skip to content

docs: Use sphinx-book-theme for docs #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
2 changes: 1 addition & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set BUILDDIR=_build

if "%1" == "" goto help

Expand Down
20 changes: 0 additions & 20 deletions docs/source/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/_static/css/badge_only.css

This file was deleted.

41 changes: 13 additions & 28 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
/* Make the title bigger */
.wy-side-nav-search > a {
font-size: 160%;
}

/* Search box adjustments */
.wy-side-nav-search input[type="text"] {
padding: 10px 15px;
font-size: 100%;
border-radius: 10px;
}
/* Hack font */
@import url('https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css');

/* Set visited links to blue */
.section a:visited,
footer a:visited {
color: #2980b9;
#site-navigation h1.site-logo {
font-size: 1.5em;
}

/* Make home icon black instead of purple */
a.icon.icon-home:visited {
color: unset;
#site-navigation .bd-sidebar__top nav ul li a {
font-size: 1.25em;
}

/* Change code highlight background on dark mode */
@media (prefers-color-scheme: dark) {
.rst-content .highlight {
background: #26292b;
}
#site-navigation .bd-sidebar__bottom .navbar_extra_footer {
color: #999;
opacity: 0.8;
font-size: 0.85em;
}

/* Change code block font */
.rst-content .linenodiv pre,
.rst-content div[class^="highlight"] pre,
.rst-content pre.literal-block {
font-family: Source Code Pro, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
}
:root {
--pst-font-family-monospace: "Hack", "Source Code Pro", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", "Courier", monospace;
}
Binary file removed docs/source/_static/css/fonts/Roboto-Slab-Bold.woff
Binary file not shown.
Binary file removed docs/source/_static/css/fonts/Roboto-Slab-Bold.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading