Skip to content

doc: fix intersphinx links#764

Merged
tomponline merged 1 commit into
canonical:mainfrom
minaelee:fix-intersphinx-links
May 1, 2025
Merged

doc: fix intersphinx links#764
tomponline merged 1 commit into
canonical:mainfrom
minaelee:fix-intersphinx-links

Conversation

@minaelee
Copy link
Copy Markdown

With PATH_PREFIX in docs/Makefile set to /en/latest, since the site move/redirect to documentation.ubuntu.com/microcloud, the intersphinx links are replacing /microcloud in the URL with /en/latest. Example: the link to the LXD integrated docs from this page is trying to go to https://documentation.ubuntu.com/en/latest/lxd where it should go to https://documentation.ubuntu.com/microcloud/latest/lxd.

Changed PATH_PREFIX in docs/Makefile to /microcloud/latest should fix this. Note: RTD preview build does not work for intersphinx links so cannot test through it. Also will need to update PATH_PREFIX in stable & v2-edge once confirmed this works for latest.

Signed-off-by: Minae Lee <minae.lee@canonical.com>
@minaelee minaelee requested a review from roosterfish April 30, 2025 21:42
@github-actions github-actions Bot added the Documentation Documentation needs updating label Apr 30, 2025
@minaelee minaelee marked this pull request as ready for review May 1, 2025 16:46
@tomponline tomponline merged commit 04adbf0 into canonical:main May 1, 2025
14 checks passed
@minaelee
Copy link
Copy Markdown
Author

minaelee commented May 1, 2025

Cheers, confirmed that it's working as expected so I'll backport. Thanks to @wideawakening for the heads-up on this bug.

roosterfish added a commit that referenced this pull request May 7, 2025
Fix intersphinx links to point to /microcloud/v2-edge instead of
/en/v2-edge per recent changes to site.
Backport of #764
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants