Create collection docsite
See Creating a collection docsite.
For example, given the collection is installed in the directory
~/.ansible/collections/ansible_collections/vbotka/freebsd/
Create the collection docsite in this directory
(env) > python3 -m pip install ansible-core antsibull-docs
(env) > export ANSIBLE_COLLECTIONS_PATH=~/.ansible/collections
(env) > antsibull-docs lint-collection-docs --plugin-docs .
(env) > mkdir dest
(env) > chmod g-w dest
(env) > antsibull-docs sphinx-init --use-current --squash-hierarchy vbotka.freebsd --dest-dir dest
(env) > cd dest
(env) > python3 -m pip install -r requirements.txt
(env) > ./build.sh
Upon successful build, open the local page in a browser
file:///<path_to_collections>/collections/ansible_collections/vbotka/freebsd/dest/build/html/collections/vbotka/freebsd/index.html
See also