Skip to content

Commit

Permalink
feat: add preset for pydata theme
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Aug 9, 2022
1 parent 2979d61 commit 364be03
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
6 changes: 6 additions & 0 deletions mudkip/preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ def furo(config):
config.override.setdefault("html_css_files", []).append("mudkip_furo.css")


@preset
def pydata(config):
dirhtml(config)
config.override.setdefault("html_theme", "pydata_sphinx_theme")


@preset
def vitepress(config):
config.sphinx_buildername = "vitepress"
23 changes: 22 additions & 1 deletion poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ colorama = {version = "*", markers = 'sys_platform == "win32"'}
myst-nb = "^0.16.0"
furo = "^2022.6.21"
sphinxcontrib-mermaid = "^0.7.1"
pydata-sphinx-theme = "^0.9.0"

[tool.poetry.dev-dependencies]
black = "^22.6.0"
Expand Down

0 comments on commit 364be03

Please sign in to comment.