diff --git a/doc/Makefile b/doc/Makefile index b544e0670..943ac23f0 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,7 +3,8 @@ # You can set these variables from the command line. PYTHON = python -SPHINXOPTS = -W +#SPHINXOPTS = -W +SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = diff --git a/doc/autobuild.py b/doc/autobuild.py index 06dfa6cb8..a42c2eadb 100644 --- a/doc/autobuild.py +++ b/doc/autobuild.py @@ -61,8 +61,13 @@ examples_framework_dir = os.path.join(base_dir, '..', 'examples', 'framework') def writefile(filename, data): global dest_dir - print 'write', filename + # avoid to rewrite the file if the content didn't change f = os.path.join(dest_dir, filename) + print 'write', filename + if os.path.exists(f): + with open(f) as fd: + if fd.read() == data: + return h = open(f, 'w') h.write(data) h.close() diff --git a/doc/sources/conf.py b/doc/sources/conf.py index 43a051872..975060499 100644 --- a/doc/sources/conf.py +++ b/doc/sources/conf.py @@ -63,8 +63,8 @@ release = kivy.__version__ today_fmt = '%B %d, %Y' # suppress exclusion warnings -exclude_patterns = ['gettingstarted/*', 'api-index.rst', - 'api-kivy.lib.osc.*', 'guide/android.rst', 'guide/layouts.rst'] +#exclude_patterns = ['gettingstarted/*', 'api-index.rst', +# 'api-kivy.lib.osc.*', 'guide/layouts.rst'] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None diff --git a/doc/sources/guide/packaging.rst b/doc/sources/guide/packaging.rst index c7e6f6ffe..e8bdaa8e9 100644 --- a/doc/sources/guide/packaging.rst +++ b/doc/sources/guide/packaging.rst @@ -11,3 +11,4 @@ Packaging your application packaging-android packaging-ios + android