-
Notifications
You must be signed in to change notification settings - Fork 512
docs: update sitemap to 2.7.0 and support lastmods
#5579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
medubelko
wants to merge
8
commits into
canonical:main
Choose a base branch
from
medubelko:docs-update-sitemap
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
10b4659
build(deps): update dependency sphinx-sitemap to 2.7.0
medubelko 5187902
build(docs): exclude dependencies when generating `lastmod`s for sitemap
medubelko aa85798
build(docs): try another exclusion for rtd
medubelko bbb1833
build(docs): try again
medubelko 720da6e
build(docs): try some more
medubelko ba5db3e
build(docs): maybe the whole thing can't be read?
medubelko 64ca227
build(docs): rtd doesn't support persistent env vars
medubelko 84c7a61
build(docs): try alternate resolve for venv path
medubelko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mr-cal This brings us to:
The last line is a departure, but I don't know why it's printing
.git.The build is acting like
git_exclude_patternshas no effect. I could dig into this further, but I don't know whether it's worth it. Thelastmods add a modest amount of value to the sitemap.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that it may not be worth the effort. I'm suspecting this is an upstream issue, as there should be a way to not fail here. Think we should report it upstream?
After looking at the outstanding bugs, I think we should wait on bumping sphinx-sitemap to 2.7. For example, 2.7 includes
flaskbut doesn't use it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened an ticket: mgeier/sphinx-last-updated-by-git#83
I agree, let's leave it at 2.6.0 for now. I'll keep this branch up for a while longer.