docs: configure for ubuntu.com proxy - #147
Closed
medubelko wants to merge 2 commits into
Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Configures the Starflow documentation to be served via the ubuntu.com proxy at ubuntu.com/docs/starflow instead of the ReadTheDocs hosted URL, including a custom JS shim that rewrites links from the old domain to the new one.
Changes:
- Update
ogp_site_urlandhtml_baseurlto the ubuntu.com proxy URL, and rename the sitemap to avoid collision with RTD's. - Add
overwrite-links.jsto rewrite header and RTD flyout links fromdocumentation.ubuntu.com/starflowtoubuntu.com/docs/starflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/conf.py | Switch canonical/OGP URL to the ubuntu.com proxy, rename sitemap, and load the new link-overwrite JS. |
| docs/_static/js/overwrite-links.js | New client-side script that rewrites old-domain links in the header and RTD flyout. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jahn-junior
approved these changes
Jun 3, 2026
The trailing slash in `docs/starflow/` isn't present in the sitemap otherwise.
Contributor
Author
|
@jahn-junior FYI: 840caf0 |
Contributor
Author
|
We're keeping Starflow on documentation.ubuntu.com for the time being. Closing. |
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.
First attempt at the ubuntu.com proxy. We're doing Starflow in production to get a better sense of how much downtime is incurred.
It's possible to do this without committing
overwrite-links.jsdirectly, but since Starflow only has one version, it's simpler and more visible to track here.