Skip to content

Some routes are categorized incorrectly in the [documentation](https://docs.rsshub.app/routes). #16800

Answered by TonyRL
howfool asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, many of the /gov routes are glitched because the migration from hard-coding route entries

router.get('/cn/news', './news');

to the newer route registration #14718 is done by script which is a hit-and-miss. To fix that, it is required to add those missing namespace.ts and a slight tweak of scripts/workflow/build-docs.ts

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by howfool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants