Skip to content

Commit b949c00

Browse files
authored
Merge pull request #20 from dotkernel/issue19
file name and typo fixes
2 parents 6b655c5 + b5ae665 commit b949c00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/book/v6/tutorials/creating-a-module-via-dot-maker.md renamed to docs/book/v6/tutorials/create-book-module-via-dot-maker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Implementing a book module in Dotkernel Admin using dotkernel/dot-maker
1+
# Implementing a book module in Dotkernel Admin using DotMaker
22

33
The `dotkernel/dot-maker` library can be used to programmatically generate project files and directories.
44
It can be added to your API installation by following the [official documentation](https://docs.dotkernel.org/dot-maker/).
@@ -106,7 +106,7 @@ Next you will be prompted to add the relevant components of a module, accepting
106106
* `Allow deleting Books?` (Y): similar to the previous step, this step will generate multiple files:
107107
* The form used for creation `DeleteBookForm`, the input filter it uses `DeleteBookInputFilter` as well as a singular Input class it uses - `ConfirmDeleteBookInput`
108108
* The handler that fetches the form `GetDeleteBookFormHandler`
109-
* The handler for the POST action `PostDeleteTreeHandler`
109+
* The handler for the POST action `PostDeleteBookHandler`
110110
* The template file used for the form `delete-book-form.html.twig`
111111
* `Allow editing Books?` (Y): as the previous two cases, multiple files are generated on this step as well:
112112
* The form used for creation `EditBookForm` and the input filter it uses `EditBookInputFilter`
@@ -118,7 +118,7 @@ as well as the `RoutesDelegator` class containing all the relevant routes.
118118

119119
You will then be instructed to:
120120

121-
* Register the `ConfigProvider` classes by adding `Admin\Book\ConfigProvider::class` and `Core\Computer\ConfigProvider::class` to `config/config.php`
121+
* Register the `ConfigProvider` classes by adding `Admin\Book\ConfigProvider::class` and `Core\Book\ConfigProvider::class` to `config/config.php`
122122
* Register the new `Book` namespace by adding `"Admin\\Book\\": "src/Book/src/"` and `"Core\\Book\\": "src/Core/src/Book/src/"` to `composer.json` under the `autoload.psr-4` key.
123123
* After registering the namespace, run the following command to regenerate the autoloaded files, as notified by `dot-maker`:
124124

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ nav:
5151
- "Inject Dependencies": v6/how-to/dependency-injection.md
5252
- "Set Up CSRF": v6/how-to/csrf.md
5353
- Tutorials:
54-
- "Creating a book module using dotkernel/dot-maker": v6/tutorials/create-book-module-via-dot-maker.md
54+
- "Creating a book module using DotMaker": v6/tutorials/create-book-module-via-dot-maker.md
5555
site_name: admin
5656
site_description: "DotKernel Admin"
5757
repo_url: "https://github.com/dotkernel/admin"

0 commit comments

Comments
 (0)