Docs: Fix warnings in RST build

This commit is contained in:
Peter Badida 2017-11-10 20:11:14 +01:00
parent 75081a7306
commit f5d8a339f2
2 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@ This demonstration code spans many files, with this being the primary file.
The information pop-up ('No match') comes from the file helpers.py.
The history pane is managed in the file historymanager.py and described
in the file historymanager.kv. The database pane and storage is managed in
the file gestureDatabase.py and the described in the file gestureDatabase.kv.
the file gesturedatabase.py and the described in the file gesturedatabase.kv.
The general logic of the sliders and buttons are in the file
settings.py and described in settings.kv. but the actual settings pane is
described in the file multistroke.kv and managed from this file.

View File

@ -534,8 +534,9 @@ class WindowBase(EventDispatcher):
:attr:`rotation` is an :class:`~kivy.properties.AliasProperty`.
'''
softinput_mode = OptionProperty('', options=(
'', 'below_target', 'pan', 'scale', 'resize'))
softinput_mode = OptionProperty(
'', options=('', 'below_target', 'pan', 'scale', 'resize')
)
'''This specifies the behavior of window contents on display of the soft
keyboard on mobile platforms. It can be one of '', 'pan', 'scale',
'resize' or 'below_target'. Their effects are listed below.
@ -559,7 +560,7 @@ class WindowBase(EventDispatcher):
+----------------+-------------------------------------------------------+
:attr:`softinput_mode` is an :class:`~kivy.properties.OptionProperty` and
defaults to ``.
defaults to ''.
.. note:: The `resize` option does not currently work with SDL2 on Android.