Skip to content

Commit

Permalink
Set *Sphinx* doc theme to *furo*
Browse files Browse the repository at this point in the history
Set the theme for *Sphinx* doc to *furo*:
https://pypi.org/project/furo/
  • Loading branch information
fabcor-maxiv committed Oct 18, 2023
1 parent 397df83 commit 8d50266
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 12 deletions.
12 changes: 1 addition & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
version = PROJECT_PACKAGE_METADATA["Version"]
release = version

DOCUMENT_DESCRIPTION = f"{project} documentation"


# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -46,15 +44,7 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "alabaster"

html_theme_options = {
"description": DOCUMENT_DESCRIPTION,
"github_banner": "true",
"github_button": "true",
"github_repo": "mxcubecore",
"github_user": "mxcube",
}
html_theme = "furo"


# -- Extensions --------------------------------------------------------------
Expand Down
65 changes: 64 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 @@ -62,6 +62,7 @@ pytest-mock = "^3.10.0"
[tool.poetry.group.docs.dependencies]
myst-parser = "^2.0.0"
sphinx = "<7.2"
furo = "^2023.9.10"

[tool.poetry.extras]
tango = ["PyTango"]
Expand Down

0 comments on commit 8d50266

Please sign in to comment.