Skip to content

Commit 692d032

Browse files
feat: doc fixes (#234)
1 parent 1abb7a8 commit 692d032

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# The power of Kubernetes with the ease of Heroku!
22

3-
<meta name="author" content="Justin Gordon and Sergey Tarasov">
4-
<meta name="description" content="Instructions on how to migrate from Heroku to Control Plane and a CLI called cpflow to make it easier.">
5-
<meta name="copyright" content="ShakaCode, 2023">
6-
<meta name="keywords" content="Control Plane, Heroku, Kubernetes, K8, Infrastructure">
3+
<meta name="author" content="Justin Gordon and Sergey Tarasov" />
4+
<meta name="description" content="Instructions on how to migrate from Heroku to Control Plane and a CLI called cpflow to make it easier." />
5+
<meta name="copyright" content="ShakaCode, 2023" />
6+
<meta name="keywords" content="Control Plane, Heroku, Kubernetes, K8, Infrastructure" />
77
<meta name="google-site-verification" content="dIV4nMplcYl6YOKOaZMqgvdKXhLJ4cdYY6pS6e_YrPU" />
88

99
[![RSpec](https://github.com/shakacode/control-plane-flow/actions/workflows/rspec.yml/badge.svg)](https://github.com/shakacode/control-plane-flow/actions/workflows/rspec.yml)

docs/commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- NOTE: This file is automatically generated by running `script/generate_commands_docs`. Do NOT edit it manually. -->
1+
{ /* Automatically Generated <!-- NOTE: This file is automatically generated by running `script/update_command_docs`. Do NOT edit it manually. --> */}
22

33
## Common Options
44

@@ -431,8 +431,8 @@ cpflow run -a $APP_NAME --entrypoint /app/alternative-entrypoint.sh -- rails db:
431431
- Creates an app and all its workloads
432432
- Specify the templates for the app and workloads through `setup_app_templates` in the `.controlplane/controlplane.yml` file
433433
- This should only be used for temporary apps like review apps, never for persistent apps like production or staging (to update workloads for those, use 'cpflow apply-template' instead)
434-
- Configures app to have org-level secrets with default name "{APP_PREFIX}-secrets"
435-
using org-level policy with default name "{APP_PREFIX}-secrets-policy" (names can be customized, see docs)
434+
- Configures app to have org-level secrets with default name `"{APP_PREFIX}-secrets"`
435+
using org-level policy with default name `"{APP_PREFIX}-secrets-policy"` (names can be customized, see docs)
436436
- Creates identity for secrets if it does not exist
437437
- Use `--skip-secrets-setup` to prevent the automatic setup of secrets,
438438
or set it through `skip_secrets_setup` in the `.controlplane/controlplane.yml` file

lib/command/setup_app.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class SetupApp < Base
1414
- Creates an app and all its workloads
1515
- Specify the templates for the app and workloads through `setup_app_templates` in the `.controlplane/controlplane.yml` file
1616
- This should only be used for temporary apps like review apps, never for persistent apps like production or staging (to update workloads for those, use 'cpflow apply-template' instead)
17-
- Configures app to have org-level secrets with default name "{APP_PREFIX}-secrets"
18-
using org-level policy with default name "{APP_PREFIX}-secrets-policy" (names can be customized, see docs)
17+
- Configures app to have org-level secrets with default name `"{APP_PREFIX}-secrets"`
18+
using org-level policy with default name `"{APP_PREFIX}-secrets-policy"` (names can be customized, see docs)
1919
- Creates identity for secrets if it does not exist
2020
- Use `--skip-secrets-setup` to prevent the automatic setup of secrets,
2121
or set it through `skip_secrets_setup` in the `.controlplane/controlplane.yml` file

script/update_command_docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ commands_str = commands_str_arr.join("\n\n")
4444
file_path = "#{__dir__}/../docs/commands.md"
4545
file_data =
4646
<<~DATA
47-
<!-- NOTE: This file is automatically generated by running `script/generate_commands_docs`. Do NOT edit it manually. -->
47+
{ /* Automatically Generated <!-- NOTE: This file is automatically generated by running `script/update_command_docs`. Do NOT edit it manually. --> */}
4848
4949
## Common Options
5050

0 commit comments

Comments
 (0)