Fix sitemap.xml on TACO website and add github links to website#2
Merged
pleich merged 2 commits intocispa:mainfrom Jan 21, 2026
Merged
Fix sitemap.xml on TACO website and add github links to website#2pleich merged 2 commits intocispa:mainfrom
sitemap.xml on TACO website and add github links to website#2pleich merged 2 commits intocispa:mainfrom
Conversation
add: display GitHub Repo (and edit button) on TACO webpage This commit fixes the sitemap.xml by replacing the occurences of localhost with the actual URL. This must be conducted with an extra bash script, as there does not seem to be a myst configuration option. Additionally, it adds the GitHub repo URL to the myst configuration, such that the edit button and the GitHub link should now be working.
There was a problem hiding this comment.
Pull request overview
This pull request fixes the sitemap.xml and robots.txt files by replacing localhost URLs with the actual production URL, and adds GitHub repository links to enable the edit button and GitHub link on the TACO documentation website.
Changes:
- Created a bash script to replace localhost URLs with the production URL in generated documentation files
- Added GitHub repository URLs to the myst.yml configuration for edit button and repo link functionality
- Updated the GitHub Actions workflow to execute the URL replacement script during documentation build
- Updated CHANGELOG.md to document the fix
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| scripts/replace-urls.sh | New bash script to replace localhost:3042 URLs with production URL in sitemap.xml and robots.txt |
| docs/myst.yml | Added GitHub repository URLs and dev-docs navigation links with external URLs |
| CHANGELOG.md | Added entry documenting the localhost URL fix |
| .github/workflows/static.yml | Modified myst build command and added URL replacement script execution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…po (and edit button) on TACO webpage
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
fix: sitemap.xml no longer on localhost
add: display GitHub Repo (and edit button) on TACO webpage
This commit fixes the sitemap.xml by replacing the occurences of localhost with the actual URL. This must be
conducted with an extra bash script, as there does not seem to be a myst configuration option.
Additionally, it adds the GitHub repo URL to the myst configuration, such that the edit button and the GitHub link should now be working.