Debian Codegraph @

ansible_collections/community/hashi_vault/docs/preview/build.sh

raw
1 #!/usr/bin/env bash
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 set -e
7 pushd "${BASH_SOURCE%/*}"
8
9 # Create collection documentation into temporary directory
10 rm -rf temp-rst
11 mkdir -p temp-rst
12 antsibull-docs \
13 --config-file antsibull-docs.cfg \
14 collection \
15 --use-current \
16 --dest-dir temp-rst \
17 community.hashi_vault
18
19 # Copy collection documentation into source directory
20 rsync -cprv --delete-after temp-rst/collections/ rst/collections/
21
22 # Build Sphinx site
23 sphinx-build -M html rst build -c . -W --keep-going
24
25 popd