Skip to content

Commit

Permalink
Add docs for the modules
Browse files Browse the repository at this point in the history
* Added antsibull-docs config
* Updated tox.ini to handle antsibull-docs
* Updated antsibull-docs requirement in test_requirements.txt

Signed-off-by: Abhijeet Kasurde <[email protected]>
  • Loading branch information
Akasurde committed Aug 19, 2024
1 parent c08e7fc commit 25754eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .config/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ hdrs
testuser
testsecret
keygen
antsibull
thead
tbody
darkgreen
notranslate
fqcn
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ requests>=2.31.0
ansible-rulebook>=1.0.0
tox>=4.15.1
podman-compose
antsibull-docs==2.12.0
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,8 @@ commands =
ansible-test coverage combine --export={envdir}
# produces tests/output/reports/coverage.xml
ansible-test coverage xml --requirements

[testenv:docs]
description = Generate plugins documentation under /docs directory using antsibull-docs
commands =
antsibull-docs collection-plugins ansible.eda --dest-dir docs --use-current --output-format simplified-rst --fqcn-plugin-names

0 comments on commit 25754eb

Please sign in to comment.