Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‡«πŸ‡· LexOrbital Template Documentation | πŸ‡¬πŸ‡§ Documentation Template

Standardized bilingual documentation template for all repositories in the LexOrbital ecosystem.


🌍 Language / Langue


🎯 Objective

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

πŸ“¦ Structure

Documentation Organization

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

Language Strategy

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

πŸš€ Usage

1. Initialize French documentation in a new repo

cd lexorbital-template-docs
./scripts/init-docs.sh \
  --target ../lexorbital-module-xyz \
  --type infra \
  --language fr

2. Initialize English documentation

./scripts/init-docs.sh \
  --target ../lexorbital-module-xyz \
  --type api \
  --language en

3. Synchronize structure with an existing repo

./scripts/sync-docs-template.sh \
  --source . \
  --target ../lexorbital-module-server \
  --mode content \
  --language fr

4. Validate documentation

./scripts/validate-docs.sh --target ../lexorbital-module-server

πŸ“‹ Structure Principles

Without Numbering

❌ 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.

Semantic Organization

Folders are organized by content type:

  • project/ - Vision, strategy, decisions
  • architecture/ - Technical design, diagrams
  • compliance/ - Legal compliance and standards
  • operations/ - Deployment and maintenance guides
  • security/ - Security and hardening
  • howto/ - Practical tutorials
  • reference/ - Reference documentation

Persona-Based Navigation

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

🌍 Which Language to Choose?

French (--language fr)

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

English (--language en)

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

πŸ“– Template Documentation

πŸ”„ Multi-Repo Synchronization

This template can be synchronized with multiple repos via:

  1. Git subtree (recommended for static content)
  2. Sync scripts (recommended for evolving structure)

Scripts support:

  • --language fr - French only (default)
  • --language en - English only

🎯 Repositories Using This Template

🀝 Contributing

To contribute to the template:

  1. Respect conventions defined in the style guide
  2. Test changes on at least 2 repos
  3. Document modifications in the CHANGELOG
  4. Create a PR with a clear description
  5. For translations: Update both FR and EN if applicable

See CONTRIBUTING.md for details.

πŸ“„ License

MIT


Version: 1.0.0
Last updated: 2025-12-01


Made with 🌍 by the LexOrbital community

πŸ‡«πŸ‡· Docs FR β€’ πŸ‡¬πŸ‡§ Docs EN β€’ Contributing

About

A unified, reusable documentation template designed for all LexOrbital repositories. This project provides a consistent, scalable, and professional documentation structure that can be applied across backends, frontends, modules, and infrastructure stacks.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages