From ed8a7993b8e34754be043edad2f8e82f40e27ec6 Mon Sep 17 00:00:00 2001 From: Peter Badida Date: Tue, 5 Jul 2016 09:29:33 +0200 Subject: [PATCH] Fix build errors in docs --- doc/source/_static/.empty | 0 doc/source/conf.py | 2 +- doc/source/index.rst | 1 + doc/source/old_toolchain/faq.rst | 2 +- doc/source/quickstart.rst | 10 +++++----- doc/source/related.rst | 3 ++- doc/source/troubleshooting.rst | 1 + 7 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 doc/source/_static/.empty diff --git a/doc/source/_static/.empty b/doc/source/_static/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/source/conf.py b/doc/source/conf.py index d436a45b93..32f7d3055f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -82,7 +82,7 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = [] +exclude_patterns = ['ext/*', ] # The reST default role (used for this markup: `text`) to use for all # documents. diff --git a/doc/source/index.rst b/doc/source/index.rst index c7ec2cf922..bb5ed8b47f 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -35,6 +35,7 @@ Contents apis troubleshooting contribute + related old_toolchain/index.rst diff --git a/doc/source/old_toolchain/faq.rst b/doc/source/old_toolchain/faq.rst index 53e1b785a5..22ffe11512 100644 --- a/doc/source/old_toolchain/faq.rst +++ b/doc/source/old_toolchain/faq.rst @@ -5,7 +5,7 @@ arm-linux-androideabi-gcc: Internal error: Killed (program cc1) --------------------------------------------------------------- This could happen if you are not using a validated SDK/NDK with Python for -Android. Go to :doc:`prerequisites.rst` to see which one are working. +Android. Go to :doc:`prerequisites` to see which one are working. _sqlite3.so not found --------------------- diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst index 94bc07316d..0de97606cb 100644 --- a/doc/source/quickstart.rst +++ b/doc/source/quickstart.rst @@ -110,7 +110,7 @@ This will first build a distribution that contains `python2` and `kivy`, and usi You can also use ``--bootstrap=pygame``, but this bootstrap is deprecated for use with Kivy and SDL2 is preferred. Build a WebView application -~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~ To build your application, you need to have a name, version, a package identifier, and explicitly use the webview bootstrap, as @@ -158,14 +158,14 @@ If something goes wrong and you don't know how to fix it, add the group `__ or irc channel #kivy at irc.freenode.net . -See :ref:`Troubleshooting ` for more information. +See :doc:`troubleshooting` for more information. Advanced usage -------------- Recipe management -~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~ You can see the list of the available recipes with:: @@ -187,7 +187,7 @@ it (edit the ``__init__.py``):: Distribution management -~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~ Every time you start a new project, python-for-android will internally create a new distribution (an Android build project including Python @@ -215,7 +215,7 @@ Configuration file python-for-android checks in the current directory for a configuration file named ``.p4a``. If found, it adds all the lines as options to the command line. For example, you can add the options you would always -include such as: +include such as:: --dist_name my_example --android_api 19 diff --git a/doc/source/related.rst b/doc/source/related.rst index 6cd00e958d..602a9deea7 100644 --- a/doc/source/related.rst +++ b/doc/source/related.rst @@ -1,4 +1,5 @@ Related projects ================ -python-for-android was originally created to package Kivy applications. +python-for-android was originally created to package `Kivy ` +applications. diff --git a/doc/source/troubleshooting.rst b/doc/source/troubleshooting.rst index c6b780233d..8e7698a7db 100644 --- a/doc/source/troubleshooting.rst +++ b/doc/source/troubleshooting.rst @@ -1,3 +1,4 @@ +.. _troubleshooting: Troubleshooting ===============