Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
{%- block extrafooter %}
{# Add custom things to the head HTML tag #}

{% if display_github %}
<p>hmmmmmmmmmmmmmm</p>

{% endif %}

<div class="dark-mode-toggle-container">
<strong class="light-label md-icon">&#xE430</strong>

Expand Down
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

html_context = {
"display_github": True, # Integrate GitHub
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"github_user": "photonvision", # Username
"github_repo": "PhotonVision", # Repo name
"github_version": "main", # Version
"conf_py_path": "/docs/source/", # Path in the checkout to the docs root
}
source_suffix = [".rst", ".md"]


Expand Down
Loading