メインコンテンツまでスキップ

docs ディレクトリの配置

結果: 設定可能。 Classic preset は project root の docs/ を標準とするが、docs plugin の path で別の場所を指定できる。routeBasePath は source とは独立して public URL を決め、このサイトでは各 locale 内の / を使う。

Docusaurus は index.md、README.md、または parent folder と同名の file を category index の規則として認識する。このサンプルは site root と criteria/ に index.mdx を置き、repository README は route set の外に保つ。

source tree は移動できるが、i18n translation path と docs/ を走査する tool も 一緒に更新する必要がある。