Add CI auto-sort system for datasheets and images

- Add DS_ prefix for datasheets - automatically moved to docs/datasheets/
- Add IMG_ prefix for images - automatically moved to docs/images/
- Update FILE-NAMING-AND-VERSIONING.md with CI auto-sort prefix examples
- Create comprehensive docs/datasheets/README.md with CI auto-sort documentation
- Create comprehensive docs/images/README.md with CI auto-sort documentation
- Add ci/auto-sort-files.yml GitHub Actions workflow for automatic file organization
- Update ci/README.md with complete auto-sort system documentation
- Update main README.md to reference CI auto-sort system
- Enable users to upload files anywhere with correct prefix for automatic organization
- Support multiple file types: PDF, DOC, PNG, JPG, SVG, etc.
- Provide complete CI workflow with commit automation and error handling
This commit is contained in:
2025-08-11 10:19:55 +07:00
parent cceb853f44
commit c86266fd38
6 changed files with 528 additions and 4 deletions

View File

@@ -46,6 +46,20 @@ my-project_bom_v1.3.0_2024-08-04.csv
my-project_schematic-plot_v1.0.0_2024-08-04.pdf
```
#### Datasheets and Images (CI Auto-Sort)
For automatic organization by CI bots, use these prefixes:
```
DS_STM32F401_datasheet_v1.0.0_2024-08-04.pdf # Auto-moves to docs/datasheets/
DS_LM358_operational-amplifier_2024-08-04.pdf # Auto-moves to docs/datasheets/
IMG_pcb-layout_top-view_v1.0.0_2024-08-04.png # Auto-moves to docs/images/
IMG_assembly-photo_step-3_2024-08-04.jpg # Auto-moves to docs/images/
IMG_schematic-block-diagram_v2.1.0_2024-08-04.svg # Auto-moves to docs/images/
```
**Prefix Rules:**
- **DS_**: Datasheets - automatically moved to `docs/datasheets/`
- **IMG_**: Images, diagrams, photos - automatically moved to `docs/images/`
#### Manufacturing Files
```
my-project_gerbers_v1.0.0_2024-08-04.zip