diff options
author | Patrice Chalin <pchalin@gmail.com> | 2022-07-29 22:07:39 +0300 |
---|---|---|
committer | Geri Ochoa <gerino@protonmail.com> | 2022-08-02 17:59:03 +0300 |
commit | 87cb556c1234b9e27ee802b5acb116bae84b61e0 (patch) | |
tree | 539b3f8f22a8004f18b21a9dd5a471a8a123982b | |
parent | 26d3e99a2c4d41cc2b69e35211306f694f5c069e (diff) |
Prose tweaks
-rw-r--r-- | userguide/content/en/docs/Updating/Updating-hugo-module.md | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/userguide/content/en/docs/Updating/Updating-hugo-module.md b/userguide/content/en/docs/Updating/Updating-hugo-module.md index 5065046..25a8975 100644 --- a/userguide/content/en/docs/Updating/Updating-hugo-module.md +++ b/userguide/content/en/docs/Updating/Updating-hugo-module.md @@ -1,9 +1,7 @@ --- -title: "Update the Docsy Hugo Module" -linkTitle: "Update the Docsy Hugo Module" +title: Update your Docsy Hugo Module weight: 1 -description: > - Update the Docsy theme to the latest version using Hugo Modules. +description: Update your Docsy theme to the latest version using Hugo Modules. --- When using the Docsy theme as a Hugo Module, updating your theme is really easy. @@ -20,20 +18,23 @@ Then invoke hugo's module `get` subcommand with the update flag: hugo mod get -u github.com/google/docsy ``` -Hugo automatically pulls in the latest theme version. That's it, your update is done! - +Hugo automatically pulls in the latest theme version. That's it, your update is +done! {{% alert title="Tip" %}} -If you want to set your module to a certain version inside the docsy theme repo, simply specific the name of the tag representing this version (here: _v{{% param "version" %}}_) when updating your theme: + +If you want to set your module to a certain version inside the Docsy theme repo, +simply specify the name of the tag representing this version when updating your +theme, for example: ```bash hugo mod get -u github.com/google/docsy@v{{% param "version" %}} ``` -Instead of a version tag, you can also specify a commit hash inside the repo (here: _6c8a3afe_) when updating your theme: - +Instead of a version tag, you can also specify a commit hash, for example: ```bash hugo mod get -u github.com/google/docsy@6c8a3afe ``` + {{% /alert %}} |