Skip to content

Commit

Permalink
Add sphinx-sitemap to generate sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroBarker committed Sep 29, 2024
1 parent 5c84956 commit 52334d4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: install dependencies
run: |
pip install sphinx
pip install sphinx-sitemap
pip install sphinx-rtd-theme
pip install sphinx-multiversion
pip install sphinx-copybutton
Expand Down
10 changes: 9 additions & 1 deletion doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx_multiversion", "sphinx.ext.todo", "sphinx_copybutton"]
extensions = [
"sphinx_multiversion",
"sphinx.ext.todo",
"sphinx_copybutton",
"sphinx_sitemap",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -44,3 +49,6 @@

# Display todos by setting to True
todo_include_todos = True

# baseurl for sitemap
html_baseurl = "https://lanl.github.io/phoebus"
6 changes: 6 additions & 0 deletions doc/sphinx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ Key Features
:glob:

src/*

Indices and tables
==================

* :ref:`genindex`
* :ref:`search`

0 comments on commit 52334d4

Please sign in to comment.