BMAD-METHOD/docs/zh-cn
LanyGuan b4d73b7daf
Fix installer custom modules http (#2344)
* fix(installer): preserve http protocol in custom module clone URLs

Previously, parseSource() hardcoded 'https://' when building cloneUrl,
forcing http:// Git URLs (e.g., internal LAN hosts) to upgrade to https.
This broke cloning for self-hosted Git servers that only serve over HTTP.

- Capture the protocol from the regex match instead of discarding it
- Update JSDoc and inline comments to document HTTP support
- Update install-custom-modules docs (EN, ZH, VN) to list HTTP URL type

Fixes the --custom-source flag for http:// addresses.

* docs(installer): update JSDoc to mention HTTP support in cloneRepo

Add HTTP to the cloneRepo method's JSDoc param description.
Also fixes minor spacing in empty arrow functions (formatting).

* docs(installer): fix JSDoc annotation for cloneRepo param

Correct @param backtick escaping in cloneRepo JSDoc.
Also documents HTTP as a supported protocol alongside HTTPS and SSH.

---------

Co-authored-by: 关惠民 <9155544@qq.com>
2026-04-27 19:58:38 -05:00
..
explanation docs(zh-cn): add missing Chinese translations for 3 documents 2026-04-13 10:35:23 +08:00
how-to Fix installer custom modules http (#2344) 2026-04-27 19:58:38 -05:00
reference fix(docs): update stale Analyst triggers and add PRFAQ link (#2238) 2026-04-09 22:18:08 -07:00
tutorials chore: remove SM agent (Bob) and migrate to Developer agent (#2186) 2026-04-02 12:25:24 -07:00
404.md docs(zh-cn): refine entry copy and navigation (#2092) 2026-03-22 10:08:35 -06:00
_STYLE_GUIDE.md chore: remove SM agent (Bob) and migrate to Developer agent (#2186) 2026-04-02 12:25:24 -07:00
index.md docs(zh-cn): refine entry copy and navigation (#2092) 2026-03-22 10:08:35 -06:00
roadmap.mdx docs(zh-cn): refresh reference and roadmap docs (#2101) 2026-03-23 23:33:43 -06:00