Skip to main content

Docs directory placement

Result: configurable. The classic preset defaults to a project-root docs/ directory, but the docs plugin accepts another path. routeBasePath independently controls where those sources appear in the public URL; this site uses / within each locale.

Docusaurus recognizes index.md, README.md, or a file matching its parent folder as category-index conventions. This sample uses index.mdx at both the site root and criteria/ while keeping the repository README outside the docs route set.

Moving the source tree is therefore possible, but i18n translation paths and tools that scan docs/ must be updated together.