From d937472224dd087b60eebec37956c0191ba956a8 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 21 Aug 2023 06:42:12 -0500 Subject: [PATCH] docs: add downloadPluginPresets step for build documentation (#243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 完善开发环境构建的文章,添加下载预设插件的步骤。 Fixes #242 Ref https://github.com/halo-dev/halo/issues/4418#issuecomment-1677354115 /kind documentation ```release-note None ``` --- docs/developer-guide/core/build.md | 12 ++++++++++++ .../version-2.7/developer-guide/core/build.md | 12 ++++++++++++ .../version-2.8/developer-guide/core/build.md | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/docs/developer-guide/core/build.md b/docs/developer-guide/core/build.md index 6bbc158..a43a16c 100644 --- a/docs/developer-guide/core/build.md +++ b/docs/developer-guide/core/build.md @@ -69,6 +69,18 @@ pnpm build cd path/to/halo ``` +下载预设插件: + +```bash +# Windows +./gradlew.bat downloadPluginPresets + +# macOS / Linux +./gradlew downloadPluginPresets +``` + +构建: + ```bash # Windows ./gradlew.bat clean build -x check diff --git a/versioned_docs/version-2.7/developer-guide/core/build.md b/versioned_docs/version-2.7/developer-guide/core/build.md index 67bb611..cbb3ffb 100644 --- a/versioned_docs/version-2.7/developer-guide/core/build.md +++ b/versioned_docs/version-2.7/developer-guide/core/build.md @@ -69,6 +69,18 @@ pnpm build cd path/to/halo ``` +下载预设插件: + +```bash +# Windows +./gradlew.bat downloadPluginPresets + +# macOS / Linux +./gradlew downloadPluginPresets +``` + +构建: + ```bash # Windows ./gradlew.bat clean build -x check diff --git a/versioned_docs/version-2.8/developer-guide/core/build.md b/versioned_docs/version-2.8/developer-guide/core/build.md index 6bbc158..a43a16c 100644 --- a/versioned_docs/version-2.8/developer-guide/core/build.md +++ b/versioned_docs/version-2.8/developer-guide/core/build.md @@ -69,6 +69,18 @@ pnpm build cd path/to/halo ``` +下载预设插件: + +```bash +# Windows +./gradlew.bat downloadPluginPresets + +# macOS / Linux +./gradlew downloadPluginPresets +``` + +构建: + ```bash # Windows ./gradlew.bat clean build -x check