django-analytical/docs/_ext/local.py

22 lines
598 B
Python
Raw Normal View History

def setup(app):
app.add_crossref_type(
2025-04-04 11:25:00 +00:00
directivename='setting',
rolename='setting',
indextemplate='pair: %s; setting',
)
app.add_crossref_type(
2025-04-04 11:25:00 +00:00
directivename='templatetag',
rolename='ttag',
indextemplate='pair: %s; template tag',
)
app.add_crossref_type(
2025-04-04 11:25:00 +00:00
directivename='templatefilter',
rolename='tfilter',
indextemplate='pair: %s; template filter',
)
app.add_crossref_type(
2025-04-04 11:25:00 +00:00
directivename='fieldlookup',
rolename='lookup',
indextemplate='pair: %s; field lookup type',
)