Thank you for considering contributing to this Docsible fork! We appreciate your effort and contributions can help the project grow and improve.
This repository is independently maintained by Jier Nzuanzu and is based on the upstream Docsible project by Lucian BLETAN and other contributors. Submit changes for this fork to jier/docsible. Upstream contributions should be proposed separately to docsible/docsible.
-
Fork the Repository: Click on the "Fork" button at the top-right corner of the repository page on GitHub.
-
Clone the Repository: After forking, clone your forked repository to your local machine.
git clone https://github.com/[Your-Username]/docsible.git
-
Add Remote Repository: Set up the upstream remote to keep your fork in sync with the original repository.
git remote add upstream https://github.com/docsible/docsible.git
Docsible provides granular control over documentation content through CLI flags. These flags allow you to customize what sections appear in the generated documentation.
| Flag | Description | Use Case |
|---|---|---|
--no-vars |
Hide variable documentation (defaults, vars, argument_specs) | Focus on task flow and architecture |
--no-tasks |
Hide task lists and task details | Focus on variables and structure |
--no-diagrams |
Hide all Mermaid diagrams | For systems that don't render Mermaid |
--simplify-diagrams |
Show only high-level diagrams, hide detailed task flowcharts | Reduce visual complexity |
--no-examples |
Hide example playbook sections | Omit usage examples |
--no-metadata |
Hide role metadata, author, and license information | Omit publishing information |
--no-handlers |
Hide handlers section | When handlers aren't relevant |
--minimal |
Generate minimal documentation (enables all --no-* flags) | Create bare-minimum documentation |
# Generate standard documentation
docsible role --role ./my-role
# Hide only variables
docsible role --role ./my-role --no-vars
# Hide tasks but keep everything else
docsible role --role ./my-role --no-tasks
# Hide all diagrams
docsible role --role ./my-role --no-diagrams
# Show only high-level diagrams (hide detailed task flowcharts)
docsible role --role ./my-role --graph --simplify-diagrams
# Generate minimal documentation
docsible role --role ./my-role --minimal
# Combine multiple flags
docsible role --role ./my-role --no-vars --no-examples --graph
# Document entire collection with simplified diagrams
docsible role --collection ./my-collection --graph --simplify-diagrams- Default: Full detailed task execution flow with all interactions
- With
--minimalor--simplify-diagrams: Simplified diagrams showing task counts instead of individual task details - This gives you control over the level of detail in sequence diagrams
All content control flags work with both:
- Standard template: Auto-generated documentation
- Hybrid template: Combines manual sections with auto-generated content
Both templates respect the same flags for consistent behavior.
-
Sync Your Fork: Before you start, always make sure your local repository is up-to-date with the upstream repository.
git pull upstream main
-
Create a Branch: Create a new branch for each task, feature, or bugfix.
git checkout -b [branch-name]
-
Make Changes: Make your changes and commit them. Follow a clear and concise commit message convention to document your changes.
git add . git commit -m "[Your Commit Message]"
-
Push Changes: Push your changes to your forked repository on GitHub.
git push origin [branch-name]
-
Create a Pull Request: Once the changes are pushed, create a pull request to this fork.
-
Review and Merge: After a review, your changes may be merged into this fork.
Versions are managed via git tags. To cut a new release:
-
Update the version in one place:
pyproject.toml—version = "X.Y.Z"docsible/constants.py—VERSION = "X.Y.Z"(used as fallback when not in a git repo)
-
Create an annotated git tag:
git tag -a vX.Y.Z -m "Release X.Y.Z: <brief description>" -
Push the tag after a release workflow is configured:
git push origin vX.Y.Z
The docsible --version command reads the version dynamically from git tags at runtime (via docsible/utils/version.py). Between releases it shows a dev version like 0.9.0.dev3+gabc1234.
The old
scripts/change_version.pyscript has been removed. Use the process above instead.
Install development dependencies and run the test suite:
uv sync --group dev
uv run pytest- Keep your commits clean and concise.
- Write meaningful commit messages.
- Follow the code style and guidelines of the project.
- Update the README or documentation as needed.
- Write or update tests, if applicable.
We appreciate any contributions, big or small. Every contribution counts!
Thank you for spending your time to improve Docsible.