Add sphinx and breathe at top level.

This commit is contained in:
Victor Zverovich 2014-05-13 07:32:28 -07:00
parent b0728fed27
commit 660938fe4d
4 changed files with 9 additions and 1 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,9 @@
[submodule "format-benchmark"] [submodule "format-benchmark"]
path = format-benchmark path = format-benchmark
url = git://github.com/vitaut/format-benchmark.git url = git://github.com/vitaut/format-benchmark.git
[submodule "sphinx"]
path = sphinx
url = git://github.com/cppformat/sphinx.git
[submodule "breathe"]
path = breathe
url = git://github.com/cppformat/breathe.git

1
breathe Submodule

@ -0,0 +1 @@
Subproject commit 0c5d234a8828336736cd85374a4f0d9f19bd7a0e

View File

@ -1,6 +1,6 @@
add_custom_command(OUTPUT html/index.html add_custom_command(OUTPUT html/index.html
COMMAND doxygen COMMAND doxygen
COMMAND rm -rf html COMMAND rm -rf html
COMMAND sphinx-build -b html . html COMMAND ../sphinx/sphinx-build.py -b html . html
DEPENDS Doxyfile conf.py index.rst _templates/layout.html) DEPENDS Doxyfile conf.py index.rst _templates/layout.html)
add_custom_target(doc DEPENDS html/index.html) add_custom_target(doc DEPENDS html/index.html)

1
sphinx Submodule

@ -0,0 +1 @@
Subproject commit aab44c9f1f42d93ab7cb38e1a31b3ea5b42dd274