diff options
author | Tommi Virtanen <tommi.virtanen@dreamhost.com> | 2011-08-29 15:43:41 -0700 |
---|---|---|
committer | Tommi Virtanen <tommi.virtanen@dreamhost.com> | 2011-08-29 17:27:14 -0700 |
commit | afede55c83f8213ef7678144f7d4ed947b154244 (patch) | |
tree | f6471db08a4f99bad12430919de64518c3fec511 /admin | |
parent | f1d89644998e227319fcafb44f0f3a17df502f5a (diff) | |
download | ceph-afede55c83f8213ef7678144f7d4ed947b154244.tar.gz |
Integrate Doxygen into Sphinx docs.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/build-doc | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/admin/build-doc b/admin/build-doc index fd1afe5c365..aee1a48345c 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -3,10 +3,15 @@ set -e cd "$(dirname "$0")" cd .. +install -d -m0755 build-doc + +if [ ! -e build-doc/doxygen/xml ]; then + doxygen +fi + dia --filter=png-libart --export=doc/overview.png.tmp doc/overview.dia mv -- doc/overview.png.tmp doc/overview.png -install -d -m0755 build-doc cd build-doc if [ ! -e virtualenv ]; then @@ -16,6 +21,17 @@ if [ ! -x virtualenv/bin/sphinx-build ]; then ./virtualenv/bin/pip install sphinx fi +# ugly kludge until breathe is distutils-friendly +install -d breathe +cd breathe +if [ ! -e .git ]; then + git init +fi +if [ -z "$(git rev-parse --default HEAD)" ]; then + git pull --ff-only https://github.com/michaeljones/breathe.git master +fi +cd .. + install -d -m0755 \ output/html \ output/man |