Skip to content

Commit

Permalink
docs: update the upgradation
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 22, 2022
1 parent 8bfb4f4 commit 9c044c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exampleSite/content/docs/getting-started/upgradation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ This article explains how to upgrade the theme correctly.

Before upgrading, it is necessary to introduce what a version is. In addition to the relative stable versions listed in [Releases](https://github.com/razonyang/hugo-theme-bootstrap/releases), you can use a branch such as `master`, `develop`, or even choose a certain `commit`.

> This article will use the `[version]` placeholder to represent the version, just replace it with the version you want to install.
> This article will use the `[version]` placeholder to represent the version, just replace it with the version you want to upgrade to.
## Upgrade

Please choose the upgrade step depending on the installation method: [Git Submodule](#git-submodule) and [Hugo Module](#hugo-module).

> Note that no matter which install method you use, you will always end up needing to pull and install dependencies via `hugo mod npm pack` and `npm install`.
> Note that no matter which install method you use, you will always end up needing to pull and update dependencies via `hugo mod npm pack` and `npm update`.
### Additional Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ authors = ["RazonYang"]

请根据安装方式的不同选择对应的升级步骤:[Git Submodule](#git-submodule)[Hugo Module](#hugo-module)

> 请注意,不管使用的是哪种安装方式,你最后总是需要通过 `hugo mod npm pack``npm install` 拉取并安装依赖
> 请注意,不管使用的是哪种安装方式,你最后总是需要通过 `hugo mod npm pack``npm update` 拉取并更新依赖
### 额外的依赖

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ authors = ["RazonYang"]

請根據安裝方式的不同選擇對應的升級步驟:[Git Submodule](#git-submodule)[Hugo Module](#hugo-module)

> 請註意,不管使用的是哪種安裝方式,你最後總是需要通過 `hugo mod npm pack``npm install` 拉取並安裝依賴
> 請註意,不管使用的是哪種安裝方式,你最後總是需要通過 `hugo mod npm pack``npm update` 拉取並更新依賴
### Git Submodule

Expand Down

0 comments on commit 9c044c4

Please sign in to comment.