diff --git a/.vitepress/config.mts b/.vitepress/config.mts index d459e50..1fd0935 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -211,7 +211,8 @@ function sidebarJa() { export default defineConfig({ title: 'NENE2 Python', description: 'FastAPI + Clean Architecture + MCP. Python 3.12+. AI-ready from day one.', - base: process.env.GITHUB_ACTIONS ? '/nene2-python/' : '/', + // Served at the root of the custom domain docs.nene2-python.dev (see docs/public/CNAME). + base: '/', srcDir: './docs', outDir: './.vitepress/dist', cleanUrls: true, diff --git a/docs/public/CNAME b/docs/public/CNAME new file mode 100644 index 0000000..146558b --- /dev/null +++ b/docs/public/CNAME @@ -0,0 +1 @@ +docs.nene2-python.dev