Skip to content

Commit

Permalink
[DEVOPS-297 DEVOPS-298] Upgrade Sphinx, add sphinx-sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuravel committed Sep 16, 2024
1 parent 3790f74 commit 886b611
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Sphinx==7.3.7
Sphinx==8.0.2
sphinx-sitemap==2.6.0
7 changes: 4 additions & 3 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = ['sphinx_sitemap']
sitemap_url_scheme = "{link}"

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -134,7 +135,7 @@
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []
html_extra_path = ['robots.txt']

# If not None, a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down Expand Up @@ -183,7 +184,7 @@

# The URL which points to the root of the HTML documentation.
# It is used to indicate the location of document like canonical_url.
html_baseurl = 'https://docs.talkable.com'
html_baseurl = 'https://docs.talkable.com/'

# -- Options for manual page output ---------------------------------------

Expand Down
3 changes: 3 additions & 0 deletions source/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *

Sitemap: https://docs.talkable.com/sitemap.xml

0 comments on commit 886b611

Please sign in to comment.