File: build_docs.sh

package info (click to toggle)
pyinfra 0.2.2%2Bgit20161227.ec708ef-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,804 kB
  • ctags: 677
  • sloc: python: 5,944; sh: 71; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# pyinfra
# File: scripts/build_docs.sh
# Desc: build the pyinfra docs

set -e

# Build the apidoc/*.rst docs
rm -f docs/apidoc/*.rst
sh scripts/generate_api_docs.sh

# Build the modules/*.rst docs
rm -f docs/modules/*.rst
python scripts/generate_modules_docs.py

# Build the facts.rst doc
rm -f docs/facts.rst
python scripts/generate_facts_doc.py

# Build the HTML docs
sphinx-build -a docs/ docs/build/