Skip to content

Commit

Permalink
docs: add html_theme_options (#651)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Baker <[email protected]>
  • Loading branch information
bendichter and CodyCBakerPhD authored Mar 10, 2024
1 parent e5156f4 commit 33df121
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,26 @@
}
add_module_names = False

html_theme_options = {
"use_edit_page_button": True,
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/NeurodataWithoutBorders/nwb-guide",
"icon": "fa-brands fa-github",
"type": "fontawesome",
},
],
}

html_context = {
# "github_url": "https://github.com", # or your GitHub Enterprise site
"github_user": "NeurodataWithoutBorders",
"github_repo": "nwb-guide",
"github_version": "main",
"doc_path": "docs",
}


def _correct_signatures(app, what, name, obj, options, signature, return_annotation):
if what == "class":
Expand Down

0 comments on commit 33df121

Please sign in to comment.