This guide helps developers start working on DocGen quickly and safely.
git clone https://github.com/devalltect00/doc-gen.git
cd doc-genUse Python 3.14 for the standard development environment and quality tools:
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"For a compatibility-test environment such as Python 3.9, install only the runtime-compatible test dependencies:
pip install -e ".[test]"
make test-cidoc-gen --help
python -m doc_gen --helpdoc-gen init
doc-gen structure generatemake check-ci- CLI entrypoint:
app/doc_gen/cli/main.py - Init command:
app/doc_gen/cli/commands/init/command.py - Structure commands:
app/doc_gen/cli/commands/structure/ - Core structure engine:
app/doc_gen/core/structure/ - Scanner service:
app/doc_gen/core/structure/scanner/ - Generator service:
app/doc_gen/core/structure/generator/ - Tests:
tests/
- Run print command before generate to preview output
- Keep docs aligned with real code behavior
- Confirm tests pass before finalizing
- Avoid changing protected docs unless explicitly requested