Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeri Ochoa <gerino@google.com>2022-06-16 22:51:39 +0300
committerGitHub <noreply@github.com>2022-06-16 22:51:39 +0300
commit9f55cf34808d720bcfff9398c9f9bb7fd8fce4ec (patch)
tree00afd116a96bfeec5d7cd8a8f897c3383c4a40fd
parent2106b804050786e0d4e44aff05a1257857068148 (diff)
Prepare release v0.3.0 (#1043)v0.3.0dependencies/v0.3.0
Update hugo module to v0.3.0
-rw-r--r--go.mod2
-rw-r--r--userguide/content/en/docs/Get started/Docsy-As-Module/start-from-scratch.md6
-rw-r--r--userguide/content/en/docs/Updating/Convert-site-to-module.md14
-rw-r--r--userguide/content/en/docs/Updating/Updating-hugo-module.md4
4 files changed, 13 insertions, 13 deletions
diff --git a/go.mod b/go.mod
index a56411d..c071e84 100644
--- a/go.mod
+++ b/go.mod
@@ -4,6 +4,6 @@ go 1.12
require (
github.com/FortAwesome/Font-Awesome v0.0.0-20210804190922-7d3d774145ac // indirect
- github.com/google/docsy/dependencies v0.2.0 // indirect
+ github.com/google/docsy/dependencies v0.3.0 // indirect
github.com/twbs/bootstrap v4.6.1+incompatible // indirect
)
diff --git a/userguide/content/en/docs/Get started/Docsy-As-Module/start-from-scratch.md b/userguide/content/en/docs/Get started/Docsy-As-Module/start-from-scratch.md
index 99137a7..117a364 100644
--- a/userguide/content/en/docs/Get started/Docsy-As-Module/start-from-scratch.md
+++ b/userguide/content/en/docs/Get started/Docsy-As-Module/start-from-scratch.md
@@ -21,7 +21,7 @@ At your command prompt, run the following:
hugo new site my-new-site
cd my-new-site
hugo mod init github.com/me/my-new-site
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
cat >> config.toml <<EOL
[module]
proxy = "direct"
@@ -36,7 +36,7 @@ hugo server
hugo new site my-new-site
cd my-new-site
hugo mod init github.com/me/my-new-site
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
(echo [module]^
proxy = "direct"^
@@ -83,7 +83,7 @@ This creates two new files, `go.mod` for the module definitions and `go.sum` whi
Next declare the Docsy theme module as a dependency for your site.
```bash
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
```
This command adds the `docsy` theme module to your definition file `go.mod`.
diff --git a/userguide/content/en/docs/Updating/Convert-site-to-module.md b/userguide/content/en/docs/Updating/Convert-site-to-module.md
index 4f89ba0..db7853f 100644
--- a/userguide/content/en/docs/Updating/Convert-site-to-module.md
+++ b/userguide/content/en/docs/Updating/Convert-site-to-module.md
@@ -15,7 +15,7 @@ Run the following from the command line:
{{< tab header="Unix shell" lang="Bash" >}}
cd /path/to/my-existing-site
hugo mod init github.com/me-at-github/my-existing-site
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
sed -i '/theme = \["docsy"\]/d' config.toml
cat >> config.toml <<EOL
[module]
@@ -30,7 +30,7 @@ hugo server
{{< tab header="Windows command line" lang="Batchfile" >}}
cd my-existing-site
hugo mod init github.com/me-at-github/my-existing-site
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
findstr /v /c:"theme = [\"docsy\"]" config.toml > config.toml.temp
move /Y config.toml.temp config.toml
(echo [module]^
@@ -70,7 +70,7 @@ This creates two new files, `go.mod` for the module definitions and `go.sum` whi
Next declare the Docsy theme module as a dependency for your site.
```bash
-hugo mod get github.com/google/docsy@v0.2.0
+hugo mod get github.com/google/docsy@v0.3.0
```
This command adds the `docsy` theme module to your definition file `go.mod`.
@@ -181,10 +181,10 @@ To make sure that your configuration settings are correct, run the command `hugo
```bash
hugo mod graph
hugo: collected modules in 1092 ms
-github.com/me/my-existing-site github.com/google/docsy@v0.2.0
-github.com/me/my-existing-site github.com/google/docsy/dependencies@v0.2.0
-github.com/google/docsy/dependencies@v0.2.0 github.com/twbs/bootstrap@v4.6.1+incompatible
-github.com/google/docsy/dependencies@v0.2.0 github.com/FortAwesome/Font-Awesome@v0.0.0-20210804190922-7d3d774145ac
+github.com/me/my-existing-site github.com/google/docsy@v0.3.0
+github.com/me/my-existing-site github.com/google/docsy/dependencies@v0.3.0
+github.com/google/docsy/dependencies@v0.3.0 github.com/twbs/bootstrap@v4.6.1+incompatible
+github.com/google/docsy/dependencies@v0.3.0 github.com/FortAwesome/Font-Awesome@v0.0.0-20210804190922-7d3d774145ac
```
Make sure that three lines with dependencies `docsy`, `bootstrap` and `Font-Awesome` are listed. If not, please double check your config settings.
diff --git a/userguide/content/en/docs/Updating/Updating-hugo-module.md b/userguide/content/en/docs/Updating/Updating-hugo-module.md
index 2715182..db37811 100644
--- a/userguide/content/en/docs/Updating/Updating-hugo-module.md
+++ b/userguide/content/en/docs/Updating/Updating-hugo-module.md
@@ -24,10 +24,10 @@ Hugo automatically pulls in the latest theme version. That's it, your update is
{{% 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: _v0.2.0_) when updating your theme:
+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: _v0.3.0_) when updating your theme:
```bash
-hugo mod get -u github.com/google/docsy@v0.2.0
+hugo mod get -u github.com/google/docsy@v0.3.0
```
Instead of a version tag, you can also specify a commit hash inside the repo (here: _c7b9901e_) when updating your theme: