diff --git a/docs/makedocs b/docs/makedocs index 5eb43bca2..7e5d93d86 100755 --- a/docs/makedocs +++ b/docs/makedocs @@ -105,7 +105,6 @@ makedocs () mv cache.$$/dlib docs/cache/ mv cache.$$/examples docs/cache/ mv cache.$$/python_examples docs/cache/ - htmlify_python docs/cache/python_examples/ mv cache.$$/tools docs/cache/ rm -rf cache.$$ @@ -145,8 +144,11 @@ makedocs () cp docs/cache/examples/CMakeLists.txt docs/web/examples mkdir docs/chm/docs/examples || report_failure cp docs/cache/examples/CMakeLists.txt docs/chm/docs/examples - cp docs/cache/python_examples/*.py.html docs/chm/docs/ - cp docs/cache/python_examples/*.py.html docs/web/ + cp docs/cache/python_examples/*.py docs/chm/docs/ + cp docs/cache/python_examples/*.py docs/web/ + + htmlify_python docs/chm/docs/ + htmlify_python docs/web/ cp docs/*.gif docs/web cp docs/*.gif docs/chm/docs diff --git a/docs/makerel b/docs/makerel index 9513860ca..3b160a9e5 100755 --- a/docs/makerel +++ b/docs/makerel @@ -51,6 +51,7 @@ mkdir $RELDIR cd $RELDIR || report_failure cp -r ../../docs/cache/dlib . || report_failure cp -r ../../docs/cache/examples . || report_failure +cp -r ../../docs/cache/python_examples . || report_failure cp -r ../../docs/cache/tools . || report_failure echo Version: $RELEASE >> dlib/README.txt