|
| 1 | +# Documentation Organization |
| 2 | + |
| 3 | +This document describes how documentation is organized in the Crashless project. |
| 4 | + |
| 5 | +## Structure |
| 6 | + |
| 7 | +``` |
| 8 | +docs/ |
| 9 | +├── README.md # Main documentation index |
| 10 | +├── API_CHANGES.md # API version history |
| 11 | +├── ARCHITECTURE.md # System architecture |
| 12 | +├── LIMITATIONS.md # Known limitations |
| 13 | +├── PERFORMANCE.md # Performance guide |
| 14 | +├── SECURITY.md # Security documentation |
| 15 | +│ |
| 16 | +├── development/ # Development & release docs |
| 17 | +│ ├── CI_CD.md # CI/CD workflow setup |
| 18 | +│ ├── RELEASE_CONFIG.md # Semantic-release configuration |
| 19 | +│ └── RELEASE_CHECKLIST.md # Pre-release checklist |
| 20 | +│ |
| 21 | +└── contributing/ # Contributing guides |
| 22 | + ├── BENCHMARKS.md # Benchmarking guide |
| 23 | + ├── DASHBOARD_SECURITY.md # Dashboard security examples |
| 24 | + ├── EXAMPLES.md # Example usage guide |
| 25 | + └── TESTING.md # Testing guide |
| 26 | +``` |
| 27 | + |
| 28 | +## Documentation Types |
| 29 | + |
| 30 | +### Core Documentation |
| 31 | +Located in `docs/` root: |
| 32 | +- **API_CHANGES.md** - API versioning and migration guides |
| 33 | +- **ARCHITECTURE.md** - System design and architecture decisions |
| 34 | +- **LIMITATIONS.md** - Known limitations and workarounds |
| 35 | +- **PERFORMANCE.md** - Performance characteristics and optimization |
| 36 | +- **SECURITY.md** - Security features and best practices |
| 37 | + |
| 38 | +### Development Documentation |
| 39 | +Located in `docs/development/`: |
| 40 | +- **CI_CD.md** - GitHub Actions workflow, npm publishing setup |
| 41 | +- **RELEASE_CONFIG.md** - Semantic-release configuration guide |
| 42 | +- **RELEASE_CHECKLIST.md** - Pre-release verification checklist |
| 43 | + |
| 44 | +### Contributing Documentation |
| 45 | +Located in `docs/contributing/`: |
| 46 | +- **BENCHMARKS.md** - How to run and interpret benchmarks |
| 47 | +- **DASHBOARD_SECURITY.md** - Dashboard security examples and best practices |
| 48 | +- **EXAMPLES.md** - Example usage and configurations |
| 49 | +- **TESTING.md** - How to run and write tests |
| 50 | + |
| 51 | +## Migration Notes |
| 52 | + |
| 53 | +All documentation has been moved from various locations to the `docs/` folder: |
| 54 | + |
| 55 | +- `.github/README.md` → `docs/development/CI_CD.md` |
| 56 | +- `.releaserc-README.md` → `docs/development/RELEASE_CONFIG.md` |
| 57 | +- `test/README.md` → `docs/contributing/TESTING.md` |
| 58 | +- `benchmark/README.md` → `docs/contributing/BENCHMARKS.md` |
| 59 | +- `examples/README.md` → `docs/contributing/EXAMPLES.md` |
| 60 | +- `examples/DASHBOARD_SECURITY.md` → `docs/contributing/DASHBOARD_SECURITY.md` |
| 61 | + |
| 62 | +## Accessing Documentation |
| 63 | + |
| 64 | +- **Main Index**: [docs/README.md](README.md) |
| 65 | +- **External Docs**: [Documentation Site](https://sunnyghodeswar.github.io/crashless/) |
| 66 | +- **Root README**: [../README.md](../README.md) - Quick start and overview |
| 67 | + |
| 68 | +## NPM Package |
| 69 | + |
| 70 | +Documentation files are excluded from the npm package via `.npmignore`. Only source code (`src/`), type definitions (`index.d.ts`), and license (`LICENSE`) are published. |
| 71 | + |
0 commit comments