diff --git a/README.md b/README.md index a1c7b559..d0bd841d 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ For the typical Rails app, this means: 3. Install [Ruby](https://www.ruby-lang.org/en/) (required for these helpers). -4. Install Control Plane CLI, and configure access ([docs here](https://docs.controlplane.com/quickstart/quick-start-3-cli#getting-started-with-the-cli)). +4. Install Control Plane CLI, and configure access ([docs here](https://shakadocs.controlplane.com/quickstart/quick-start-3-cli#getting-started-with-the-cli)). ```sh # Install CLI @@ -446,7 +446,7 @@ development purposes. ## Scheduled Jobs -Control Plane supports scheduled jobs via [cron workloads](https://docs.controlplane.com/reference/workload#cron). +Control Plane supports scheduled jobs via [cron workloads](https://shakadocs.controlplane.com/reference/workload#cron). Here's a partial example of a template for a cron workload, using the app image: diff --git a/docs/dns.md b/docs/dns.md index 4e17f83c..f0da20fc 100644 --- a/docs/dns.md +++ b/docs/dns.md @@ -2,7 +2,7 @@ ## Docs -https://docs.controlplane.com/guides/configure-domain#dns-records +https://shakadocs.controlplane.com/guides/configure-domain#dns-records ## Example diff --git a/docs/tips.md b/docs/tips.md index ae139096..1f47b26f 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -65,7 +65,7 @@ The actual remote IP of the workload container is in the 127.0.0.x network, so t `REMOTE_ADDR` env var. However, Control Plane additionally sets the `x-forwarded-for` and `x-envoy-external-address` headers (and others - see: -https://docs.controlplane.com/concepts/security#headers). On Rails, the `ActionDispatch::RemoteIp` middleware should +https://shakadocs.controlplane.com/concepts/security#headers). On Rails, the `ActionDispatch::RemoteIp` middleware should pick those up and automatically populate `request.remote_ip`. So `REMOTE_ADDR` should not be used directly, only `request.remote_ip`. diff --git a/script/check_cpln_links b/script/check_cpln_links index 2f025c2c..2e4a65ce 100755 --- a/script/check_cpln_links +++ b/script/check_cpln_links @@ -1,7 +1,7 @@ #!/usr/bin/env bash -bad_links=("controlplane.com/shakacode") -proper_links=("shakacode.controlplane.com") +bad_links=("controlplane.com/shakacode" "https://docs.controlplane.com") +proper_links=("shakacode.controlplane.com" "https://shakadocs.controlplane.com") bold=$(tput bold) normal=$(tput sgr0) @@ -19,7 +19,7 @@ for ((idx = 0; idx < ${#bad_links[@]}; idx++)); do --heading \ --color=always -- \ "${bad_links[idx]}" \ - ':!script/check_cpln_links') + ':!script/check_cpln_links' '*.md') # Line would become really unwieldly if everything was mushed into the # conditional, so let's ignore this check here.