-
Notifications
You must be signed in to change notification settings - Fork 1
Fix sitemap.xml on TACO website and add github links to website
#2
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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.