Skip to content

Commit

Permalink
Merge pull request #129 from umami-hep/update-docs
Browse files Browse the repository at this point in the history
Docs: use link to changelog
  • Loading branch information
afroch authored Sep 20, 2022
2 parents c8f0054 + 471c5a2 commit bf74557
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@

html_theme = "pydata_sphinx_theme"
html_theme_options = {
"external_links": [
{
"url": "https://github.com/umami-hep/puma/blob/main/changelog.md",
"name": "Changelog",
},
],
"logo": {
"text": "puma documentation",
},
Expand Down
1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
Quickstart <self>
examples/index.rst
dev_guidelines/index.rst
../../changelog.md

Indices and tables
==================
Expand Down
1 change: 0 additions & 1 deletion docs/sphinx_build_multiversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def main():
# copy the latest conf.py, since we want to use that configuration for all the
# docs versions that are built
copy("docs/source/conf.py", "./conf_latest.py")
copy("changelog.md", "docs/source/changelog.md")

# build docs for main branch no matter what versions are present in the switcher
# (this is kind of a safety measure to make sure the main branch docs are built
Expand Down

0 comments on commit bf74557

Please sign in to comment.