Build from the right directory and add api to latex command

This commit is contained in:
Steven Silvester
2015-09-15 07:32:33 -05:00
parent da3da0bc29
commit d2c4ccba59
2 changed files with 6 additions and 5 deletions
+4 -5
View File
@@ -46,11 +46,14 @@ install:
- "pip install --pre --no-index --find-links dist/ scikit-image"
# Not a .NET project, we build scikit-image in the install step instead
build: false
test_script:
# Build the docs
- pip install sphinx
- cd doc && make
# Change to a non-source folder to make sure we run the tests on the
# installed library.
- "cd C:\\"
@@ -61,10 +64,6 @@ test_script:
# Run unit tests with nose
- "python -c \"import nose; nose.main()\" -v -s skimage"
# Build the docs
- pip install sphinx
- cd doc && make
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*
+2
View File
@@ -115,6 +115,8 @@ if "%1" == "epub" (
)
if "%1" == "latex" (
mkdir source/api
%PYTHON% tools/build_modref_templates.py
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
echo.
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.