Back to index

moin  1.9.0~rc2
Namespaces | Functions | Variables
Include.py File Reference

Go to the source code of this file.

Namespaces

namespace  MoinMoin.macro.Include

Functions

def MoinMoin.macro.Include.extract_titles
def MoinMoin.macro.Include.execute

Variables

list MoinMoin.macro.Include.Dependencies = ["time"]
 MoinMoin.macro.Include.generates_headings = True
string MoinMoin.macro.Include._sysmsg = '<p><strong class="%s">%s</strong></p>'
string MoinMoin.macro.Include._arg_heading = r'(?P<heading>,)\s*(|(?P<hquote>[\'"])(?P<htext>.+?)(?P=hquote))'
 keep in sync with TableOfContents macro!
string MoinMoin.macro.Include._arg_level = r',\s*(?P<level>\d*)'
string MoinMoin.macro.Include._arg_from = r'(,\s*from=(?P<fquote>[\'"])(?P<from>.+?)(?P=fquote))?'
string MoinMoin.macro.Include._arg_to = r'(,\s*to=(?P<tquote>[\'"])(?P<to>.+?)(?P=tquote))?'
string MoinMoin.macro.Include._arg_sort = r'(,\s*sort=(?P<sort>(ascending|descending)))?'
string MoinMoin.macro.Include._arg_items = r'(,\s*items=(?P<items>\d+))?'
string MoinMoin.macro.Include._arg_skipitems = r'(,\s*skipitems=(?P<skipitems>\d+))?'
string MoinMoin.macro.Include._arg_titlesonly = r'(,\s*(?P<titlesonly>titlesonly))?'
string MoinMoin.macro.Include._arg_editlink = r'(,\s*(?P<editlink>editlink))?'
string MoinMoin.macro.Include._args_re_pattern = r'^(?P<name>[^,]+)(%s(%s)?%s%s%s%s%s%s%s)?$'
string MoinMoin.macro.Include._title_re = r"^(?P<heading>\s*(?P<hmarker>=+)\s.*\s(?P=hmarker))$"