Standardized bilingual documentation template for all repositories in the LexOrbital ecosystem.
- π«π· Documentation FranΓ§aise (complΓ¨te) - Documentation technique complΓ¨te
- π¬π§ English version below - Professional showcase version
This repository provides a canonical documentation structure reusable across all LexOrbital projects, ensuring:
- β Consistency: same structure, same conventions
- β Quality: professional and complete documentation
- β Reusability: templates adaptable to any type of module
- β Maintainability: facilitated synchronization between repos
- β Multi-language: French OR English structure
template/
βββ README-root.template.md # Root README template
βββ docs/
β βββ fr/ # π«π· French documentation structure
β β βββ index.md
β β βββ project/
β β βββ architecture/
β β βββ compliance/
β β βββ operations/
β β βββ security/
β β βββ howto/
β β βββ reference/
β β βββ template/
β βββ en/ # π¬π§ English documentation structure
β βββ index.md
β βββ project/
β βββ architecture/
β βββ compliance/
β βββ operations/
β βββ security/
β βββ howto/
β βββ reference/
βββ scripts/ # Automation scripts
Choose ONE language per repository:
π«π· French (--language fr):
- For French legal/compliance context
- Complete technical documentation
- CNIL/ANSSI standards
- Example: infrastructure modules with French legal requirements
π¬π§ English (--language en):
- For international projects
- Standard for UI/API modules
- Broader adoption
- Example: open-source libraries, UI kits
cd lexorbital-template-docs
./scripts/init-docs.sh \
--target ../lexorbital-module-xyz \
--type infra \
--language fr./scripts/init-docs.sh \
--target ../lexorbital-module-xyz \
--type api \
--language en./scripts/sync-docs-template.sh \
--source . \
--target ../lexorbital-module-server \
--mode content \
--language fr./scripts/validate-docs.sh --target ../lexorbital-module-serverβ Avoid: 01-installation.md, 02-deployment.md
β
Prefer: installation.md, deployment.md
Why? Numbering creates rigidity and makes renaming difficult. Navigation is done through a well-structured index.md.
Folders are organized by content type:
project/- Vision, strategy, decisionsarchitecture/- Technical design, diagramscompliance/- Legal compliance and standardsoperations/- Deployment and maintenance guidessecurity/- Security and hardeninghowto/- Practical tutorialsreference/- Reference documentation
The docs/{fr|en}/index.md file organizes navigation by user profile:
- π¨βπΌ Decision Makers / Recruiters β Overview, architecture, compliance
- π¨βπ» Developers β Setup, contribution, troubleshooting
- π§ DevOps / SysAdmins β Installation, deployment, maintenance
- π Security / Compliance β Audits, standards, GDPR
Use for:
- Infrastructure modules with French legal context
- RGPD/CNIL compliance requirements
- Server/backend projects in French context
Example repos:
- lexorbital-module-server (French legal compliance)
- Backend services with CNIL requirements
Use for:
- UI/Frontend modules (international standard)
- API/Backend with international audience
- Open-source libraries
- CLI tools
Example repos:
- lexorbital-module-ui-kit (UI standard)
- API modules for international use
- Style guide π«π·
- Documentation structure π«π·
- Bilingual strategy π«π·π¬π§
This template can be synchronized with multiple repos via:
- Git subtree (recommended for static content)
- Sync scripts (recommended for evolving structure)
Scripts support:
--language fr- French only (default)--language en- English only
- lexorbital-module-server π«π· - Server infrastructure module
- lexorbital-core π«π· - LexOrbital Meta-Kernel
- lexorbital-module-ui-kit π¬π§ - LexOrbital UI Kit
To contribute to the template:
- Respect conventions defined in the style guide
- Test changes on at least 2 repos
- Document modifications in the CHANGELOG
- Create a PR with a clear description
- For translations: Update both FR and EN if applicable
See CONTRIBUTING.md for details.
Version: 1.0.0
Last updated: 2025-12-01
Made with π by the LexOrbital community