From a70aa737756be924d3c90339bb58a65ceac88089 Mon Sep 17 00:00:00 2001 From: sup39 Date: Mon, 20 Feb 2023 20:44:03 +0900 Subject: [PATCH] add warning for dev site --- site/.vuepress/config.js | 7 +++++-- site/.vuepress/public/CNAME | 2 +- site/de/index.md | 5 +++++ site/fr/index.md | 5 +++++ site/index.md | 5 +++++ site/ja/index.md | 6 +++++- 6 files changed, 26 insertions(+), 4 deletions(-) diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js index aa75c96..c09651e 100755 --- a/site/.vuepress/config.js +++ b/site/.vuepress/config.js @@ -1,9 +1,10 @@ const { description } = require('../../package'); const themePlugins = require('./data/themePlugins.json'); const locales = require('./i18n/locales.json'); +const path = require('path'); module.exports = { - title: 'GCT Generator', + title: 'GCT Generator (dev)', description: description, head: [ ['meta', { name: 'theme-color', content: '#3eaf7c' }], @@ -32,7 +33,7 @@ module.exports = { * Theme Configuration */ themeConfig: { - repo: 'BitPatty/gctGenerator', + repo: 'sup39/gctGenerator', editLinks: true, docsDir: 'site', docsBranch: 'master', @@ -46,4 +47,6 @@ module.exports = { * VuePress Plugins */ plugins: ['@vuepress/plugin-back-to-top', '@vuepress/plugin-medium-zoom'], + + dest: path.join(__dirname, '../../docs'), }; diff --git a/site/.vuepress/public/CNAME b/site/.vuepress/public/CNAME index d695090..d42ed09 100644 --- a/site/.vuepress/public/CNAME +++ b/site/.vuepress/public/CNAME @@ -1 +1 @@ -gct.zint.ch \ No newline at end of file +gctdev.sms.sup39.dev diff --git a/site/de/index.md b/site/de/index.md index 7104fee..181ded8 100755 --- a/site/de/index.md +++ b/site/de/index.md @@ -2,4 +2,9 @@ editLink: false --- +::: danger +This site is only for testing experimental features for [GCT Generator](https://gct.zint.ch/). +To download stable codes, please use [GCT Generator](https://gct.zint.ch/) instead. +::: + diff --git a/site/fr/index.md b/site/fr/index.md index 7104fee..181ded8 100644 --- a/site/fr/index.md +++ b/site/fr/index.md @@ -2,4 +2,9 @@ editLink: false --- +::: danger +This site is only for testing experimental features for [GCT Generator](https://gct.zint.ch/). +To download stable codes, please use [GCT Generator](https://gct.zint.ch/) instead. +::: + diff --git a/site/index.md b/site/index.md index b4a1152..8ed30bb 100755 --- a/site/index.md +++ b/site/index.md @@ -2,6 +2,11 @@ editLink: false --- +::: danger +This site is only for testing experimental features for [GCT Generator](https://gct.zint.ch/). +To download stable codes, please use [GCT Generator](https://gct.zint.ch/) instead. +::: + diff --git a/site/ja/index.md b/site/ja/index.md index b4a1152..eef0c20 100644 --- a/site/ja/index.md +++ b/site/ja/index.md @@ -2,6 +2,10 @@ editLink: false --- - +::: danger +このサイトには実験的な機能とコードが含まれています。 +安定版のコードをダウンロードする場合は[GCT Generator](https://gct.zint.ch/)を使ってください。 +(とは言いますが当サイトはサポミクが管理しているので、お気軽に使っていただいて何か不明点などありましたら Discord にてお気軽に連絡していただければと思います) +:::