Skip to content

Commit

Permalink
Install sphinx_book_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
perastov committed Oct 6, 2023
1 parent 5f9aff3 commit 04c4686
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 18 deletions.
7 changes: 4 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"enum_tools.autoenum",
"sphinxjp.themes.basicstrap",
]

templates_path = ["_templates"]
Expand Down Expand Up @@ -71,9 +70,11 @@

# -- Options for HTML output ----------------------------------------------

html_theme = 'basicstrap'
html_theme = 'sphinx_book_theme'
html_theme_options = {
'sidebar_span': 1,
"repository_url": "https://github.com/cyberstudio/cybsi-sdk",
"use_repository_button": True,
"use_issues_button": True,
}
html_static_path = ["_static"]

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Sphinx==4.2.0
sphinx_toolbox==2.16.0
sphinx-autodoc-typehints==1.11.1
enum_tools==0.11.0
sphinxjp.themes.basicstrap==0.5.0
sphinx-book-theme==1.0.1
httpx==0.23.1
sphinx-jinja2-compat==0.1.1
aiofiles==22.1.0
68 changes: 55 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ flake8 = "4.0.1"
mypy = "0.991"
Sphinx = "4.2.0"
sphinx_toolbox = "2.16.0"
"sphinxjp.themes.basicstrap" = "0.5.0"
sphinx-book-theme = "^1.0.1"
sphinx-autodoc-typehints = "1.11.1"
pytest = "^7.1.1"
tbump = "6.8.0"
Expand Down

0 comments on commit 04c4686

Please sign in to comment.