Skip to content

Commit

Permalink
Add source links to GitHub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
eidorb committed May 24, 2024
1 parent 1a411ec commit 20a22c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions brodie.id.au/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
#
html_theme = "sphinx_book_theme"

html_theme_options = {
# https://sphinx-book-theme.readthedocs.io/en/latest/components/source-files.html#set-your-source-repository
"repository_url": "https://github.com/eidorb/brodie.id.au",
# https://sphinx-book-theme.readthedocs.io/en/latest/components/source-files.html#add-a-button-to-the-page-source
"use_source_button": True,
"repository_branch": "master",
"path_to_docs": "brodie.id.au",
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down
2 changes: 1 addition & 1 deletion brodie.id.au/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# My website
# brodie.id.au

This is my website.

Expand Down

0 comments on commit 20a22c3

Please sign in to comment.