mirror of
https://github.com/ankitects/anki.git
synced 2026-07-29 04:59:45 -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
746 B
Plaintext
19 lines
746 B
Plaintext
---
|
|
title: "Ninja"
|
|
---
|
|
|
|
Brief notes for people used to the existing Bazel build system:
|
|
|
|
- Put the ninja binary on your path: https://github.com/ninja-build/ninja/releases/tag/v1.11.1
|
|
(on Windows, if you have it installed in msys, make sure the native binary occurs earlier on the path)
|
|
- Ensure Rust is installed via rustup: https://rustup.rs/
|
|
- Remove the .bazel and node_modules folders from your existing checkout
|
|
|
|
- Run with ./run
|
|
- Run tests with './ninja check' (tools\ninja on Windows)
|
|
- Format files with './ninja format'
|
|
- Fix eslint/copyright issues with './ninja fix'
|
|
- Targets are hierarchical, so './ninja check:jest:deck-options' will run
|
|
the Jest tests for ts/deck-options, and './ninja check:jest' will run all
|
|
Jest tests.
|