doc improvement

This commit is contained in:
James Turk 2010-04-12 16:03:45 -04:00
parent 7752e62dce
commit 806ed7fe8d
4 changed files with 38 additions and 6 deletions

View File

@ -1,8 +1,14 @@
0.3.0
=====
- lots of tests
-
0.2.0
===================
- simplification of status
- addition of optional comment fields on edit
- cache-based lock for writing
- rename view
- added MARKUPWIKI_ settings
- RSS for articles and wiki as a whole

View File

@ -10,17 +10,43 @@ functionality. Pages can be edited, locked, and deleted. Revisions can be
viewed, reverted, and compared. If you need much more than that markupwiki
might not be for you.
Requirements
------------
============
django-markupwiki depends on django 1.2+, django-markupfield 1.0.0b+ and
libraries for whichever markup options you wish to include.
Settings
========
Usage
=====
Like any django application, the first step when using django-markupwiki is
to add ``markupwiki`` to your ``INSTALLED_APPS``.
urls
----
To use django-markupwiki's urls you should also add a line like::
url(r'^wiki/', include('markupwiki.urls')),
to your urlconf.
This will make the following views available (assuming the defined root is /wiki/):
/wiki/rss/ - RSS feed of latest changes to wiki
/wiki/*article*/ - view the latest version of an article
/wiki/*article*/rss - RSS feed of changes to an article
/wiki/*article*/edit/ - edit (or create) an article
/wiki/*article*/history/ - history view for an article
/wiki/*article*/history/*revision*/ - view a specific version of an article
/wiki/*article*/diff/ - compare a two revisions of an article
settings
--------
django-markupwiki provides a number of optional settings that you may wish to use
to customize the behavior.
``MARKUPWIKI_WRITE_LOCK_SECONDS`` - number of seconds that a user can hold a
write lock (default: 300)

2
TODO
View File

@ -1,6 +1,6 @@
* better documentation
* revert option
* wikiword highlighting
* detect broken wiki links
* tests
* only store diffs?
* anonymous edits?

View File

@ -4,7 +4,7 @@ long_description = open('README.rst').read()
setup(
name='django-markupwiki',
version="0.2.0",
version="0.3.0",
packages=['markupwiki'],
package_dir={'markupwiki': 'markupwiki'},
package_data={'markupwiki': ['templates/markupwiki/*.html']},