Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/hatta/__init__.py
blob: cd58f3cdba5d104eb92d317f0e4e2865ba2a356d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# @copyright: 2008-2009 Radomir Dopieralski <hatta@sheep.art.pl>
# @license: GNU GPL, see COPYING for details.

"""
Hatta Wiki is a wiki engine designed to be used with Mercurial repositories.
It requires Mercurial and Werkzeug python modules.

Hatta's pages are just plain text files (and also images, binaries, etc.) in
some directory in your repository. For example, you can put it in your
project's "docs" directory to keep documentation. The files can be edited both
from the wiki or with a text editor -- in either case the changes committed to
the repository will appear in the recent changes and in page's history.

See hatta.py --help for usage.
"""

# Exposed API
from hatta.config import WikiConfig, read_config
from hatta.__main__ import main
from hatta.page import WikiPageColorText, WikiPageFile, WikiPageImage
from hatta.page import WikiPage, WikiPageText, WikiPageWiki
from hatta.parser import WikiParser, WikiWikiParser
from hatta.storage import WikiStorage, WikiSubdirectoryStorage
from hatta.request import WikiRequest
from hatta.response import WikiResponse
from hatta.wiki import Wiki
from hatta.hg_integration import cmdtable


__all__ = [
    'WikiConfig', 'read_config',
    'main',
    'WikiPageColorText', 'WikiPageFile', 'WikiPageImage',
    'WikiPage', 'WikiPageText', 'WikiPageWiki',
    'WikiParser', 'WikiWikiParser',
    'WikiStorage', 'WikiSubdirectoryStorage',
    'Wiki', 'WikiResponse', 'WikiRequest',
    '__version__', 'project_name', 'project_url', 'project_description',
    'cmdtable',
]

# Project's metainformation
__version__ = '1.6.1'
project_name = 'Hatta'
project_url = 'http://hatta-wiki.org/'
project_description = 'Wiki engine that lives in Mercurial repository.'