I want to create a custom Tag Page for docusaurus. I am using the classic theme and successfully swizzled DocTagDocListPage
. So now I can change the template for all tag pages.
What I want to do is have a custom markdown page for the route docs/tags/contribute
e.g. It would be great to just create that file in docs/tags/contribute.md
to have that page but docusaurus is complaining with the following warning.
[WARNING] Duplicate routes found!
- Attempting to create page at /docs/tags/contribute, but a page already exists at this route.
This could lead to non-deterministic routing behavior.
Is there an easy way to setup that page without having to write my own theme? Or for my markdown page to take precedence over the theme route?