Skip to content

Commit 3c4e8d7

Browse files
committed
document correction
1 parent 287525e commit 3c4e8d7

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/overview/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Ellar will compute values for all the route handler parameters and validates the
258258
!!! info
259259
if a parameter is not annotated, it will be assumed as a `string` type
260260

261-
![CreateDogSchema](../img/create-car-schema.png)
261+
![CreateCarSchema](../img/create-car-schema.png)
262262

263263
Let's add other endpoints
264264

docs/overview/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ Brief overview of the generated files:
146146
|-------------------|---------------------------------------------------|
147147
| `car.controllers` | A basic controller with an `index` route. |
148148
| `car.module.py` | car module/app `Module` metadata definition. |
149-
| `car.services.py` | For Dogs module service declarations. |
149+
| `car.services.py` | For Car module service declarations. |
150150
| `car.schemas.py` | Data-transfer-object or Serializers declarations. |
151-
| `car.tests/` | testing directory for the dogs module. |
151+
| `car.tests/` | testing directory for the car module. |
152152
153-
To finish up with the created `dogs` module, we need to register it to the
153+
To finish up with the created `car` module, we need to register it to the
154154
`project_name.root_module.py`
155155
156156
```python
@@ -167,7 +167,7 @@ class ApplicationModule(ModuleBase):
167167
```
168168
That's it.
169169
170-
Goto your browser and visit: [http://localhost:8000/dogs/](http://localhost:8000/car/)
170+
Goto your browser and visit: [http://localhost:8000/car/](http://localhost:8000/car/)
171171
```json
172172
{
173173
"detail": "Welcome Car Resource"

docs/templating/staticfiles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ it becomes easier to manage and maintain.
3030
This approach allows for clear organization and separation of static assets,
3131
making it more manageable in a large project.
3232

33-
In our previous project, within the `dogs` module folder, we can create a following directories, `my_static/dogs`.
34-
Inside this folder `my_static/dogs`, we can create a file named `example.txt`.
35-
This allows us to keep all of the static files related to the dogs module organized in one location `my_static`.
33+
In our previous project, within the `car` module folder, we can create a following directories, `my_static/car`.
34+
Inside this folder `my_static/car`, we can create a file named `example.txt`.
35+
This allows us to keep all of the static files related to the car module organized in one location `my_static`.
3636

37-
Next, we tell `DogModule` about our static folder.
37+
Next, we tell `CarModule` about our static folder.
3838

3939
```python
4040
# project_name/apps/car/module.py

0 commit comments

Comments
 (0)