Skip to content

doc: update conf.py and add js for URL migration (v2-edge)#1398

Draft
elijahgreenstein wants to merge 2 commits into
canonical:v2-edgefrom
elijahgreenstein:migrate-v2-edge
Draft

doc: update conf.py and add js for URL migration (v2-edge)#1398
elijahgreenstein wants to merge 2 commits into
canonical:v2-edgefrom
elijahgreenstein:migrate-v2-edge

Conversation

@elijahgreenstein

Copy link
Copy Markdown
Contributor

These changes support migration of the documentation from documentation.ubuntu.com/microcloud to canonical.com/microcloud/docs:

  • Adds doc/_static/js/overwrite_links.js to properly handle links in the flyout menu (version selector).
  • Updates configuration settings in doc/conf.py
  • Reorganizes JavaScript files into doc/_static/js directory, and updates relevant paths

(cherry picked from commit 52587cb)

Checklist

@github-actions github-actions Bot added the Documentation Documentation needs updating label Jun 2, 2026
@elijahgreenstein elijahgreenstein changed the title doc: update conf.py and add js for URL migration doc: update conf.py and add js for URL migration (v2-edge) Jun 2, 2026
roosterfish
roosterfish previously approved these changes Jun 3, 2026

@roosterfish roosterfish 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.

LGTM, ready when you give the green light :)

These changes support migration of the documentation from
documentation.ubuntu.com/microcloud to canonical.com/microcloud/docs:

- Adds `doc/_static/js/overwrite_links.js` to properly handle links in
  the flyout menu (version selector).
- Updates configuration settings in `doc/conf.py`
- Reorganizes JavaScript files into `doc/_static/js` directory, and
  updates relevant paths

Signed-off-by: Elijah Greenstein <elijah.greenstein@canonical.com>
(cherry picked from commit 9174fc1)
This commit removes the "Contribute to this page" button. This change is
temporary, and the button will be restored after the docs have moved to
canonical.com.

Signed-off-by: Elijah Greenstein <elijah.greenstein@canonical.com>
(cherry picked from commit 90d659b)
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.

2 participants