You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -544,7 +551,7 @@ INFO - [14:30:00] Serving on http://127.0.0.1:8000/
544
551
<divclass="termy">
545
552
546
553
```console
547
-
$ make docs-build
554
+
$ make build-docs
548
555
INFO - Building documentation...
549
556
INFO - Documentation built in 0.43 seconds
550
557
```
@@ -582,6 +589,8 @@ $ fastkit new-feature --option value
582
589
Use `--help` to see all available options.
583
590
````
584
591
592
+
For detailed reference about using `mkdocs-material`, see [mkdocs-material documentation](https://squidfunk.github.io/mkdocs-material/reference/admonitions/).
593
+
585
594
## Code Style Guidelines
586
595
587
596
### Python Code Style
@@ -717,19 +726,18 @@ $ pip install -e .
717
726
718
727
### Getting Help
719
728
720
-
-**GitHub Issues**: Report bugs and request features
721
-
-**GitHub Discussions**: Ask questions and share ideas
729
+
-**[GitHub Issues](https://github.com/bnbong/FastAPI-fastkit/issues)**: Report bugs and request features
730
+
-**[GitHub Discussions](https://github.com/bnbong/FastAPI-fastkit/discussions)**: Ask questions and share ideas
722
731
-**Documentation**: Check the [User Guide](../user-guide/installation.md)
723
732
724
733
## Contributing Guidelines
725
734
726
735
### Before Submitting a PR
727
736
728
-
1.**Run all checks:**`make check-all test`
737
+
1.**Run all checks:**`make dev-check`
729
738
2.**Update documentation** if needed
730
739
3.**Add tests** for new features
731
-
4.**Update CHANGELOG.md**
732
-
5.**Follow commit message conventions**
740
+
4.**Follow commit message conventions**
733
741
734
742
### Commit Message Format
735
743
@@ -793,15 +801,15 @@ $ git push origin v1.2.0
793
801
794
802
Now that your development environment is set up:
795
803
796
-
1.**Explore the codebase** to understand the architecture
804
+
1.**[Explore the codebase](https://github.com/bnbong/FastAPI-fastkit/tree/main/src/fastapi_fastkit)** to understand the architecture
797
805
2.**Run the test suite** to ensure everything works
798
-
3.**Pick an issue** from GitHub to work on
799
-
4.**Join discussions** to connect with other contributors
806
+
3.**Pick an [issue](https://github.com/bnbong/FastAPI-fastkit/issues)** from GitHub to work on
807
+
4.**Join [discussions](https://github.com/bnbong/FastAPI-fastkit/discussions)** to connect with other contributors
> **Note:** When you submit a PR, the **Template PR Inspection** workflow will automatically run and validate your template changes. You'll receive feedback directly on your PR.
291
+
!!! note
292
+
293
+
When you submit a PR, the **Template PR Inspection** workflow will automatically run and validate your template changes. You'll receive feedback directly on your PR.
289
294
290
295
### Validation Checklist
291
296
292
297
The inspector automatically validates the following items:
293
298
294
299
#### ✅ File Structure Validation
300
+
295
301
-[ ]`tests/` directory exists
296
302
-[ ]`requirements.txt-tpl` file exists
297
303
-[ ]`setup.py-tpl` file exists
298
304
-[ ]`README.md-tpl` file exists
299
305
300
306
#### ✅ File Extension Validation
307
+
301
308
-[ ] All Python files use `.py-tpl` extension
302
309
-[ ] No `.py` extension files exist
303
310
304
311
#### ✅ Dependencies Validation
312
+
305
313
-[ ]`requirements.txt-tpl` includes `fastapi`
306
314
-[ ]`setup.py-tpl`'s `install_requires` includes `fastapi`
307
315
-[ ]`setup.py-tpl`'s description includes `[fastapi-fastkit templated]`
308
316
309
317
#### ✅ FastAPI Implementation Validation
318
+
310
319
-[ ]`FastAPI` import exists in `main.py-tpl`
311
320
-[ ] App creation like `app = FastAPI()` exists in `main.py-tpl`
312
321
313
322
#### ✅ Test Execution Validation
323
+
314
324
-[ ] Virtual environment creation successful
315
325
-[ ] Dependencies installation successful
316
326
-[ ] All pytest tests pass
@@ -345,7 +355,7 @@ New templates are **automatically discovered** and tested without manual configu
345
355
4. ✅ **Comprehensive Validation**: Structure, metadata, and functionality checks
346
356
347
357
**What This Means for You:**
348
-
- 🚀 **No Additional Test Files**: Your template is tested automatically
358
+
- 🚀 **No Additional Test Files at `FastAPI-fastkit`'s main source testcases**: Your template is tested automatically
349
359
- ⚡ **Faster Development**: Focus on template content, not test setup
350
360
- 🛡️ **Quality Assurance**: Consistent testing across all templates
351
361
- 🔄 **CI/CD Integration**: Automatic testing in pull requests
0 commit comments