@@ -2,35 +2,73 @@ MkDocs ➜ Docusaurus migration checklist
22
33Goal: ship `docusaurus/` as the new production site for https://docs.codacy.com/
44
5+ ---
6+ MVP
7+
58## 0) Make it beautiful
6- - [ ] Colors, fonts and sizes
7- - [ ] Better footer
8- - [ ] Beautiful navigation
9- - [ ] Nav links
9+ - [x] Colors, fonts and sizes
10+ - [x] Better footer
11+ - [x] Beautiful navigation
12+ - [x] Nav links
13+
14+ ## 0) Apply new theme!
15+ - [ ] Homepage
16+ - [ ] Sidebar
17+ - [ ] Navbar
18+ - [ ] Search
19+ - [ ] Footer
20+ - [ ] Nav buttons
21+ - [ ] Reading time?
1022
1123## 1) Content parity (docs rendering)
1224- [ ] Confirm all pages exist in `docusaurus/docs` (count + spot-check key sections)
13- - [ ] Confirm MkDocs-only templating is fully removed from Docusaurus content:
14- - [ ] No Jinja tags (`{% ... %}` / `{{ ... }}`) remain in `docusaurus/docs`
15- - [ ] Replace MkDocs `extra.*` variables with Docusaurus equivalents (MDX constants / front matter / config)
16- - [ ] Confirm MkDocs `include-markdown` usage is fully replaced with `_includes/*.mdx` imports/usages
17- - [ ] Confirm admonitions render as expected (MkDocs `!!! note|tip|warning` ➜ Docusaurus admonitions / MDX syntax)
25+ - [x ] Confirm MkDocs-only templating is fully removed from Docusaurus content:
26+ - [x ] No Jinja tags (`{% ... %}` / `{{ ... }}`) remain in `docusaurus/docs`
27+ - [x ] Replace MkDocs `extra.*` variables with Docusaurus equivalents (MDX constants / front matter / config)
28+ - [x ] Confirm MkDocs `include-markdown` usage is fully replaced with `_includes/*.mdx` imports/usages
29+ - [x ] Confirm admonitions render as expected (MkDocs `!!! note|tip|warning` ➜ Docusaurus admonitions / MDX syntax)
1830- [ ] Confirm heading IDs/anchors are stable (MkDocs `toc` permalink + custom `{:#id}` usage)
1931
2032## 2) Navigation & information architecture
2133- [ ] Review `docusaurus/sidebars.ts` vs MkDocs `nav:` in `mkdocs.yml` for:
2234 - [ ] Missing/extra categories
2335 - [ ] Ordering (including release notes yearly grouping)
2436 - [ ] Any pages that should be hidden from sidebar but still routable
25- - [ ] Replace placeholder site metadata in `docusaurus/docusaurus.config.ts` (title/tagline/footer links/GitHub links)
26- - [ ] Decide canonical doc routes (Docusaurus uses `/` as `routeBasePath`): ensure this matches production expectations
37+ - [x] Replace placeholder site metadata in `docusaurus/docusaurus.config.ts` (title/tagline/footer links/GitHub links)
38+ - [x] Decide canonical doc routes (Docusaurus uses `/` as `routeBasePath`): ensure this matches production expectations
39+ ---
40+
41+ Releseable
2742
2843## 3) Redirects (must-have before cutover)
2944- [ ] Port MkDocs `redirect_maps` from `mkdocs.yml` to Docusaurus redirects
3045 - Recommended: add `@docusaurus/plugin-client-redirects` and generate redirects from `mkdocs.yml`
3146 - Include legacy Zendesk (`hc/...`) redirects and internal moved-page redirects
3247- [ ] Validate redirects with a link/redirect checker against the built site
3348
49+ ## 5) Release notes specifics
50+ - [ ] RSS feed parity (MkDocs uses `mkdocs-rss-plugin` for `release-notes/*`)
51+ - [ ] Decide feed generation approach (Docusaurus plugin/custom script during build)
52+ - [ ] Ensure `/feed_rss_created.xml` exists (many pages link to it)
53+ - [ ] Confirm release notes sidebar + navigation matches expectations (tabs already added)
54+
55+ ## 8) SEO & meta descriptions (replaces `mkdocs-meta-descriptions`)
56+ - [ ] Decide how to generate meta descriptions (front matter `description` / plugin / build-time extraction)
57+ - [ ] Preserve sitemap + robots behavior (MkDocs workflow wrote `robots.txt` with sitemap link)
58+ - [ ] Validate canonical URLs and avoid indexing preview builds (MkDocs used preview banner + env toggles)
59+
60+ ## 9) CI/CD parity (replaces `.github/workflows/mkdocs.yml`)
61+ - [ ] Add a Docusaurus workflow that covers:
62+ - [ ] Build
63+ - [ ] HTML/link validation equivalent to `htmltest` + `lychee` expectations
64+ - [ ] Branch previews (Netlify or equivalent)
65+ - [ ] Deploy latest to `gh-pages` with `CNAME=docs.codacy.com`
66+ - [ ] Deploy versioned Self-hosted docs from `release/v*`
67+
68+ ---
69+
70+ NEXT
71+
3472## 4) Versioning strategy (replaces `mike` + `MKDOCS_SELF_HOSTED`)
3573MkDocs currently publishes:
3674- Latest docs on `master` to `gh-pages/`
@@ -40,12 +78,7 @@ MkDocs currently publishes:
4078 - [ ] Use Docusaurus docs versions for Self-hosted (`release/v*` ➜ versioned docs)
4179 - [ ] Decide URL shape for versions (must preserve/redirect existing production URLs)
4280- [ ] Implement the model in CI (build + deploy) and document how to cut a new Self-hosted version
43-
44- ## 5) Release notes specifics
45- - [ ] RSS feed parity (MkDocs uses `mkdocs-rss-plugin` for `release-notes/*`)
46- - [ ] Decide feed generation approach (Docusaurus plugin/custom script during build)
47- - [ ] Ensure `/feed_rss_created.xml` exists (many pages link to it)
48- - [ ] Confirm release notes sidebar + navigation matches expectations (tabs already added)
81+ - [ ] Re-implement any “version selector” behavior (MkDocs `assets/javascripts/version-select.js` + CSS)
4982
5083## 6) “Last updated” (replaces `git-revision-date-localized`)
5184- [ ] Enable/verify “Last updated” on doc pages (date + author if desired)
@@ -56,20 +89,7 @@ MkDocs uses `extra.segment_key`, `extra.user_feedback`, and custom JS/CSS.
5689- [ ] Add tracking (Segment or chosen tool) to Docusaurus
5790- [ ] Add Zendesk
5891- [ ] Re-implement “user feedback” if it was a widget on MkDocs
59- - [ ] Re-implement any “version selector” behavior (MkDocs `assets/javascripts/version-select.js` + CSS)
60-
61- ## 8) SEO & meta descriptions (replaces `mkdocs-meta-descriptions`)
62- - [ ] Decide how to generate meta descriptions (front matter `description` / plugin / build-time extraction)
63- - [ ] Preserve sitemap + robots behavior (MkDocs workflow wrote `robots.txt` with sitemap link)
64- - [ ] Validate canonical URLs and avoid indexing preview builds (MkDocs used preview banner + env toggles)
6592
66- ## 9) CI/CD parity (replaces `.github/workflows/mkdocs.yml`)
67- - [ ] Add a Docusaurus workflow that covers:
68- - [ ] Build
69- - [ ] HTML/link validation equivalent to `htmltest` + `lychee` expectations
70- - [ ] Branch previews (Netlify or equivalent)
71- - [ ] Deploy latest to `gh-pages` with `CNAME=docs.codacy.com`
72- - [ ] Deploy versioned Self-hosted docs from `release/v*`
7393
7494## 10) Cleanup & documentation for contributors
7595- [ ] Update root `README.md` and `CONTRIBUTING.md` for Docusaurus (build/preview instructions)
0 commit comments