-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Hi everyone!
I’ve been working with Docus and could use a bit of help.
I managed to set up a standalone Docus project to serve documentation, and it worked great. Now I’m trying to integrate it into my existing Nuxt 4 website — but I’ve run into a problem: Docus seems to be taking over all the routing.
No matter what route I visit, it tries to resolve it from the /content directory (looking for a Markdown file).
My question:
Is there a way to configure Docus so it only handles routes under a specific path, like /docs?
For example:
/docs→/content/index.md/docs/folder1/page1→/content/folder1/page1.md
Basically, I’d like Docus to serve content only under /docs, and leave the rest of the Nuxt routes untouched.
I’ve already checked the Nuxt Content and Docus documentation, but couldn’t find anything about scoping Docus to a specific route.
Any tips or workarounds would be really appreciated, thanks a lot!