Gatsby Theme Docs

 Base Path

The base path is the path that enters the documentation page, for many sites this lives on /learn or /docs. The default value is /.

  1. Provide a custom path

    module.exports = {
    plugins: [
    {
      resolve: "gatsby-theme-docbar",
      options: {
        basePath: "/learn",
      },
    },
    ],
    }
    
  2. Restart your site

    gatsby develop