Create documentation site for yunjin #41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Yunjin has no documentation beyond the README. Installation, configuration (environment variables), the CLI commands, reader features (keyboard shortcuts, display settings, ignore rules, full text and featured images), and deployment are all undocumented — every answer lives in issue threads or chat history.
Goal
A Material-for-MkDocs documentation site modelled on cang's: versioned via mike, published to a
pagesbranch, covering installation, configuration, CLI, the web reader, and container deployment.Findings
mkdocs.ymlwith Material theme (light/dark toggle, nav tabs/sections, search, copy-code),mikeplugin for versioned docs (latestcanonical),docs/split by concern (index, install, config, web-ui, container, setup) plus assets, a pymdownx extension suite, and publishing via CI:uv run mike deploy --branch pages --push --update-aliases "$TAG_NAME" lateston release.pyproject.tomldev group already ships the whole toolchain (mkdocs, mkdocs-material, mike, mkdocstrings + mkdocstrings-python, mkdocs-git-revision-date-localized-plugin, pymdown-extensions) — inherited when the dev group was assembled. Onlymkdocs.yml, thedocs/content, and a publish step are missing.docs label/subdomain), withrepo_urlpointing at the forge.Plan of attack
mkdocs.yml+ skeleton: Material theme tuned to yunjin's identity (deuteranopia-safe palette), nav: Home / Installation / Configuration / CLI / Reader (shortcuts, display settings, ignore rules, full text, featured images) / Container.YUNJIN_LLM_*,YUNJIN_SECRET_KEY,YUNJIN_HTTP_USER_AGENT), every CLI command, and the reader features.mike deploy --branch pageson tags (adapted from cang'sci.ymlrelease job).Container docs depend on #40 landing first — the container page can be written concurrently but linked last.
Branch
feat/docs-siteCommits
:book: Add mkdocs skeleton with Material theme:book: Document installation, configuration and CLI:construction_worker: Publish versioned docs to the pages branch