Warn about missing opt references

This commit is contained in:
Kovid Goyal 2018-06-04 10:33:14 +05:30
parent 61194ef1c8
commit fd731feacc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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