diff --git a/netlify.toml b/netlify.toml index 7ae15440ec..456c0d6859 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,7 +6,7 @@ publish = "userguide/public" command = "npm run docs-install && npm run build:preview" [build.environment] -GO_VERSION = "1.18" +GO_VERSION = "1.18.1" HUGO_THEME = "repo" [context.production] diff --git a/package.json b/package.json index a65dfd0830..4a324c79c8 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,6 @@ "bootstrap": "^4.6.1" }, "devDependencies": { - "hugo-extended": "0.96.0" + "hugo-extended": "0.98.0" } } 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 7835a26d26..814a46d611 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 @@ -23,6 +23,7 @@ hugo mod init github.com/me/my-new-site hugo mod get github.com/google/docsy@v0.2.0 cat >> config.toml <}} {{< tab header="config.toml" >}} [module] + proxy = "direct" # uncomment line below for temporary local development of module # replacements = "github.com/google/docsy -> ../../docsy" [module.hugoVersion] @@ -105,6 +109,7 @@ Add the settings in the following snippet at the end of your site configuration {{< /tab >}} {{< tab header="config.yaml" >}} module: + proxy: direct hugoVersion: extended: true min: 0.73.0 @@ -118,6 +123,7 @@ module: {{< tab header="config.json" >}} { "module": { + "proxy": "direct", "hugoVersion": { "extended": true, "min": "0.73.0" 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 e5c53e17ff..111c335f2a 100644 --- a/userguide/content/en/docs/Updating/Convert-site-to-module.md +++ b/userguide/content/en/docs/Updating/Convert-site-to-module.md @@ -18,6 +18,7 @@ hugo mod get github.com/google/docsy@v0.2.0 sed -i '/theme = \["docsy"\]/d' config.toml cat >> config.toml < config.toml.temp move /Y config.toml.temp config.toml (echo [module]^ +proxy = "direct"^ + [[module.imports]]^ path = "github.com/google/docsy"^ @@ -90,6 +93,7 @@ Alternatively, you can omit this line altogether and replace it with the setting {{< tabpane >}} {{< tab header="config.toml" >}} [module] + proxy = "direct" # uncomment line below for temporary local development of module # replacements = "github.com/google/docsy -> ../../docsy" [module.hugoVersion] @@ -104,6 +108,7 @@ Alternatively, you can omit this line altogether and replace it with the setting {{< /tab >}} {{< tab header="config.yaml" >}} module: + proxy: direct hugoVersion: extended: true min: 0.73.0 @@ -117,6 +122,7 @@ module: {{< tab header="config.json" >}} { "module": { + "proxy": "direct", "hugoVersion": { "extended": true, "min": "0.73.0"