docs: tutorial for packaging and installing a plugin bundle

Adds docs/user/develop/basic/publish.md (+ zh pair, website entry) to the
basics path: the bundle-vs-profile manifest split, dsh plugin add into a
profile, the five-layer loading order, and the GitHub-install build-script
catch — git specs ship sources, so the author owns a self-contained prepare
script and the user owns an allowBuilds allowance that is install-time code
execution; built tarballs and npm need neither.
This commit is contained in:
Turtle
2026-08-06 17:28:40 +08:00
parent 62d0f26fd6
commit 20acfdb71d
7 changed files with 298 additions and 2 deletions

View File

@@ -166,6 +166,14 @@ const develop = pairedPages([
section: { root: '基础', en: 'Basics' },
order: 3,
},
{
source: 'docs/user/develop/basic/publish.md',
route: 'develop/basic/publish.md',
label: { root: '打包与安装插件', en: 'Package and install' },
sidebar: { root: 'zh-develop', en: 'en-develop' },
section: { root: '基础', en: 'Basics' },
order: 4,
},
{
source: 'docs/user/develop/framework/index.md',
route: 'develop/framework/index.md',