Skip to content

docs: move 2.x docs to canonical.com/juju/docs/ops#2546

Open
dwilding wants to merge 3 commits into
2.23-maintenancefrom
dotcom-migration-2.23
Open

docs: move 2.x docs to canonical.com/juju/docs/ops#2546
dwilding wants to merge 3 commits into
2.23-maintenancefrom
dotcom-migration-2.23

Conversation

@dwilding

@dwilding dwilding commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This PR matches #2545 for the 2.x docs.

Preview docs built from this branch. After this PR merges, I'll switch those docs to build from 2.23-maintenance and redirect the existing docs.

Main changes

  • Updated Ops doc URLs in docs/custom_conf.py.
  • Updated hardcoded URLs for Ops, excluding CHANGES.md.
  • Added a script docs/.sphinx/_static/overwrite_links.js. This script makes sure that the version switcher from Read the Docs has correct URLs. It's a standard part of the new docs setup at Canonical.

Extra changes

  • Updated the intersphinx URL and hardcoded URLs for Pebble. To account for pebble#882.

@dwilding dwilding marked this pull request as ready for review June 10, 2026 09:51

@tromai tromai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Comment thread docs/custom_conf.py
@@ -154,7 +155,7 @@

# If your project is on documentation.ubuntu.com, specify the project

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we rename this documentation.ubuntu.com URL here too ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants