Documentation Update
javafxTool ships documentation in three places. A user-visible change usually needs all three updated in the same pull request.
| Surface | Tool | Source | Output |
|---|---|---|---|
| docsify site | docsify 4 | docs/ |
https://javafxtool.tlcsdm.com/ |
| API / design site | Doxygen | doxygen/ + Java sources |
docs-gen/ (CI publishes) |
| Repo READMEs | Markdown | README.md, README_zh.md, README_jp.md |
GitHub repo home |
Decide what to update
| Change kind | docsify? | Doxygen? | READMEs? |
|---|---|---|---|
| New SPI contract | ✅ docs/develop/Interface.md |
✅ doxygen/pages/implementation-principles.md + JavaDoc |
If end-user-visible |
| New module / app | ✅ new page under docs/<module>/ + sidebar |
✅ doxygen/pages/modules.md + packages.dox |
✅ all three |
| Workflow / process | ✅ docs/develop/Workflow.md |
✅ doxygen/pages/contribution-workflow.md |
Maybe |
| Bug fix without UX change | Optional | If JavaDoc affected | ❌ |
| Dependency bump | If listed in README | If listed | ✅ all three |
docsify (docs/)
- Sidebar:
docs/_sidebar.md. Add an entry when you add a page. - Navbar:
docs/_navbar.md. - Page conventions:
- First line is a level-1 heading (
# Title). - Place pages under the matching folder (
overview/,develop/,common/,smc/,qe/, …). - Cross-link other pages with relative paths (e.g.
[link](Interface.md)). - For diagrams, prefer ASCII fenced in a
```textblock — the bundled docsify build does not load Mermaid. - Tables use GitHub-flavored Markdown.
- First line is a level-1 heading (
- Keep Chinese and English content style consistent with existing pages
(
docs/overview/Into.md,docs/develop/Note.md).
Doxygen (doxygen/)
- Configuration:
doxygen/Doxyfile. TheINPUTlist controls what is parsed;EXCLUDE_PATTERNSfilters tests and generated artifacts. - Long-form prose lives in
doxygen/pages/. - Add a new page by:
- Creating
doxygen/pages/<name>.mdstarting with# Title {#anchor-name}. - Linking it from
doxygen/pages/related-pages.mdwith- @subpage <anchor-name>.
- Creating
- Diagrams use Graphviz via Doxygen's
@dot…@enddotblocks. Follow the styling already used indoxygen/pages/modules.mdanddoxygen/pages/implementation-principles.md(rounded boxes, transparent background, the existing color palette). - Java source documentation uses JavaDoc (
/** ... */);JAVADOC_AUTOBRIEFis enabled, so the first sentence becomes the brief description.
Build the Doxygen site
From the repository root:
doxygen doxygen/Doxyfile
Output is written to docs-gen/ and is git-ignored.
READMEs
When you change anything user-visible (features, screenshots, dependencies, build steps, supported platforms), update all three language files in the same commit so they don't drift:
README.md— EnglishREADME_zh.md— Simplified ChineseREADME_jp.md— Japanese
If you don't speak one of the languages, mirror the structure of the change
exactly and leave a TODO(translate) marker only as a last resort.
Validation
- docsify: serve locally with any static server
(e.g.
python3 -m http.server -d docs 3000) and verify the new page renders and is linked from the sidebar. - Doxygen: run
doxygen doxygen/Doxyfileand check the warning log near the end of the output for unresolved references or missing files. - For Markdown-only changes you can skip the Maven build.
Commit message
Use the docs type from the
commit-conventions skill, e.g.
docs(doxygen): add contribution workflow page.
Source: unknowIfGuestInDream/javafxTool — distributed by TomeVault.