Skip to content

Commit 59b4758

Browse files
committed
update generator commands in tooling docs
1 parent 5a2c3b0 commit 59b4758

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/tooling/generators/matestack_app_generator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Generates matestack apps to `app/matestack/apps`.
1313
## Example 1
1414

1515
```bash
16-
rails generate matestack_app example_app
16+
rails generate matestack:app example_app
1717
```
1818

1919
Creates an ExampleApp in `app/matestack/apps/example_app.rb`.
2020

2121
## Example 2
2222

2323
```bash
24-
rails generate matestack_app simple_app --all_inclusive
24+
rails generate matestack:app simple_app --all_inclusive
2525
```
2626

2727
Creates:
@@ -32,5 +32,5 @@ Creates:
3232

3333
To see all options, run
3434
```bash
35-
rails generate matestack_app -h
35+
rails generate matestack:app -h
3636
```

docs/tooling/generators/matestack_component_generator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Generates matestack components to `app/matestack/components`.
1717
## Example
1818

1919
```bash
20-
rails generate matestack_component simple_component
20+
rails generate matestack:component simple_component
2121
```
2222

2323
Creates a SimpleComponent in `app/matestack/components/simple_component.rb`.
2424

2525
To see all options, run
2626
```bash
27-
rails generate matestack_component -h
27+
rails generate matestack:component -h
2828
```

docs/tooling/generators/matestack_page_generator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Generates matestack pages to `app/matestack/pages`.
1717
## Example 1
1818

1919
```bash
20-
rails generate matestack_page simple_page --app_name example_app
20+
rails generate matestack:page simple_page --app_name example_app
2121
```
2222

2323
Creates a SimplePage in `app/matestack/pages/example_app/simple_page.rb`.
@@ -33,7 +33,7 @@ in the terminal to use in your controller.
3333
## Example 2
3434

3535
```bash
36-
rails generate matestack_page second_page --app_name example_app --namespace sample_namespace
36+
rails generate matestack:page second_page --app_name example_app --namespace sample_namespace
3737
```
3838

3939
Creates a SimplePage in `app/matestack/pages/example_app/sample_namespace/second_page.rb`.
@@ -48,5 +48,5 @@ in the terminal to use in your, e.g., `example_app_controller.rb`.
4848

4949
To see all options, run
5050
```bash
51-
rails generate matestack_page -h
51+
rails generate matestack:page -h
5252
```

0 commit comments

Comments
 (0)