From 761a0afb8576f8bcdf9c50e79f21e55bf0f2243c Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 25 Jun 2015 06:56:54 -0700 Subject: [PATCH] Correct path to doxyxml (#182) and break long line --- doc/build.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/build.py b/doc/build.py index f294f22f..9a6086d2 100755 --- a/doc/build.py +++ b/doc/build.py @@ -29,7 +29,8 @@ def build_docs(): execfile(activate_this_file, dict(__file__=activate_this_file)) # Install Sphinx and Breathe. pip_install('sphinx==1.3.1') - pip_install('michaeljones/breathe', '511b0887293e7c6b12310bb61b3659068f48f0f4') + pip_install('michaeljones/breathe', + '511b0887293e7c6b12310bb61b3659068f48f0f4') # Build docs. cmd = ['doxygen', '-'] p = Popen(cmd, stdin=PIPE) @@ -56,10 +57,13 @@ def build_docs(): '''.format(os.path.dirname(doc_dir))) if p.returncode != 0: raise CalledProcessError(p.returncode, cmd) - check_call(['sphinx-build', '-D', 'breathe_projects.format=doxyxml', + check_call(['sphinx-build', '-D', + 'breathe_projects.format=' + os.path.join(os.getcwd(), 'doxyxml'), '-b', 'html', doc_dir, 'html']) - check_call(['lessc', '--clean-css', '--include-path=' + os.path.join(doc_dir, 'bootstrap'), - os.path.join(doc_dir, 'cppformat.less'), 'html/_static/cppformat.css']) + check_call(['lessc', '--clean-css', + '--include-path=' + os.path.join(doc_dir, 'bootstrap'), + os.path.join(doc_dir, 'cppformat.less'), + 'html/_static/cppformat.css']) return 'html' if __name__ == '__main__':