Skip to content

docs: AniMathIO 2.0 documentation section - #7

Merged
MemerGamer merged 5 commits into
mainfrom
v2-refresh
Nov 16, 2026
Merged

MemerGamer merged 5 commits into
mainfrom
v2-refresh

Conversation

@MemerGamer

@MemerGamer MemerGamer commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Do not merge before the 2.0 release. Publication needs maintainer approval.

What

  • 2.0 is the default docs experience. /docs opens 2.0 Getting started; navbar "Docs", footer and the homepage button point to it. Pages: getting started, install, editor tour, math objects, captions and automation, keyboard shortcuts, plugins, CLI, MCP, architecture, migrating from 1.x. Reference pages are generated from origin/v2:docs/*.md by scripts/sync-v2-docs.mjs (now writes to docs/).
  • 1.x docs are unchanged content, frozen as the 1.x (legacy) docs version at /docs/v1/..., with a navbar version dropdown (2.0 / 1.x) and Docusaurus' "no longer maintained, see the latest version" banner on every legacy page.
  • Blog: changelog links use tag permalinks (per release-checklist section 4); old posts that linked into the v1 tutorials now link to /docs/v1/...; the launch post blog/2026-11-16-launching-v2.0.0.md stays draft: true.
  • Dark default colour mode; webp-only screenshots.

Structure chosen: native Docusaurus versioning

docs/ is the current version (2.0, lastVersion, path /); versioned_docs/version-1.x + versioned_sidebars + versions.json hold v1 (path v1). Chosen over two plugin instances because it gives the version dropdown, the legacy banner, per-version sidebars and "latest version" links for free, and future 2.x snapshots work with docusaurus docs:version. v2 pages stay the editable source of truth, the sync script keeps writing plain docs/.

Redirects (@docusaurus/plugin-client-redirects, added)

Generated for every v1 page, plus the category pages. The repo has no Netlify _redirects/netlify.toml (hosting is configured outside the repo); the plugin emits meta-refresh HTML files so it works on any static host.

  • /docs/getting-started -> /docs/v1/getting-started (v2 Getting started now lives at /docs)
  • /docs/tutorial-basics/<page> -> /docs/v1/tutorial-basics/<page> (all 5)
  • /docs/tutorial-advanced/<page> -> /docs/v1/tutorial-advanced/<page> (all 5)
  • /docs/tutorial-basics, /docs/category/tutorial-basics -> /docs/v1/category/tutorial-basics
  • /docs/tutorial-advanced, /docs/category/tutorial-advanced-features -> /docs/v1/category/tutorial-advanced-features

Verify

npm run build (onBrokenLinks: throw) and tsc pass with no warnings. Redirect files spot-checked in build/docs/. Headless Chromium screenshots of /docs (2.0) and /docs/v1/tutorial-basics/adding-text-and-latex (banner + dropdown) checked.

🤖 Generated with Claude Code

MemerGamer and others added 2 commits November 15, 2026 21:16
Restore the 1.x tutorials, repoint blog changelog links to tag permalinks,
drop duplicate PNG screenshots, resync docs/v2 and add a draft 2.0 post.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for animathio-docs ready!

Name Link
🔨 Latest commit 950e3b8
🔍 Latest deploy log https://app.netlify.com/projects/animathio-docs/deploys/6afaf2dade53732bb4c78123
😎 Deploy Preview https://deploy-preview-7--animathio-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

MemerGamer and others added 3 commits November 15, 2026 21:32
…y version

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d showcase videos

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mark rows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MemerGamer
MemerGamer merged commit ef6acdd into main Nov 16, 2026
5 checks passed
@MemerGamer
MemerGamer deleted the v2-refresh branch November 16, 2026 13:12
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