Update docs

This commit is contained in:
Mimi 2020-12-04 11:43:21 +08:00
parent 589fc8721e
commit 8f56e35f44
3 changed files with 9 additions and 6 deletions

View File

@ -89,13 +89,13 @@ vendors:
## Update ## Update
A new version of NexT will be released every month. You can update NexT by the following command. A new version of NexT will be released every month. Please read the [release notes][docs-release-url] before updating the theme. You can update NexT by the following command.
Install the latest version throuth npm: Install the latest version throuth npm:
```sh ```sh
$ cd hexo-site $ cd hexo-site
$ npm update hexo-theme-next $ npm install hexo-theme-next@latest
``` ```
Or update to latest master branch: Or update to latest master branch:
@ -149,6 +149,7 @@ Also, we welcome Issue or PR to our [official-plugins][official-plugins-url].
[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html [docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
[docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html [docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html
[docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html [docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html
[docs-release-url]: https://github.com/next-theme/hexo-theme-next/releases
[docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html [docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html
[gitter-url]: https://gitter.im/hexo-next [gitter-url]: https://gitter.im/hexo-next

View File

@ -89,13 +89,13 @@ vendors:
## Обновление ## Обновление
NexT выпускает новые версии каждый месяц. You can update NexT by the following command. NexT выпускает новые версии каждый месяц. Please read the [release notes][docs-release-url] before updating the theme. You can update NexT by the following command.
Install the latest version throuth npm: Install the latest version throuth npm:
```sh ```sh
$ cd hexo-site $ cd hexo-site
$ npm update hexo-theme-next $ npm install hexo-theme-next@latest
``` ```
Or update to latest master branch: Or update to latest master branch:
@ -152,6 +152,7 @@ Also, we welcome Issue or PR to our [official-plugins][official-plugins-url].
[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html [docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
[docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html [docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html
[docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html [docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html
[docs-release-url]: https://github.com/next-theme/hexo-theme-next/releases
[docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html [docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html
[gitter-url]: https://gitter.im/hexo-next [gitter-url]: https://gitter.im/hexo-next

View File

@ -89,13 +89,13 @@ vendors:
## 更新 ## 更新
NexT 每个月都会发布新版本。你可以通过如下命令更新 NexT。 NexT 每个月都会发布新版本。请在更新前阅读[更新说明][docs-release-url]。你可以通过如下命令更新 NexT。
通过 npm 安装最新版本: 通过 npm 安装最新版本:
```sh ```sh
$ cd hexo-site $ cd hexo-site
$ npm update hexo-theme-next $ npm install hexo-theme-next@latest
``` ```
或者通过 git 更新到最新的 master 分支: 或者通过 git 更新到最新的 master 分支:
@ -149,6 +149,7 @@ $ git pull
[docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html [docs-installation-url]: https://theme-next.js.org/docs/getting-started/installation.html
[docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html [docs-configuration-url]: https://theme-next.js.org/docs/getting-started/configuration.html
[docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html [docs-custom-files-url]: https://theme-next.js.org/docs/advanced-settings/custom-files.html
[docs-release-url]: https://github.com/next-theme/hexo-theme-next/releases
[docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html [docs-upgrade-url]: https://theme-next.js.org/docs/getting-started/upgrade.html
[gitter-url]: https://gitter.im/hexo-next [gitter-url]: https://gitter.im/hexo-next