Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
e16a3a3f
Commit
e16a3a3f
authored
Aug 15, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved makedocs script
parent
6a5a3431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
makedocs
docs/makedocs
+15
-6
No files found.
docs/makedocs
View file @
e16a3a3f
...
@@ -11,6 +11,16 @@ htmlify_python_file ()
...
@@ -11,6 +11,16 @@ htmlify_python_file ()
pygmentize -f html -O full,style=vs $1 > $1.html
pygmentize -f html -O full,style=vs $1 > $1.html
}
}
build_python_interface ()
{
pushd ../python_examples
mkdir build
cd build || report_failure
cmake ../../tools/python || report_failure
make -j4 install || report_failure
popd
}
htmlify_cmake ()
htmlify_cmake ()
{
{
echo "
<html><head><title>
" > $1.html;
echo "
<html><head><title>
" > $1.html;
...
@@ -137,14 +147,13 @@ makedocs ()
...
@@ -137,14 +147,13 @@ makedocs ()
# the python docs can't be created (this happens if the .so file isn't compiled)
# the python docs can't be created (this happens if the .so file isn't compiled)
if [ "$1" = "makerel" ]
if [ "$1" = "makerel" ]
then
then
pushd ../python_examples
build_python_interface
./compile_dlib_python_module.bat || report_failure
popd
sphinx-build -b html docs/python sphinx.$$ || report_failure
sphinx-build -b html docs/python sphinx.$$ || report_failure
else
else
pushd ../python_examples
if [ "$1" != "fast" ]
./compile_dlib_python_module.bat
then
popd
build_python_interface
fi;
sphinx-build -b html docs/python sphinx.$$
sphinx-build -b html docs/python sphinx.$$
fi;
fi;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment