~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/script/maint/makecache.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
and /data/cache directories
20
20
 
21
21
You will usually do this after changing MoinMoin code and calling "maint cleancache", by either upgrading
22
 
version, installing or removing macros.
 
22
version, installing or removing macros or changing the regex expression for dicts.
23
23
 
24
24
text_html is the name of the cache file used for compiled pages formatted
25
 
by the wiki text to html formatter.
 
25
by the wiki text to html formatter, A dict file does cache the pages which
 
26
do fit to the page_group_regex variable.
26
27
 
27
28
Detailed Instructions:
28
29
======================
29
30
General syntax: moin [options] maint makecache
30
31
 
31
32
[options] usually should be:
32
 
    --config-dir=/path/to/my/cfg/ --wiki-url=http://wiki.example.org/
 
33
    --config-dir=/path/to/my/cfg/ --wiki-url=wiki.example.org/
33
34
"""
34
35
 
35
36
    def __init__(self, argv, def_values):