Warn about missing opt references

This commit is contained in:
Kovid Goyal
2018-06-05 07:52:28 +05:30
parent 61194ef1c8
commit fd731feacc
+2
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