Skip to content

Commit

Permalink
added sitemap to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Silas Gyger committed Jun 19, 2023
1 parent 741208d commit 61a667b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup packages
run: |
sudo apt install python3-sphinx make
python -m pip install sphinx-rtd-theme
python -m pip install sphinx-rtd-theme sphinx-sitemap
- name: Build
run: make html
Expand Down
10 changes: 8 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autosectionlabel'
'sphinx.ext.autosectionlabel',
'sphinx_sitemap'
]

# sphinx_sitemap config
sitemap_url_scheme = "{link}"

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down Expand Up @@ -99,4 +103,6 @@

html_show_sphinx = False

logo_url = "https://images.g2crowd.com/uploads/product/image/social_landscape/social_landscape_d05ec3744972a3774cc038fe42484954/audiotool.png"
html_baseurl = 'https://manual.audiotool.com/'

# logo_url = "https://images.g2crowd.com/uploads/product/image/social_landscape/social_landscape_d05ec3744972a3774cc038fe42484954/audiotool.png"
2 changes: 1 addition & 1 deletion manuals/other/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ computer so see what your changes look like.
First, you need to:

* `install sphinx <https://www.sphinx-doc.org/en/master/usage/installation.html>`_
* install the theme: ``python3 -m pip install sphinx_rtd_theme``
* install extension: ``python3 -m pip install sphinx-rtd-theme sphinx-sitemap``

Then, everytime you make a change [#rebuild]_, rebuild with::

Expand Down

0 comments on commit 61a667b

Please sign in to comment.