feat(deploy): single-origin path-based deployment + project site #34

Merged
developer merged 4 commits from feature/deploy-single-origin into development 2026-05-23 17:24:25 +00:00
3 changed files with 8 additions and 4 deletions
Showing only changes of commit ec98639d49 - Show all commits
+6 -2
View File
@@ -28,7 +28,11 @@ export default defineConfig({
label: "English", label: "English",
lang: "en", lang: "en",
themeConfig: { themeConfig: {
nav: [{ text: "Play", link: "/game/" }], // The game is a separate app under /game/, not a VitePress page.
// target "_self" makes the link a real navigation (full load),
// not a client-side SPA route — otherwise VitePress shows its
// own 404 for the unknown route.
nav: [{ text: "Play", link: "/game/", target: "_self" }],
sidebar: [ sidebar: [
{ {
text: "Galaxy", text: "Galaxy",
@@ -42,7 +46,7 @@ export default defineConfig({
lang: "ru", lang: "ru",
link: "/ru/", link: "/ru/",
themeConfig: { themeConfig: {
nav: [{ text: "Играть", link: "/game/" }], nav: [{ text: "Играть", link: "/game/", target: "_self" }],
sidebar: [ sidebar: [
{ {
text: "Galaxy", text: "Galaxy",
+1 -1
View File
@@ -2,4 +2,4 @@
A turn-based space strategy game. A turn-based space strategy game.
[Play the game →](/game/) [Play the game →](/game/){target="_self"}
+1 -1
View File
@@ -2,4 +2,4 @@
Пошаговая космическая стратегия. Пошаговая космическая стратегия.
[Играть →](/game/) [Играть →](/game/){target="_self"}