mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
836 B
31 lines
836 B
#!/bin/bash |
|
|
|
#cd .. && make && cd - |
|
mkdir -p _build/html/python |
|
mkdir -p _build/html/cpp |
|
|
|
if true |
|
then |
|
rm -f *.rst |
|
svn up |
|
TEXINPUTS=../: python renderer.py c > a || exit |
|
TEXINPUTS=$PWD: sphinx-build -b html -D 'html_title=OpenCV 2.0 C Reference' -d _build/doctrees . _build/html |
|
fi |
|
|
|
if true |
|
then |
|
rm -f *.rst |
|
svn up |
|
cp python-introduction.rst introduction.rst |
|
TEXINPUTS=../: python renderer.py py > a || exit |
|
cp python-introduction.rst introduction.rst |
|
TEXINPUTS=$PWD: sphinx-build -b html -D 'highlight_language=python' -D 'html_title=OpenCV 2.0 Python Reference' -d _build/doctrees . _build/html/python |
|
fi |
|
|
|
if true |
|
then |
|
rm -f *.rst |
|
svn up |
|
TEXINPUTS=../: python renderer.py cpp > a || exit |
|
TEXINPUTS=$PWD: sphinx-build -b html -D 'html_title=OpenCV 2.0 C++ Reference' -d _build/doctrees . _build/html/cpp |
|
fi
|
|
|