Inspectopedia Help

Role is not defined

Reports undefined roles in reStructuredText files.

Example:

.. role:: custom .. role:: newcustom(emphasis) An example of using :custom:`interpreted text` An example of using :newcustom:`interpreted text` An example of using :emphasis:`interpreted text` Some text using undefined role :undef:`interpreted text`

Inspection options

Option

Type

Default

Ignored roles

StringList

[]

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3

Plugin:

Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023