Skip to content

Commit 7e0aa7e

Browse files
committed
Update docs/conf.py for 2025
1 parent 0f57a45 commit 7e0aa7e

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

docs/conf.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = "Plone Training"
20+
project = "Plone Training 2025"
2121
copyright = "Plone Foundation"
2222
author = "Plone community"
2323
trademark_name = "Plone"
@@ -29,9 +29,9 @@
2929
# built documents.
3030
#
3131
# The short X.Y version.
32-
version = year
32+
version = "2025"
3333
# The full version, including alpha/beta/rc tags.
34-
release = year
34+
release = "2025"
3535

3636

3737
# -- General configuration ----------------------------------------------------
@@ -123,6 +123,7 @@
123123
}
124124

125125
html_theme_options = {
126+
"announcement": "⚠️ You are viewing the 2025 version of Plone Training. <a href='https://training.plone.org/'>View the latest version</a>. ⚠️",
126127
"article_header_start": ["toggle-primary-sidebar", "chapter-title"],
127128
"extra_footer": """<p>The text and illustrations in this website are licensed by the Plone Foundation under a Creative Commons Attribution 4.0 International license. Plone and the Plone® logo are registered trademarks of the Plone Foundation, registered in the United States and other countries. For guidelines on the permitted uses of the Plone trademarks, see <a href="https://plone.org/foundation/logo">https://plone.org/foundation/logo</a>. All other trademarks are owned by their respective owners.</p>
128129
<p>Pull request previews by <a href="https://readthedocs.org/">Read the Docs</a>.</p>""",
@@ -252,10 +253,10 @@
252253

253254
# -- OpenGraph configuration ----------------------------------
254255

255-
ogp_site_url = "https://training.plone.org/"
256+
ogp_site_url = "https://2025.training.plone.org/"
256257
ogp_description_length = 200
257-
ogp_image = "https://training.plone.org/_static/Plone_logo_square.png"
258-
ogp_site_name = "Plone Training"
258+
ogp_image = "https://2025.training.plone.org/_static/Plone_logo_square.png"
259+
ogp_site_name = "Plone Training 2025"
259260
ogp_type = "website"
260261
ogp_custom_meta_tags = [
261262
'<meta property="og:locale" content="en_US" />',
@@ -277,7 +278,7 @@
277278
# -- Options for sphinx_sitemap to HTML -----------------------------
278279

279280
# Used by sphinx_sitemap to generate a sitemap
280-
html_baseurl = "https://training.plone.org/"
281+
html_baseurl = "https://2025.training.plone.org/"
281282
# https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#customizing-the-url-scheme
282283
sitemap_url_scheme = "{link}"
283284

0 commit comments

Comments
 (0)