Repository: godot
Issue: Potential error inside of a code tag, found a string that looks like a closing tag
Labels: bug,topic:buildsystem,documentation

### Godot version

master (d9e974cdb0ffa22053c81a214413c1d7b5d8cfcc)

### System information

N/A

### Issue description

Static checks, includes documentation checks, which runs `doc/tools/make_rst.py`:
https://github.com/godotengine/godot/blob/d9e974cdb0ffa22053c81a214413c1d7b5d8cfcc/.github/workflows/static_checks.yml#L59-L61

<details>
<summary>
Currently this is generating multiple "Potential error inside of a code tag, found a string that looks like a closing tag" warnings:
</summary>

```
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in method "print_rich" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/code]" in method "print_rich" description.
WARNING: @GlobalScope.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in method "print_rich" description.
WARNING: RichTextEffect.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/example]" in class "RichTextEffect" description.
WARNING: RichTextEffect.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/example]" in class "RichTextEffect" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/b]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/i]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/center]" in class "RichTextLabel" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in signal "meta_clicked" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/hint]" in property "hint_underlined" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in property "meta_underlined" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/hint]" in method "push_hint" description.
WARNING: RichTextLabel.xml: Potential error inside of a code tag, found a string that looks like a closing tag "[/url]" in method "push_meta" description.

16 warnings were found in the class reference XML. Please check the messages above.
```

</details>

These warnings were introduced with #64230, which identifies that it generates these false positives. However, no issue was created; so it takes some digging to realise that this is a known issue.

Note: These warnings become visible when creating a PR and the "Documentation Checks" generate an error, which is confusing, because the warnings have nothing to do with the PR and we're used to all warnings being treated as errors.

### Steps to reproduce

Look at the static checks log https://github.com/godotengine/godot/actions/runs/3051084618/jobs/4918897916 under "Documentation Checks"

### Minimal reproduction project

N/A