Commit Graph

5 Commits

Author SHA1 Message Date
Luc Mcgrady
2cdf314219 docs(chore): Replace certain pages with redirects (#5065)
<!--
Title (for the Pull Request title field at the top):
Use a short prefix so the change type is obvious. You do not need to
repeat it in the body below.

Examples:
- fix: — bugfix
- feat: — feature
- refactor: — internal change without user-facing feature
- docs: — documentation only
- chore: — tooling, CI, deps, build housekeeping
- test: — tests only
-->

## Linked issue (required)

<!-- Fixes #123 / Closes #123 / Refs #123 -->
closes #5051

I used the regex 
```regex
---\W+please see
```
to find redirect pages. I then checked that there wasn't a structural
reason to leave them before I deleted them. If there are any pages that
this method of searching left out LMK.
2026-06-25 17:41:57 +03:00
Abdo
22f90814e3 Add translation support for docs website (#5052)
## Linked issue

Closes #5004

## Summary

This adds intro entries for languages that have manual translations
listed under https://docs.ankiweb.net/#translations
Only placeholder pages with links to the contributor websites for now.


## How to test

Run `mint dev` under docs-site and try switching the language from the
top left.
2026-06-22 18:54:01 +03:00
Luc Mcgrady
8fda6a3f4d docs: Re-add missing pages (#5049)
<!--
Title (for the Pull Request title field at the top):
Use a short prefix so the change type is obvious. You do not need to
repeat it in the body below.

Examples:
- fix: — bugfix
- feat: — feature
- refactor: — internal change without user-facing feature
- docs: — documentation only
- chore: — tooling, CI, deps, build housekeeping
- test: — tests only
-->

These pages are in the repo but are not used by the docs.

closes #5050
2026-06-22 13:22:10 +03:00
Luc Mcgrady
2fcaa56023 Docs: use "Getting started" as manual index page (#5013)
- Updated docs-site/manual/getting-started.mdx
- Deleted docs-site/manual/index.mdx
- Updated docs-site/docs.json

Mintlify-Source: dashboard-editor

Please note that the Mintlify editor seems to make formatting changes to
files which it edits which makes this diff large than necessary.

closes #5000 

Uses the introduction / getting started pages as the index for each
category rather than a list of links.

Also re-introduces some pages that were missing from the FAQ to use as
the index as well.

I'm sorry about the large diff but mintlify makes formatting changes
when you use the editor.

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
2026-06-16 14:24:48 +03:00
Andrew Sanchez
fb0215a2c1 Prototype unified Mintlify docs site (#4882)
## 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>
2026-06-12 16:27:33 +03:00