Skip to content

Commit

Permalink
Link to GitHub repo from the docs (#1415)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
krassowski and pre-commit-ci[bot] authored Apr 11, 2024
1 parent de6d904 commit 0746288
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,25 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {"navigation_with_keys": False}
html_theme_options = {
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/jupyter-server/jupyter_server",
"icon": "fab fa-github-square",
}
],
"navigation_with_keys": False,
"use_edit_page_button": True,
}

# Output for github to be used in links
html_context = {
"github_user": "jupyter-server", # Username
"github_repo": "jupyter_server", # Repo name
"github_version": "main", # Version
"doc_path": "docs/source/", # Path in the checkout to the docs root
}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand Down

0 comments on commit 0746288

Please sign in to comment.