{
  "__type": "IngestedDoc",
  "__tag": 4010,
  "_content": {
    "Notes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Raises": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Yields": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Methods": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Returns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Placeholder role handler: renders like "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "role_verbatim"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " but warns."
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Receives": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warnings": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Attributes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Extended Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Map a project-local role to it to "
            },
            {
              "__type": "Emphasis",
              "__tag": 4047,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "acknowledge"
                }
              ]
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " the role exists without deciding its rendering yet — gen stays green (no "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "W-unknown-role"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " error), the role stays visible (a "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "W-unset-role"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " warning on every use), and the config string is easy to grep for when the real handler gets written      "
            }
          ]
        },
        {
          "__type": "Code",
          "__tag": 4050,
          "value": "[global.roles]\nmpltype = 'papyri.directives:role_unset'",
          "execution_status": null,
          "out": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Inside "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "papyri gen"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " the visitor binds "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "role"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " and "
            },
            {
              "__type": "InlineCode",
              "__tag": 4051,
              "value": "warn"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " so the warning carries the role name and reaches the Diagnostics collector."
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Other Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    }
  },
  "_ordered_sections": [
    "Summary",
    "Extended Summary",
    "Parameters",
    "Attributes",
    "Methods",
    "Returns",
    "Yields",
    "Receives",
    "Other Parameters",
    "Raises",
    "Warns",
    "Warnings",
    "Notes"
  ],
  "item_file": "/papyri/directives.py",
  "item_line": 84,
  "item_type": "function",
  "aliases": [
    "papyri.directives.role_unset"
  ],
  "example_section_data": {
    "__type": "Section",
    "__tag": 4015,
    "children": [],
    "title": [],
    "level": 0,
    "target": null
  },
  "see_also": [],
  "signature": {
    "__type": "SignatureNode",
    "__tag": 4029,
    "kind": "function",
    "parameters": [
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "value",
        "annotation": "str",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "role",
        "annotation": "str",
        "kind": "KEYWORD_ONLY",
        "default": "?"
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "warn",
        "annotation": "DirectiveWarn",
        "kind": "KEYWORD_ONLY",
        "default": "<function _log_warn at 0x0000>"
      }
    ],
    "return_annotation": "list[Any]",
    "target_name": "role_unset"
  },
  "references": null,
  "qa": "papyri.directives:role_unset",
  "arbitrary": [],
  "local_refs": []
}