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:
parent
db09d8e778
commit
3f27e78976
37 changed files with 21406 additions and 0 deletions
11
contrib/build_docs.sh
Executable file
11
contrib/build_docs.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue