[django-messages] r120 committed - modifying docs and sphinx conf.py

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 14, 2009, 7:57:49 AM10/14/09
to pinax-...@googlegroups.com
Revision: 120
Author: ar...@rcs4u.de
Date: Wed Oct 14 04:57:20 2009
Log: modifying docs and sphinx conf.py
http://code.google.com/p/django-messages/source/detail?r=120

Modified:
/trunk/docs/conf.py
/trunk/docs/customizing.txt
/trunk/docs/index.txt
/trunk/docs/usage.txt

=======================================
--- /trunk/docs/conf.py Wed Oct 14 03:45:13 2009
+++ /trunk/docs/conf.py Wed Oct 14 04:57:20 2009
@@ -96,7 +96,7 @@
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
-html_style = 'default.css'
+# html_style = 'default.css'

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
@@ -135,10 +135,10 @@
#html_additional_pages = {}

# If false, no module index is generated.
-#html_use_modindex = True
+html_use_modindex = False

# If false, no index is generated.
-#html_use_index = True
+html_use_index = False

# If true, the index is split into individual pages for each letter.
#html_split_index = False
=======================================
--- /trunk/docs/customizing.txt Mon Jan 26 02:21:04 2009
+++ /trunk/docs/customizing.txt Wed Oct 14 04:57:20 2009
@@ -63,7 +63,10 @@
instead of the default ``messages/inbox.html`` you can use this line in
your
own url-conf::

- url(r'^inbox/$', inbox, {'template_name': 'my_inbox.html',},
name='messages_inbox'),
+ url(r'^inbox/$',
+ inbox,
+ {'template_name': 'my_inbox.html',},
+ name='messages_inbox'),


Modifying form classes
@@ -79,7 +82,10 @@

from somewhere import MyComposeForm
...
- url(r'^compose/$', compose, {'form_class': MyComposeForm,},
name='messages_compose'),
+ url(r'^compose/$',
+ compose,
+ {'form_class': MyComposeForm,},
+ name='messages_compose'),


Modifying success urls
@@ -94,5 +100,8 @@
the redirecting behaviour of other views, you can pass a ``success_url``
parameter in your own url-conf, for example like this::

- url(r'^delete/(?P<message_id>[\d]+)/$', delete,
{'success_url': '/profile/',}, name='messages_delete'),
-
+ url(r'^delete/(?P<message_id>[\d]+)/$',
+ delete,
+ {'success_url': '/profile/',},
+ name='messages_delete'),
+
=======================================
--- /trunk/docs/index.txt Wed Oct 14 03:45:13 2009
+++ /trunk/docs/index.txt Wed Oct 14 04:57:20 2009
@@ -27,7 +27,8 @@
--------

.. toctree::
-
- install
- usage
- customizing
+ :maxdepth: 2
+
+ install
+ usage
+ customizing
=======================================
--- /trunk/docs/usage.txt Wed Oct 14 03:45:13 2009
+++ /trunk/docs/usage.txt Wed Oct 14 04:57:20 2009
@@ -1,3 +1,5 @@
+.. _ref-messages-usage:
+
=====================
Using django-messages
=====================

Reply all
Reply to author
Forward
0 new messages