doc improvement
This commit is contained in:
parent
7752e62dce
commit
806ed7fe8d
@ -1,8 +1,14 @@
|
|||||||
|
0.3.0
|
||||||
|
=====
|
||||||
|
- lots of tests
|
||||||
|
-
|
||||||
|
|
||||||
0.2.0
|
0.2.0
|
||||||
===================
|
===================
|
||||||
- simplification of status
|
- simplification of status
|
||||||
- addition of optional comment fields on edit
|
- addition of optional comment fields on edit
|
||||||
- cache-based lock for writing
|
- cache-based lock for writing
|
||||||
|
- rename view
|
||||||
- added MARKUPWIKI_ settings
|
- added MARKUPWIKI_ settings
|
||||||
- RSS for articles and wiki as a whole
|
- RSS for articles and wiki as a whole
|
||||||
|
|
||||||
|
34
README.rst
34
README.rst
@ -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
|
viewed, reverted, and compared. If you need much more than that markupwiki
|
||||||
might not be for you.
|
might not be for you.
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
============
|
||||||
|
|
||||||
django-markupwiki depends on django 1.2+, django-markupfield 1.0.0b+ and
|
django-markupwiki depends on django 1.2+, django-markupfield 1.0.0b+ and
|
||||||
libraries for whichever markup options you wish to include.
|
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
|
``MARKUPWIKI_WRITE_LOCK_SECONDS`` - number of seconds that a user can hold a
|
||||||
write lock (default: 300)
|
write lock (default: 300)
|
||||||
|
2
TODO
2
TODO
@ -1,6 +1,6 @@
|
|||||||
|
* better documentation
|
||||||
* revert option
|
* revert option
|
||||||
* wikiword highlighting
|
* wikiword highlighting
|
||||||
* detect broken wiki links
|
* detect broken wiki links
|
||||||
* tests
|
|
||||||
* only store diffs?
|
* only store diffs?
|
||||||
* anonymous edits?
|
* anonymous edits?
|
||||||
|
2
setup.py
2
setup.py
@ -4,7 +4,7 @@ long_description = open('README.rst').read()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='django-markupwiki',
|
name='django-markupwiki',
|
||||||
version="0.2.0",
|
version="0.3.0",
|
||||||
packages=['markupwiki'],
|
packages=['markupwiki'],
|
||||||
package_dir={'markupwiki': 'markupwiki'},
|
package_dir={'markupwiki': 'markupwiki'},
|
||||||
package_data={'markupwiki': ['templates/markupwiki/*.html']},
|
package_data={'markupwiki': ['templates/markupwiki/*.html']},
|
||||||
|
Loading…
Reference in New Issue
Block a user