Source

simple-blockdiag / web-build.py

Full commit
1
2
3
4
5
6
7
8
9
import os
from sphinx.websupport import WebSupport

root = os.path.dirname(os.path.abspath(__file__))
srcdir = os.path.join(root, "source")
builddir = os.path.join(root, "build/web")

support = WebSupport(srcdir=srcdir, builddir=builddir, search='whoosh')
support.build()