mirror of
https://github.com/ankitects/anki.git
synced 2026-07-28 16:09:50 -04:00
## Summary - add a generated `docs-site/` Mintlify proof of concept for a unified Anki docs site - migrate the desktop manual, AnkiMobile docs, FAQs, add-on docs, translation docs, release notes, legacy docs, and repo-local Sphinx/MyST developer docs into the POC tree - add a migration helper that preserves mdBook ordering, handles common MDX incompatibilities, and regenerates the landing-page-inspired Mintlify styling - apply minimal styling based on the current Anki landing page: Anki logo, Hanken Grotesk, blue primary color, subtle surfaces, and compact nav treatment ## Validation - `uv run --with ty ty check tools/mintlify_poc_migrate.py` - `source ~/.nvm/nvm.sh && nvm use 22.15.0 && mint validate` - previewed locally with `mint dev --port 3000` and checked the home page/developer docs in browser ## Notes This is intentionally a draft POC. It does not remove the existing Sphinx or mdBook docs flows yet; it demonstrates what bringing the sources into this repo and building from a single Mintlify root could look like. --------- Co-authored-by: Andrew Sanchez <andrewsanchez@users.noreply.github.com> Co-authored-by: Luc Mcgrady <lucmcgrady@gmail.com> Co-authored-by: Abdo <abdo@abdnh.net>
19 lines
493 B
CSS
19 lines
493 B
CSS
/* Anki color scheme
|
|
* Blues from Anki's palette (ts/lib/sass/_color-palette.scss) */
|
|
|
|
html[data-theme="light"] {
|
|
--pst-color-primary: #2563eb;
|
|
--pst-color-primary-text: #fff;
|
|
--pst-color-primary-highlight: #1d4ed8;
|
|
--pst-color-link: #2563eb;
|
|
--pst-color-link-hover: #1d4ed8;
|
|
}
|
|
|
|
html[data-theme="dark"] {
|
|
--pst-color-primary: #60a5fa;
|
|
--pst-color-primary-text: #14181e;
|
|
--pst-color-primary-highlight: #93c5fd;
|
|
--pst-color-link: #60a5fa;
|
|
--pst-color-link-hover: #93c5fd;
|
|
}
|