From 0583fe7e01db1efcae6c65e454f2d92e5e67e8ce Mon Sep 17 00:00:00 2001 From: Thomas di Luccio Date: Fri, 15 Sep 2023 11:24:38 +0200 Subject: [PATCH 1/2] Fix typo in config-desc --- themes/psh-docs/layouts/shortcodes/guides/config-desc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/psh-docs/layouts/shortcodes/guides/config-desc.md b/themes/psh-docs/layouts/shortcodes/guides/config-desc.md index a697f94f4e..2323ce16a9 100644 --- a/themes/psh-docs/layouts/shortcodes/guides/config-desc.md +++ b/themes/psh-docs/layouts/shortcodes/guides/config-desc.md @@ -25,7 +25,7 @@ Start by creating empty versions of each of these files in your repository: ```bash # Create empty {{ .Site.Params.vendor.name }} configuration files -touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }} && mkdir -p .platform && touch {{ partial "vendor/configfile" (dict "context" . "config" "routes") }}{{ if not (.Get "noService") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }}{{ end }} +mkdir -p {{ partial "vendor/configdir" }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "routes") }}{{ if not (.Get "noService") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }}{{ end }} ``` {{ if isset .Params "platformify" }} From f094b47526c7d1d3de47407f39535e9fe4a9e66b Mon Sep 17 00:00:00 2001 From: Thomas di Luccio Date: Fri, 15 Sep 2023 14:18:38 +0200 Subject: [PATCH 2/2] Update config-desc.md --- themes/psh-docs/layouts/shortcodes/guides/config-desc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/psh-docs/layouts/shortcodes/guides/config-desc.md b/themes/psh-docs/layouts/shortcodes/guides/config-desc.md index 2323ce16a9..6c8193bb9f 100644 --- a/themes/psh-docs/layouts/shortcodes/guides/config-desc.md +++ b/themes/psh-docs/layouts/shortcodes/guides/config-desc.md @@ -25,7 +25,7 @@ Start by creating empty versions of each of these files in your repository: ```bash # Create empty {{ .Site.Params.vendor.name }} configuration files -mkdir -p {{ partial "vendor/configdir" }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "routes") }}{{ if not (.Get "noService") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }}{{ end }} +mkdir -p .platform && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "routes") }}{{ if not (.Get "noService") }} && touch {{ partial "vendor/configfile" (dict "context" . "config" "services") }}{{ end }} ``` {{ if isset .Params "platformify" }}