koajs / router

Router middleware for Koa. Maintained by @forwardemail and @ladjs.
MIT License
849 stars 174 forks source link

[fix] The directory in the API documentation does not work. #161

Closed itabbot closed 1 year ago

itabbot commented 2 years ago

In the API documentation directory, some links with the <code> tag did not work, which I discovered because the link's anchor point was incorrect.

Like this headline:

router.get|put|post|patch|delete|del ⇒ Router

Its correct anchor point is this:

#routergetputpostpatchdeletedel--router

But the actual link anchor in the directory is wrong:

#routergetputpostpatchdeletedel--coderoutercode
itabbot commented 2 years ago

I tried to fix it. And submitted the merge request: #162 You can see here>> that it already works.