Merge pull request #4363 from minrk/jupyterhub-sphinx-theme

JupyterHub sphinx theme
This commit is contained in:
Min RK
2023-02-28 11:01:55 +01:00
committed by GitHub
2 changed files with 4 additions and 8 deletions

View File

@@ -9,9 +9,9 @@
--editable . --editable .
autodoc-traits autodoc-traits
jupyterhub-sphinx-theme
myst-parser myst-parser
pre-commit pre-commit
pydata-sphinx-theme
pytablewriter>=0.56 pytablewriter>=0.56
ruamel.yaml ruamel.yaml
sphinx>=4 sphinx>=4

View File

@@ -34,6 +34,7 @@ extensions = [
"sphinx-jsonschema", "sphinx-jsonschema",
"sphinxext.opengraph", "sphinxext.opengraph",
"sphinxext.rediraffe", "sphinxext.rediraffe",
"jupyterhub_sphinx_theme",
"myst_parser", "myst_parser",
] ]
root_doc = "index" root_doc = "index"
@@ -154,18 +155,13 @@ html_logo = "_static/images/logo/logo.png"
html_favicon = "_static/images/logo/favicon.ico" html_favicon = "_static/images/logo/favicon.ico"
html_static_path = ["_static"] html_static_path = ["_static"]
html_theme = "pydata_sphinx_theme" html_theme = "jupyterhub_sphinx_theme"
html_theme_options = { html_theme_options = {
"icon_links": [ "icon_links": [
{ {
"name": "GitHub", "name": "GitHub",
"url": "https://github.com/jupyterhub/jupyterhub", "url": "https://github.com/jupyterhub/jupyterhub",
"icon": "fab fa-github-square", "icon": "fa-brands fa-github",
},
{
"name": "Discourse",
"url": "https://discourse.jupyter.org/c/jupyterhub/10",
"icon": "fab fa-discourse",
}, },
], ],
"use_edit_page_button": True, "use_edit_page_button": True,