Warn about missing opt references

This commit is contained in:
Kovid Goyal
2018-06-04 10:33:14 +05:30
parent 61194ef1c8
commit fd731feacc

View File

@@ -368,3 +368,5 @@ def setup(app):
'opt', 'opt',
indextemplate="pair: %s; Config Setting"
)
# Warn about opt references that could not be resolved
app.registry.domain_roles['std']['opt'].warn_dangling = True