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
medubelko
changed the title
References for removed commands persist between builds
Reference docs for removed commands persist between builds
Jan 9, 2025
Bug Description
Auto-generated pages for command references aren't tracked in Git or checked by
gen_cli_docs.py
.I suggest we have the script check the list of command pages against the list of enabled commands, and remove any that are obsolete.
To Reproduce
The second build fails because the references for the outdated commands (disabled in #5195) are present and unindexed.
Relevant log output
Warning, treated as error: /home/med/dev/snapcraft/docs/reference/commands/edit-registries.rst:document isn't included in any toctree
The text was updated successfully, but these errors were encountered: