Skip to content

Commit 1e16a7d

Browse files
committed
Switch doc theme
1 parent 4f14ab1 commit 1e16a7d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/conf.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,16 @@
4747
# The theme to use for HTML and HTML Help pages. See the documentation for
4848
# a list of builtin themes.
4949
#
50-
html_theme = "sphinx_rtd_theme"
50+
html_theme = "sphinx_book_theme"
51+
52+
html_theme_options = {
53+
"repository_url": "https://github.com/SystemRDL/PeakRDL-cheader",
54+
"path_to_docs": "docs",
55+
"use_download_button": False,
56+
"use_source_button": True,
57+
"use_repository_button": True,
58+
"use_issues_button": True,
59+
}
5160

5261
# Add any paths that contain custom static files (such as style sheets) here,
5362
# relative to this directory. They are copied after the builtin static files,

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pygments-systemrdl
2-
sphinx-rtd-theme
2+
sphinx-book-theme

0 commit comments

Comments
 (0)