Skip to content

Commit

Permalink
Add source config to Sphinx html_theme_options
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Aug 24, 2024
1 parent 6d5c1a5 commit 2ea2096
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
author = "Alex Hadley"
release = "0.5.0"

# General configuration
# Extensions
extensions = [
"myst_parser",
"sphinx.ext.autodoc",
Expand All @@ -18,6 +18,11 @@
# HTML output options
html_theme = "furo"
html_static_path = ["_static"]
html_theme_options = {
"source_repository": "https://github.com/PainterQubits/datalogs",
"source_branch": "main",
"source_directory": "docs",
}

# MyST options
myst_heading_anchors = 3
Expand Down

0 comments on commit 2ea2096

Please sign in to comment.