Complete task002 through task016 across cache correctness, editor lifecycle, C boundaries, build and release governance, dictionary provenance, performance, interactive workflows, tests, documentation, and final cleanup.
1.4 KiB
1.4 KiB
Spec: Documentation Improvement
Summary
Restructure and enhance documentation for emacs-kp. Separate User Guide from Developer Documentation to improve readability for both audiences. Provide in-depth API reference for developers.
Goals
- Separation of Concerns:
readme.mdfor users,DEVELOPER.mdfor contributors. - Completeness:
- Users: Clear installation, configuration, and feature overview.
- Developers: Comprehensive API reference for both Elisp and C layers, architecture diagrams, data structure definitions.
- Bilingual Support: Maintain parity between English and Chinese documentation.
Non-Goals
- Changing the code or functionality of
emacs-kp. - Adding new tutorials (beyond basic usage).
User Flows
- User: Lands on repo -> Reads
readme.md-> Installs & Configures -> Uses package. - Contributor: Lands on repo -> Sees "Developer Guide" link -> Reads
DEVELOPER.md-> Understands internals -> Submits PR.
Acceptance Criteria
DEVELOPER.mdandDEVELOPER_ZH.mdexist and contain:- Architecture overview.
- Elisp Core API (
ekp-pixel-justify, parameters, etc.). - Data Structures (
ekp-para,ekp-box, etc.). - C Module details (API, build, memory model).
readme.mdandreadme_zh.mdare cleaned up:- No C implementation details (moved to Dev guide).
- Clearer "Quick Start" and "Configuration".
- No broken links between documents.