2011-01-26 21:28:16 +00:00
|
|
|
def setup(app):
|
|
|
|
|
app.add_crossref_type(
|
|
|
|
|
directivename = "setting",
|
|
|
|
|
rolename = "setting",
|
|
|
|
|
indextemplate = "pair: %s; setting",
|
|
|
|
|
)
|
|
|
|
|
app.add_crossref_type(
|
|
|
|
|
directivename = "templatetag",
|
|
|
|
|
rolename = "ttag",
|
|
|
|
|
indextemplate = "pair: %s; template tag"
|
|
|
|
|
)
|
|
|
|
|
app.add_crossref_type(
|
|
|
|
|
directivename = "templatefilter",
|
|
|
|
|
rolename = "tfilter",
|
|
|
|
|
indextemplate = "pair: %s; template filter"
|
|
|
|
|
)
|
|
|
|
|
app.add_crossref_type(
|
|
|
|
|
directivename = "fieldlookup",
|
|
|
|
|
rolename = "lookup",
|
|
|
|
|
indextemplate = "pair: %s; field lookup type",
|
|
|
|
|
)
|
2011-02-14 07:40:27 +00:00
|
|
|
app.add_description_unit(
|
|
|
|
|
directivename = "decorator",
|
|
|
|
|
rolename = "dec",
|
|
|
|
|
indextemplate = "pair: %s; function decorator",
|
|
|
|
|
)
|