Reenable API-docs

sphinx-apidoc was commented out, this hopefully closes #350 ...
This commit is contained in:
Jorrit Wronski
2014-12-16 23:05:38 +01:00
parent 77d019076f
commit 92ecd816c0

View File

@@ -242,7 +242,7 @@ def websiteFactory(platform, gitMode='incremental', fullBuild=False):
# Run doxygen build
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "doxygen", "--version", "&&", "doxygen", "Doxyfile"]), workdir= 'build', haltOnFailure = True))
# Run sphinx apidoc
#factory.addStep(ShellCommand(command=["sphinx-apidoc","-T","-f","-o","apidoc","../CoolProp"],workdir= 'build/Web', haltOnFailure = True))
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "sphinx-apidoc","-T","-f","-o","apidoc","../CoolProp"]),workdir= 'build/Web', haltOnFailure = True))
# Run sphinx website builder
factory.addStep(ShellCommand(command=' '.join([docActivateCmd(), "make", "html"]), workdir= 'build/Web', haltOnFailure = True))
# Upload the generated files