mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-09-19 08:11:52 +08:00
2f6e46edbe
* refactor(docs-site): move the doc tooling out of tools/ The five doc scripts and their test exist because of Starlight: sidebar order frontmatter, the rehype link convention, the built site, and the Astro build itself. They now live under docs-site/scripts and docs-site/test, next to the rehype plugins and the site tests, which leaves tools/ Python-only. ESLint stops ignoring those two directories and its script rules now target them; the Astro sources stay excluded. * ci(docs): deploy the site from dev main moves only by release fast-forward, so a docs deploy tied to it would lag every doc change until the next release. Deploy on push to dev instead; main receives the same tree later and needs no deploy.
6 lines
218 B
Markdown
6 lines
218 B
Markdown
# JavaScript Conventions
|
|
|
|
## Function ordering
|
|
|
|
Define functions top-to-bottom in call order: callers above callees. If `install()` calls `_initPaths()`, then `install` appears first and `_initPaths` appears after it.
|