Skip to content

Commit

Permalink
Merge pull request #12 from plone/6-update-sitemap
Browse files Browse the repository at this point in the history
Update URL for sitemap
  • Loading branch information
stevepiercy authored May 19, 2024
2 parents 88cb47e + 18c2c9d commit 1a0a45e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@
# suggest edit link
# remark: {{ file_name }} is mandatory in "edit_page_url_template"
html_context = { # TODO: verify html_context usage in plone-sphinx-theme
"edit_page_url_template": "https://6.docs.plone.org/contributing/index.html?{{ file_name }}#making-contributions-on-github",
"edit_page_url_template": "https://github.com/plone/plone-sphinx-theme/edit/main/docs/{{ file_name }}",
}

# Announce that we have an opensearch plugin
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_use_opensearch
html_use_opensearch = "https://6.docs.plone.org" # TODO: Confirm usage of opensearch in theme
html_use_opensearch = "https://plone-sphinx-theme.readthedocs.io" # TODO: Confirm usage of opensearch in theme

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down Expand Up @@ -274,9 +274,10 @@
# -- Options for sphinx_sitemap to html -----------------------------

# Used by sphinx_sitemap to generate a sitemap
html_baseurl = "https://6.docs.plone.org/"
html_baseurl = "https://plone-sphinx-theme.readthedocs.io/"
# https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#customizing-the-url-scheme
sitemap_url_scheme = "{link}"
sitemap_filename = "sitemap-custom.xml"

# -- Options for myST markdown conversion to html -----------------------------

Expand Down Expand Up @@ -331,9 +332,9 @@


# -- OpenGraph configuration ----------------------------------
ogp_site_url = "https://6.docs.plone.org/"
ogp_site_url = "https://plone-sphinx-theme.readthedocs.io/"
ogp_description_length = 200
ogp_image = "https://6.docs.plone.org/_static/Plone_logo_square.png"
ogp_image = "https://plone-sphinx-theme.readthedocs.io/_static/Plone_logo_square.png"
ogp_site_name = "Plone Sphinx Theme Documentation"
ogp_type = "website"
ogp_custom_meta_tags = [
Expand Down
2 changes: 1 addition & 1 deletion docs/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Disallow: /.doctrees/
Disallow: /*.txt$
Disallow: /.buildinfo$
Disallow: /objects.inv$
Sitemap: https://6.docs.plone.org/sitemap.xml
Sitemap: https://plone-sphinx-theme.readthedocs.io/sitemap.xml

0 comments on commit 1a0a45e

Please sign in to comment.