docsite¶
Overview¶
This action builds the documentation site for an Ansible collection using antsibull-docs.
It works only in a COLLECTION context.
Parameters¶
The following parameters are supported:
--dest-dir,-dDirectory which should contain the docsite (required).
--keep,-kKeep the temporary collection directory after execution.
--open,-oOpen the browser pointing to the main page after build.
Dependencies¶
antsibull-docsandsphinxwill have been installed as dependencies ofandebox.
Usage Examples¶
# Generate docsite in the destination directory
andebox docsite --dest-dir /tmp/mycollection_docsite
# Generate docsite and open it in the browser
andebox docsite -d /tmp/mycollection_docsite -o