Skip to content

Commit

Permalink
Set sphinx-material theme for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabcor-maxiv committed Mar 18, 2024
1 parent c316987 commit 8ccc1d5
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 2 deletions.
19 changes: 18 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,24 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "furo"
html_theme = "sphinx_material"

html_theme_options = {
"globaltoc_collapse": True,
"globaltoc_depth": -1,
"repo_name": "GitHub mxcube/mxcubecore",
"repo_type": "github",
"repo_url": "https://github.com/mxcube/mxcubecore",
}

html_sidebars = {
"**": [
"logo-text.html",
"globaltoc.html",
"localtoc.html",
"searchbox.html",
],
}


# -- Extensions --------------------------------------------------------------
Expand Down
74 changes: 73 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 @@ -49,6 +49,7 @@ PyTango = { version = "^9.3.6", optional = true }
python-ldap = "^3.4.0"
requests = "^2.31.0"
colorama = "^0.4.6"
sphinx-material = "^0.0.36"

[tool.poetry.dev-dependencies]
pylint = "^2.15.6"
Expand Down

0 comments on commit 8ccc1d5

Please sign in to comment.