Skip to content

feat: Configure docs for migration to canonical.com (add migration branch for main)#752

Draft
skoech wants to merge 4 commits into
mainfrom
migrate-main
Draft

feat: Configure docs for migration to canonical.com (add migration branch for main)#752
skoech wants to merge 4 commits into
mainfrom
migrate-main

Conversation

@skoech

@skoech skoech commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@skoech skoech changed the title doc: Configure docs for migration to canonical.com feat: Configure docs for migration to canonical.com (add migration branch for main) Jun 4, 2026
skoech added 4 commits June 16, 2026 10:57
Signed-off-by: Sharon Koech <sharon.koech@canonical.com>
Signed-off-by: Sharon Koech <sharon.koech@canonical.com>
Signed-off-by: Sharon Koech <sharon.koech@canonical.com>
Signed-off-by: Sharon Koech <sharon.koech@canonical.com>
skoech added a commit that referenced this pull request Jul 6, 2026
# Description

This PR updates the MicroCeph docs to the latest version of the Sphinx
Stack (v2.0). It brings in updated tooling, and adds missing CI checks.

- Fixes #678 
- Potentially fixes domain migration issue: (related to #752) 

## Key changes
- Syncs `conf.py` with the latest Sphinx Stack template
- Syncs GitHub workflows with Sphinx Stack (`cla-check.yml`,
`check-removed-urls.yml`)
- Replaces bundled extension dependencies with individual packages in
`requirements.txt`
- Adds `redirects.txt` since Sphinx Stack 2.0 deprecates the
`sphinx-reredirects` extension, which defines redirects inline, in favor
of `sphinx-rerediraffe`, which requires redirects to live in a separate
`redirects.txt` file
  - Removes redirects dict from `conf.py`
- Changes `FETCH_SCRIPT` variable from `SOURCEDIR` to `DOCS_SOURCEDIR`
in `Makefile`
- Adds `_dev/` directory with updated tooling (pre-commit hooks, Vale
config, pa11y script, pymarkdown) - renamed from `_.sphinx` to better
reflect its purpose (**breaking change**)
- Removes the `reuse/` directory to reduce complexity and improve source
readability (**breaking change**)

### Features
- **sphinx-llm support**: Adds `sphinx-llm` extension that generates
extra files (`llms.txt`, `llms-full.txt`, `.md` copies of each page)
alongside regular HTML build, that are optimized for AI tools. This
makes the documentation consumable by LLMs and MCP-based tools.
- **Dependency constraints**: All extensions are now pinned to their
major version to prevent upstream breakages from surprise releases. Most
extensions now uses the `~=` operator (compatible release), which locks
to the current major version, which means that we'd still get minor
updates (e.g., bug fixes, security fixes and minor
improvements/features) without risking a surprise breaking change.
- **Copyright statement**: Footer now includes license metadata
(AGPL-3.0)- added to `html_context` in `conf.py`. Sphinx Stack 2.0
aligns the copyright statement with legal standards

Release notes: https://github.com/canonical/sphinx-stack/releases

## Type of change

- Documentation update (change to documentation only)
  - Documentation tooling, specifically, not content

## How has this been tested?

Tested locally; builds pass with no errors or warnings:

- [x] `make run`: Builds and serves successfully
- [x] `make spelling`: No spelling errors; Ceph-specific terms caught
added to `.custom_wordlist.txt`
- [x] `make woke`: No inclusive language issues
- [x] `make linkcheck`: No broken links

<img width="1850" height="941" alt="image"
src="https://github.com/user-attachments/assets/19b28082-7742-471e-8984-ec9f896828b2"
/>

<img width="1850" height="941" alt="image"
src="https://github.com/user-attachments/assets/835bcdea-af88-4e8d-8e6e-1f809237554a"
/>


## Contributor checklist

- [x] self-reviewed the code in this PR
- [x] added code comments, particularly in less straightforward areas
- [ ] checked and added or updated relevant documentation - N/A
- [ ] added or updated HTML meta descriptions for any new or modified
documentation pages (see
[#643](#643)) - N/A
- [ ] verified that page title and headings accurately represent page
content for new or modified documentation pages - N/A
- [ ] checked and added or updated relevant release notes
- [ ] added tests to verify effectiveness of this change

---------

Signed-off-by: Sharon Koech <sharon.koech@canonical.com>
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.

1 participant