.. _dg_create_collection_docsite: 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 .. code:: console (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:////collections/ansible_collections/vbotka/freebsd/dest/build/html/collections/vbotka/freebsd/index.html .. seealso:: * `Documenting collections `_. * `docs directory `_.