Skip to content

Commit a878497

Browse files
committed
📝 docs: correct some mistakes in the docs
1 parent b07c4f3 commit a878497

10 files changed

Lines changed: 19 additions & 33 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ A modern, batteries‑included [Copier](https://github.com/copier-org/copier) te
4444
- **Release & changelog**
4545
- [Conventional Commits](https://www.conventionalcommits.org/) + [Commitizen](https://github.com/commitizen-tools/commitizen) + [gitmoji](https://github.com/ljnsn/cz-conventional-gitmoji)
4646
- Automated `CHANGELOG.md` updates
47-
- Release new versions ➜ `make release`
47+
- Release new versions ➜ `mise run release`
4848

4949
- **Docker & Docker Compose**
5050
- Generate `Dockerfile` + `compose.yaml` for deployment and `compose.override.yaml` for development overrides (hot-reload, exposed ports, GPU support)

docs/features/documentation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Generated projects include a fully configured [MkDocs](https://github.com/mkdocs
55
## What's Included
66

77
- **MkDocs Material** theme with dark/light mode, search, and navigation features
8-
- **mkdocstrings** for auto-generated API documentation from docstrings
8+
- **mkdocstrings** for auto-generated documentation from docstrings
99
- **Code highlighting** with copy buttons and annotations
1010
- **Admonitions**, tabbed content, and other Material extensions
1111

@@ -62,12 +62,12 @@ The CI/CD pipeline also deploys docs automatically on pushes to `main`.
6262
```
6363
docs/
6464
index.md # Landing page
65-
modules.md # Auto-generated API reference
65+
modules.md # Auto-generated reference
6666
css/
6767
overrides.css # Custom styling
6868
mkdocs.yml # MkDocs configuration
6969
```
7070

71-
## API Documentation
71+
## Documentation
7272

73-
The template uses [mkdocstrings](https://mkdocstrings.github.io/) with the Python handler to generate API docs from your source code docstrings. Simply document your modules and classes with docstrings, and they appear in the docs automatically.
73+
The template uses [mkdocstrings](https://mkdocstrings.github.io/) with the Python handler to generate docs from your source code docstrings. Simply document your modules and classes with docstrings, and they appear in the docs automatically.

docs/features/optional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ Adds [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) for parallel tes
5252

5353
Enforces the [Conventional Commits](https://www.conventionalcommits.org/) standard using [Commitizen](https://github.com/commitizen-tools/commitizen). Optionally includes [gitmoji](https://github.com/ljnsn/cz-conventional-gitmoji) for emoji-enhanced commit messages (`cz_gitmoji`).
5454

55-
Enables automated changelog generation and semantic version bumping via `make release`.
55+
Enables automated changelog generation and semantic version bumping via `mise run release`.

template/README.md.jinja

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@ Contributions are welcome! Please read the [development setup]({{ documentation
148148
Contributions are welcome! Please read the [development setup](docs/development/setup.md) and [contributing guidelines](CONTRIBUTING.md) before submitting a PR.
149149
{%- endif %}
150150

151-
{%- if repository_provider == 'github' %}
152-
153-
> [!note]
154-
> This project was scaffolded with [python-template-uv](https://github.com/bassemkaroui/python-template-uv).
155-
{%- endif %}
156-
157151
{% if copyright_license != "No License" -%}
158152
## 📄 License
159153

template/docs/development/ci-cd.md.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ A Dependency Dashboard issue is created in the repository for visibility and man
9999
## Release Flow
100100

101101
1. Make commits following the [Conventional Commits](https://www.conventionalcommits.org/) format
102-
2. Run `make release` locally — this bumps the version via commitizen, pushes commits and tags
102+
2. Run `mise run release` locally — this bumps the version via commitizen, pushes commits and tags
103103
3. The tag push triggers CI: **checks** → **tests** → **release** + **deploy-docs**{% if publish_to_pypi %} + **publish-package**{% endif %}
104-
4. Preview first with `make release -- --dry-run`
104+
4. Preview first with `mise run release -- --dry-run`
105105
{%- endif %}
106106
{%- endif %}

template/docs/development/contributing.md.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
2. Create a new branch for your feature or fix
77
3. Install development dependencies: `make setup-dev`
88
4. Make your changes
9-
5. Run checks before committing: `make check`
9+
5. Run checks before committing: `make check-all`
1010
6. Submit a pull request
1111

1212
## Code Quality
@@ -102,7 +102,7 @@ mise run docs:serve
102102
```
103103
///
104104

105-
API documentation is auto-generated from docstrings using [mkdocstrings](https://mkdocstrings.github.io/).
105+
Documentation is auto-generated from docstrings using [mkdocstrings](https://mkdocstrings.github.io/).
106106
{%- if repository_provider == 'github' %}
107107
For deployment details, see the [CI/CD Pipeline](ci-cd.md) page.
108108
{%- endif %}

template/docs/development/task-runner.md.jinja

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,9 @@ This is done via `$(subst -,:,$@)` in the Makefile. You never need to edit both
5353

5454
You can pass extra arguments to pytest:
5555

56-
/// tab | make
57-
```bash
58-
make test -- -k "test_specific"
59-
```
60-
///
61-
62-
/// tab | mise
6356
```bash
6457
mise run test -- -k "test_specific"
6558
```
66-
///
6759

6860
### Formatting
6961

@@ -103,8 +95,8 @@ mise run test -- -k "test_specific"
10395
The `docker:build` and `docker:start` tasks accept `--dev` / `--prod` flags:
10496

10597
```bash
106-
mise run docker:build --dev # build with dev compose override
107-
mise run docker:start --prod # start production containers
98+
mise run docker:build [--dev] # build with dev compose override
99+
mise run docker:start --prod # start production containers
108100
```
109101
{% endif %}
110102
{%- if with_doppler %}

template/docs/getting-started/usage.md.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ This will display all available commands and options.
2626
- `.env` files
2727
- Command-line arguments
2828

29-
Refer to the [API Reference](../modules.md) for available configuration options.
29+
Refer to the [Reference](../modules.md) for available configuration options.
3030
{% endif %}
3131

3232
## Next Steps
3333

34-
- Browse the [API Reference](../modules.md) for detailed documentation of all modules
34+
- Browse the [Reference](../modules.md) for detailed documentation of all modules
3535
- Explore all available commands in the [Task Runner](../development/task-runner.md) guide
3636
- Check the [Development Setup](../development/setup.md) guide to contribute

template/docs/index.md.jinja

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ hide:
2929
{%- endif %}
3030

3131
[Get Started](getting-started/installation.md){ .md-button .md-button--primary }
32-
[API Reference](modules.md){ .md-button }
32+
[Reference](modules.md){ .md-button }
3333

3434
</div>
3535

@@ -61,13 +61,13 @@ hide:
6161

6262
[:octicons-arrow-right-24: Development setup](development/setup.md)
6363

64-
- :material-file-document:{ .lg .middle } **API Documentation**
64+
- :material-file-document:{ .lg .middle } **Documentation**
6565

6666
---
6767

68-
Auto-generated API docs with mkdocstrings. Browse the full API reference for all modules.
68+
Auto-generated docs from docstrings with mkdocstrings. Browse the full reference for all modules.
6969

70-
[:octicons-arrow-right-24: API Reference](modules.md)
70+
[:octicons-arrow-right-24: Reference](modules.md)
7171
{% if with_typer_cli %}
7272
- :material-console:{ .lg .middle } **CLI Interface**
7373

template/mkdocs.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ nav:
1717
- Getting Started:
1818
- Installation: getting-started/installation.md
1919
- Usage: getting-started/usage.md
20-
- API Reference: modules.md
20+
- Reference: modules.md
2121
- Development:
2222
- Setup: development/setup.md
2323
- Task Runner: development/task-runner.md

0 commit comments

Comments
 (0)