You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FEATCode's class docstring cites :rfc:5797#secion-3`` — secion, missing the `t`. Sphinx's `:rfc:` role does not validate the fragment, so it renders a live link to a wrong anchor and no build warns: nitpicky mode only checks `py:` targets.
It is in two places because one generates the other:
pcapkit/vendor/ftp/command.py:68 — inside the LINE f-string template at :40, i.e. the source of truth
pcapkit/const/ftp/command.py:28 — the generated copy
§3 is the right section (Initial Contents of Registry, where the keywords are listed). Deliberately leave get()'s :rfc:5797#section-2`` alone — it quotes §2.2's Registry Format wording verbatim and is correct as it stands.
Do not regenerate to fix this. Regenerating means a live IANA crawl; the line is a literal in the template, so editing both files identically is exactly what regeneration would produce.
Describe the bug
FEATCode's class docstring cites:rfc:5797#secion-3`` —secion, missing the `t`. Sphinx's `:rfc:` role does not validate the fragment, so it renders a live link to a wrong anchor and no build warns: nitpicky mode only checks `py:` targets.It is in two places because one generates the other:
pcapkit/vendor/ftp/command.py:68— inside theLINEf-string template at:40, i.e. the source of truthpcapkit/const/ftp/command.py:28— the generated copyReproduction
Expected behavior
:rfc:5797#section-3``. Observed anchor#secion-3(does not exist), expected `#section-3`.Notes
FEATCodetodocs/source/pcapkit/const/ftp.rst— so this docstring is now rendered on a published API page, which is why it is worth fixing rather than leaving.FEATCodedocstring defect; docs(conventions,const): resolve part B's unresolved cross-references (#934) #941's body records the other two.get()'s:rfc:5797#section-2`` alone — it quotes §2.2's Registry Format wording verbatim and is correct as it stands.System information
pcapkitcommit:1bd576ec1, Python 3.14.7, CPython, Linux.