File: otpdocs.py

package info (click to toggle)
python-django-otp 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: python: 3,344; makefile: 140
file content (10 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
"""
Extra stuff for the django-otp Sphinx docs.
"""

def setup(app):
    app.add_crossref_type(
        directivename = "setting",
        rolename      = "setting",
        indextemplate = "pair: %s; setting",
    )