Notaku supports hosting a docs site under your own domain and make it available on the /docs path.

This is an alternative to using a subdomain of your website like docs.site.com, you can instead show the Notaku docs at site.com/docs.

To support this feature you will need to reroute all traffic beginning with /docs path to a Notaku special url ending with docs-base-path.notaku.site/docs.

Notice that this feature is enabled only for docs and blog websites and only for the paths /docs /help and /blog

<aside> 💡 To be able to follow this guide you need to upgrade to the 99 plan

</aside>

Examples

Next.js

  1. Upgrade to the $99 plan to enable this feature

  2. Click on the How to host on /docs button in your website dashboard

    Screenshot 2023-03-20 at 11.08.17.png

  3. Select Next.js in the options

    Screenshot 2023-03-20 at 11.08.34.png

  4. Add the code in the rewrites function to your next.config.js file (create one if missing)

    Screenshot 2023-03-20 at 11.08.49.png

Cloudflare workers

Follow this guide to learn how to host your website on a subdirectory on Cloudflare Hosting on /docs or /blog with Cloudflare