Skip to content

Commit c42fa23

Browse files
committed
doc: use shibuya theme
1 parent d7f7353 commit c42fa23

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

doc/conf.py

+12-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,18 @@
5151

5252
# -- Options for HTML output ----------------------------------------------
5353

54-
html_theme = "alabaster"
55-
html_static_path = []
54+
html_theme = "shibuya"
55+
html_baseurl = "https://pytest-iam.readthedocs.io"
56+
html_theme_options = {
57+
"github_url": "https://github.com/pytest-dev/pytest-iam",
58+
}
59+
html_context = {
60+
"source_type": "github",
61+
"source_user": "pytest-dev",
62+
"source_repo": "pytest-iam",
63+
"source_version": "main",
64+
"source_docs_path": "/doc/",
65+
}
5666

5767

5868
# -- Options for HTMLHelp output ------------------------------------------

poetry.lock

+15-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ requests = "^2.31.0"
4848
optional = true
4949

5050
[tool.poetry.group.doc.dependencies]
51-
alabaster = "^0.7.13"
5251
myst-parser = "^3.0.0"
52+
shibuya = "^2024.7.13"
5353
sphinx = "^7.0.0"
5454
sphinx-issues = "^4.0.0"
5555

0 commit comments

Comments
 (0)