aboutsummaryrefslogtreecommitdiff
blob: df5cd11179bae81a203430e23461f749143a48c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
def setup(app):
    import sys, os
    sys.path.insert(0, os.path.abspath("../../"))

    #Autmatically calls make_cmdlline_overview
    from pypy.doc.config import generate 

    from pypy.config import makerestdoc
    import py
    role = makerestdoc.register_config_role(py.path.local())
    app.add_role("config", role)