Skip to content

Commit 2bb13b4

Browse files
committed
Merge pull request django-cms#4722 from divio/touch-docs
Touch docs
2 parents f5a4e2c + 3953cf7 commit 2bb13b4

22 files changed

+243
-39
lines changed

docs/how_to/apphooks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ For example::
176176

177177
{% url 'my_view' %}
178178

179-
Will not work anymore when you namespace an app. You will need to do something like::
179+
Will not work any more when you namespace an app. You will need to do something like::
180180

181181
{% url 'my_namespace:my_view' %}
182182

docs/how_to/caching.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Caching
33
#######
44

55

6-
*****
7-
Setup
8-
*****
6+
******
7+
Set-up
8+
******
99

1010
To setup caching configure a caching backend in django.
1111

docs/how_to/frontend_models.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hint on hover. Double-clicking opens a pop-up window containing the change form
1515

1616
.. note::
1717

18-
This interface is not currently available for touchscreen users, but will be improved in
18+
This interface is not currently available for touch-screen users, but will be improved in
1919
future releases.
2020

2121
.. warning::

docs/how_to/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ for detailed installation information, and then return to this tutorial.
382382

383383
If you opt for the core plugins you should take care that directory to which
384384
the :setting:`CMS_PAGE_MEDIA_PATH` setting points (by default ``cms_page_media/``
385-
relative to :setting:`django:MEDIA_ROOT`) is writable by the user under which Django
385+
relative to :setting:`django:MEDIA_ROOT`) is writeable by the user under which Django
386386
will be running. If you have opted for django-filer there is a similar requirement
387387
for its configuration.
388388

@@ -468,7 +468,7 @@ setting::
468468
.. note::
469469

470470
Please make sure both the ``static`` and ``media`` sub-folders exist in your
471-
project and are writable.
471+
project and are writeable.
472472

473473
Now add a little magic to the :setting:`django:TEMPLATE_DIRS` section of the file::
474474

docs/how_to/toolbar.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ mode into your application, and provide your users with a streamlined editing ex
99

1010
For the toolbar API reference, please refer to :ref:`toolbar-api-reference`.
1111

12+
.. important:: **Overlay** and **sideframe**
13+
14+
Then django CMS *sideframe* has been replaced with an *overlay* mechanism. The API still refers
15+
to the ``sideframe``, because it is invoked in the same way, and what has changed is merely the
16+
behaviour in the user's browser.
17+
18+
In other words, *sideframe* and the *overlay* refer to different versions of the same thing.
1219

1320
***********
1421
Registering

docs/introduction/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ indicated with an asterisk *****).
9797
* Languages to enable. Option can be provided multiple times, or as a comma separated list: ``en,
9898
de`` *****
9999
* Optional default time zone: ``America/Chicago``
100-
* Activate Django timezone support: ``yes``
100+
* Activate Django time zone support: ``yes``
101101
* Activate CMS permission management: ``yes``
102102
* Use Twitter Bootstrap Theme: ``yes`` *****
103103
* Use custom template set: ``no``

docs/reference/api_references.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,14 @@ cms.toolbar.toolbar
418418
cms.toolbar.items
419419
=================
420420

421+
.. important:: **Overlay** and **sideframe**
422+
423+
Then django CMS *sideframe* has been replaced with an *overlay* mechanism. The API still refers
424+
to the ``sideframe``, because it is invoked in the same way, and what has changed is merely the
425+
behaviour in the user's browser.
426+
427+
In other words, *sideframe* and the *overlay* refer to different versions of the same thing.
428+
421429
.. module:: cms.toolbar.items
422430

423431

@@ -489,16 +497,16 @@ cms.toolbar.items
489497

490498
.. method:: add_sideframe_item(name, url, active=False, disabled=False, extra_classes=None, on_close=None, side=LEFT, position=None)
491499

492-
Adds an item which opens ``url`` in the side frame and returns it.
500+
Adds an item which opens ``url`` in the sideframe and returns it.
493501

494-
``on_close`` can be set to ``None`` to do nothing when the side frame
502+
``on_close`` can be set to ``None`` to do nothing when the sideframe
495503
closes, :attr:`REFRESH_PAGE` to refresh the page when it
496504
closes or a URL to open once it closes.
497505

498506
.. method:: add_modal_item(name, url, active=False, disabled=False, extra_classes=None, on_close=REFRESH_PAGE, side=LEFT, position=None)
499507

500508
The same as :meth:`add_sideframe_item`, but opens the ``url`` in a
501-
modal dialog instead of the side frame.
509+
modal dialog instead of the sideframe.
502510

503511
``on_close`` can be set to ``None`` to do nothing when the side modal
504512
closes, :attr:`REFRESH_PAGE` to refresh the page when it
@@ -575,7 +583,7 @@ cms.toolbar.items
575583

576584
.. class:: SideframeItem(name, url, active=False, disabled=False, extra_classes=None, on_close=None, side=LEFT)
577585

578-
Item that opens ``url`` in side frame.
586+
Item that opens ``url`` in sideframe.
579587

580588

581589
.. class:: AjaxItem(name, action, csrf_token, data=None, active=False, disabled=False, extra_classes=None, question=None, side=LEFT)

docs/reference/configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ By default, django CMS creates a folder called ``cms_page_media`` in your
709709
static files folder where all uploaded media files are stored. The media files
710710
are stored in sub-folders numbered with the id of the page.
711711

712-
You need to ensure that the directory to which it points is writable by the
712+
You need to ensure that the directory to which it points is writeable by the
713713
user under which Django will be running.
714714

715715

@@ -860,7 +860,7 @@ default
860860
``True``
861861

862862
Should the output of pages be cached?
863-
Takes the language, and timezone into account. Pages for logged in users are not cached.
863+
Takes the language, and time zone into account. Pages for logged in users are not cached.
864864
If the toolbar is visible the page is not cached as well.
865865

866866

@@ -873,7 +873,7 @@ default
873873
``True``
874874

875875
Should the output of the various placeholder template tags be cached?
876-
Takes the current language and timezone into account. If the toolbar is in edit mode or a plugin with ``cache=False`` is
876+
Takes the current language and time zone into account. If the toolbar is in edit mode or a plugin with ``cache=False`` is
877877
present the placeholders will not be cached.
878878

879879

docs/spelling_wordlist

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,37 @@
1010
#
1111
# Please keep the two sections below separate.
1212

13-
#### entries that need to be checked ####
13+
#### entries that need to be checked for various different reasons ####
1414

1515
api
16+
fallback
1617
fallbacks
1718
js
19+
practices
1820
rc
21+
regexps
1922
src
2023
url
2124

2225
#### accepted entries ####
2326

27+
2428
addons
29+
Admin
30+
admin
2531
Aldryn
32+
Alvarado
33+
app
2634
apphook
2735
apphooked
2836
apphooks
37+
apps
2938
astagi
3039
backport
3140
backported
3241
backticks
3342
basilelegal
43+
blog
3444
boilerplates
3545
cacheable
3646
callables
@@ -45,6 +55,7 @@ counterintuitive
4555
CSS
4656
customisable
4757
Daniele
58+
Debian
4859
deprecations
4960
Deutsch
5061
dialogs
@@ -58,8 +69,10 @@ django-cms
5869
docstrings
5970
doctormo
6071
douwevandermeij
72+
draggable
6173
driesdesmet
6274
elpaso
75+
etc
6376
Fankhauser
6477
fieldset
6578
filenames
@@ -82,6 +95,8 @@ iframe
8295
ikudryavtsev
8396
Indices
8497
inline
98+
introspected
99+
iPad
85100
ipsum
86101
Japanisch
87102
JavaScript
@@ -96,7 +111,9 @@ Larghi
96111
Lauber
97112
ldgarcia
98113
lin
114+
linted
99115
linters
116+
linting
100117
localhost
101118
login
102119
logout
@@ -105,6 +122,7 @@ Lorem
105122
lowercased
106123
maqnouch
107124
Matteo
125+
max
108126
Mediaeval
109127
middleware
110128
minified
@@ -124,6 +142,9 @@ olarcheveque
124142
online
125143
Paulo
126144
peterfarrell
145+
Placeholder
146+
placeholder
147+
placeholders
127148
plugin
128149
plugins
129150
pre
@@ -137,6 +158,8 @@ runserver
137158
runtime
138159
Saltvik
139160
sam
161+
Samsung
162+
Sass
140163
Schoen
141164
searchable
142165
Sekizai
@@ -154,13 +177,16 @@ templating
154177
timgraham
155178
Todo
156179
tomwardill
180+
Toolbar
181+
toolbar
157182
toolbars
158183
tooltip
159184
transactional
160185
treavis
161186
treebeard
162187
tuple
163188
tuples
189+
Ubuntu
164190
uncached
165191
unclosed
166192
uncomment
@@ -185,9 +211,14 @@ vstoykov
185211
whitespace
186212
Wohlwend
187213
workflows
214+
writeable
188215
xframe
189216
YouTube
190217
Zürich
191218
Øyvind
192219
日本語
220+
iOS
221+
Asus
222+
Xperia
223+
193224

docs/topics/commonly_used_plugins.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ setting in your project's ``settings.py`` file::
3737

3838
You should take care that the directory defined by the configuration setting
3939
:setting:`CMS_PAGE_MEDIA_PATH` (by default ``cms_page_media/`` relative to
40-
:setting:`django:MEDIA_ROOT`) is writable by the user under which django will be
40+
:setting:`django:MEDIA_ROOT`) is writeable by the user under which django will be
4141
running.
4242

4343
You might consider using `django-filer`_ with `django filer CMS plugin`_ and its
@@ -161,7 +161,7 @@ it was placed in.
161161

162162
You should take care that the directory defined by the configuration setting
163163
:setting:`CMS_PAGE_MEDIA_PATH` (by default ``cms_page_media/`` relative to
164-
:setting:`django:MEDIA_ROOT`) is writable by the user under which django will be
164+
:setting:`django:MEDIA_ROOT`) is writeable by the user under which django will be
165165
running.
166166

167167
.. note:: In order to improve clarity, some Picture fields have been omitted in
@@ -196,7 +196,7 @@ settings in your project's ``settings.py`` file::
196196

197197
You should take care that the directory defined by the configuration setting
198198
:setting:`CMS_PAGE_MEDIA_PATH` (by default ``cms_page_media/`` relative to
199-
:setting:`django:MEDIA_ROOT`) is writable by the user under which django will be
199+
:setting:`django:MEDIA_ROOT`) is writeable by the user under which django will be
200200
running.
201201

202202
.. note:: For more advanced use cases where you would like to upload your media
@@ -258,7 +258,7 @@ default behaviour:
258258

259259
You should take care that the directory defined by the configuration setting
260260
:setting:`CMS_PAGE_MEDIA_PATH` (by default ``cms_page_media/`` relative to
261-
:setting:`django:MEDIA_ROOT`) is writable by the user under which django will be
261+
:setting:`django:MEDIA_ROOT`) is writeable by the user under which django will be
262262
running.
263263

264264
.. note:: For more advanced use cases where you would like to upload your media

docs/topics/i18n.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discov
5858
When visiting a page that is only English and French with a German browser, the language from LANGUAGE_CODE will be used.
5959
If this is English, but the visitor only speaks French, the visitor will have to switch the language.
6060
Visiting the same page now again after some time, will show it in English again, because the browser session which was
61-
used to store the language selection doesn't exist anymore. To prevent this issue, a middleware exists which stores the
61+
used to store the language selection doesn't exist any more. To prevent this issue, a middleware exists which stores the
6262
language selection in a cookie. Add the following middleware to `MIDDLEWARE_CLASSES`:
6363

6464
`cms.middleware.language.LanguageCookieMiddleware`

docs/topics/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ concerned with explaining *how to do things* than with helping you understand
99
.. toctree::
1010
:maxdepth: 2
1111

12+
touch
1213
menu_system
1314
publishing
1415
multiple_languages

0 commit comments

Comments
 (0)