Inspectopedia 2024.3 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`

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

RestRoleInspection
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | ReST

Inspection options

Here you can find the description of settings available for the Role is not defined inspection, and the reference of their default values.

Ignored roles

Empty

Inspection Details

By default bundled with:

DataSpell 2024.1, PyCharm 2024.3,

Can be installed with plugin:

Python Community Edition, 241.SNAPSHOT

Last modified: 03 December 2024