From 9796272498fcabaeabf8fe1736152b0972003d19 Mon Sep 17 00:00:00 2001 From: hideyukiMORI Date: Sat, 30 May 2026 00:20:56 +0900 Subject: [PATCH] =?UTF-8?q?feat(docs):=20=E3=82=AB=E3=82=B9=E3=82=BF?= =?UTF-8?q?=E3=83=A0=E3=83=89=E3=83=A1=E3=82=A4=E3=83=B3=20docs.nene2-pyth?= =?UTF-8?q?on.dev=20=E3=81=A7=E9=85=8D=E4=BF=A1=20(#763)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nene2-python 専用ドメインで docs を公開する。 - VitePress base を /nene2-python/ → / に変更(カスタムドメイン直下配信) - docs/public/CNAME に docs.nene2-python.dev を追加(ビルド成果物ルートに出力され GitHub Pages がカスタムドメインを設定する) DNS は CNAME docs → hideyukimori.github.io で設定・反映済み。旧 hideyukimori.github.io/nene2-python/ は新ドメインへ自動リダイレクト。 Closes #763 Co-Authored-By: Claude Opus 4.8 --- .vitepress/config.mts | 3 ++- docs/public/CNAME | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 docs/public/CNAME 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