1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Add docs to Github

This commit is contained in:
Sagi Shnaidman 2021-01-13 22:06:02 +02:00 committed by Sergey
parent db09d8e778
commit 3f27e78976
37 changed files with 21406 additions and 0 deletions

11
contrib/build_docs.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
DOCS_DIR=${1:-/tmp/docs}
HTML=${2:-/tmp/html}
mkdir -p $DOCS_DIR
chmod g-w $DOCS_DIR
antsibull-docs collection --use-current --squash-hierarchy --dest-dir $DOCS_DIR containers.podman
cd $DOCS_DIR
echo "extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx_antsibull_ext']" > conf.py
sphinx-build . $HTML