Skip to content

Commit

Permalink
Merge pull request #2516 from minrk/theme
Browse files Browse the repository at this point in the history
adopt jupyterhub sphinx theme
  • Loading branch information
minrk authored Feb 28, 2023
2 parents 12d198d + 2c5193c commit 2b9d60d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jupyterhub-sphinx-theme
myst-parser
pydata-sphinx-theme
sphinx_copybutton
11 changes: 9 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
extensions = [
"myst_parser",
"sphinx_copybutton",
"jupyterhub_sphinx_theme",
]

# The suffix(es) of source filenames.
Expand All @@ -38,9 +39,15 @@
# -- Options for HTML output ----------------------------------------------
# ref: http://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
#
html_theme = "pydata_sphinx_theme"
html_theme = "jupyterhub_sphinx_theme"
html_theme_options = {
"github_url": "https://github.com/jupyterhub/mybinder.org-deploy/",
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/jupyterhub/mybinder.org-deploy",
"icon": "fa-brands fa-github",
},
],
"use_edit_page_button": True,
}
html_context = {
Expand Down

0 comments on commit 2b9d60d

Please sign in to comment.