Skip to content

docs: add lastmod to libpython sitemap entries - #7786

Merged
cwhite911 merged 4 commits into
OSGeo:mainfrom
cwhite911:docs-sitemap-lastmod
Jul 29, 2026
Merged

docs: add lastmod to libpython sitemap entries#7786
cwhite911 merged 4 commits into
OSGeo:mainfrom
cwhite911:docs-sitemap-lastmod

Conversation

@cwhite911

@cwhite911 cwhite911 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

The libpython (Sphinx) entries in the merged manuals sitemap have no <lastmod>, we need to set

sitemap_show_lastmod = True

to include the tag.

@github-actions github-actions Bot added Python Related code is in Python libraries labels Jul 28, 2026
echoix
echoix previously approved these changes Jul 28, 2026

@echoix echoix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look if the artifact does what you need, but that setting really does exist as documented here: https://sphinx-sitemap.readthedocs.io/en/latest/advanced-configuration.html#adding-last-modified-timestamps

Set sitemap_show_lastmod so sphinx-sitemap emits <lastmod> from git dates.
Low search value and no datable source; they stay reachable via the API pages.
@cwhite911
cwhite911 force-pushed the docs-sitemap-lastmod branch from d1687a5 to 060c937 Compare July 29, 2026 01:54
@cwhite911 cwhite911 self-assigned this Jul 29, 2026
Comment thread python/grass/docs/conf.py Fixed
@cwhite911
cwhite911 enabled auto-merge (squash) July 29, 2026 03:49
@cwhite911
cwhite911 requested a review from echoix July 29, 2026 16:53
@cwhite911
cwhite911 merged commit a3f62a3 into OSGeo:main Jul 29, 2026
26 checks passed
@github-actions github-actions Bot added this to the 8.6.0 milestone Jul 29, 2026
@cwhite911

Copy link
Copy Markdown
Contributor Author

Note to back port to releasebranch_8_5

@cwhite911 cwhite911 added the backport to 8.5 PR needs to be backported to release branch 8.5 label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to 8.5 PR needs to be backported to release branch 8.5 libraries Python Related code is in Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants