From 2b9c58de567efa809ac32a3b645709f87588c276 Mon Sep 17 00:00:00 2001 From: BruceChen Date: Mon, 28 Nov 2022 14:10:55 +0800 Subject: [PATCH] [SKIP_BUILD] Fix document build failure --- .github/ISSUE_TEMPLATE/bug_report_form.yaml | 2 +- .github/ISSUE_TEMPLATE/feature_request_form.yaml | 2 +- .github/workflows/build-and-release.yml | 2 +- .github/workflows/deploy-doc-only.yml | 2 +- .github/workflows/sync-translations-only.yml | 2 +- .gitignore | 2 +- .gitmodules | 2 +- .idea/.gitignore | 2 +- Docker/Dockerfile | 2 +- Docker/docker-compose.yml | 2 +- Docker/start-latest.sh | 2 +- README.md | 2 +- crowdin.yml | 2 +- docs/.vuepress/config.ts | 2 +- docs/.vuepress/configs/gen_configs.py | 2 +- docs/.vuepress/configs/head.ts | 2 +- docs/.vuepress/configs/l10n_configs/config_templete.ts | 2 +- docs/.vuepress/configs/locales_config.ts | 2 +- docs/README.md | 2 +- docs/guide/README.md | 2 +- docs/guide/chat-bots.md | 2 +- docs/guide/configuration.md | 2 +- docs/guide/contibuting.md | 2 +- docs/guide/creating-bots.md | 2 +- docs/guide/installation.md | 2 +- docs/guide/usage.md | 2 +- docs/package.json | 2 +- docs/yarn.lock | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_form.yaml b/.github/ISSUE_TEMPLATE/bug_report_form.yaml index 3f88e306..27281bdc 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_form.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report_form.yaml @@ -1,4 +1,4 @@ -name: Bug Report +name: Bug Report description: Create a report to help us improve title: "[BUG] " labels: diff --git a/.github/ISSUE_TEMPLATE/feature_request_form.yaml b/.github/ISSUE_TEMPLATE/feature_request_form.yaml index 7ff46d00..a29caf7c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request_form.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request_form.yaml @@ -1,4 +1,4 @@ -name: Feature Request +name: Feature Request description: Suggest an idea for this project title: "[Idea] " labels: diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 39e0c041..918d9d0d 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -1,4 +1,4 @@ -name: Build MCC and Documents +name: Build MCC and Documents on: push: diff --git a/.github/workflows/deploy-doc-only.yml b/.github/workflows/deploy-doc-only.yml index 879058b8..52707f29 100644 --- a/.github/workflows/deploy-doc-only.yml +++ b/.github/workflows/deploy-doc-only.yml @@ -1,4 +1,4 @@ -name: Build Documents +name: Build Documents on: schedule: diff --git a/.github/workflows/sync-translations-only.yml b/.github/workflows/sync-translations-only.yml index 6280d253..c468f1bf 100644 --- a/.github/workflows/sync-translations-only.yml +++ b/.github/workflows/sync-translations-only.yml @@ -1,4 +1,4 @@ -name: Sync Translations +name: Sync Translations on: workflow_dispatch: diff --git a/.gitignore b/.gitignore index c2669354..45f6cef2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/DebugTools/MinecraftClientProxy.suo +/DebugTools/MinecraftClientProxy.suo /DebugTools/MinecraftClientProxy.v11.suo /MinecraftClient.v11.suo /MinecraftClient.suo diff --git a/.gitmodules b/.gitmodules index 95246689..5ef4ed0f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ -[submodule "ConsoleInteractive"] +[submodule "ConsoleInteractive"] path = ConsoleInteractive url = https://github.com/breadbyte/ConsoleInteractive branch = main diff --git a/.idea/.gitignore b/.idea/.gitignore index fd6eca64..a05f1bcc 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,2 +1,2 @@ -# Default ignored files +# Default ignored files /.idea.MinecraftClient/.idea/workspace.xml diff --git a/Docker/Dockerfile b/Docker/Dockerfile index df37cce8..f8a5b485 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -1,4 +1,4 @@ -# Using the .NET official image for .NET 6.0 +# Using the .NET official image for .NET 6.0 FROM mcr.microsoft.com/dotnet/sdk:6.0 # If you want to use a specific build, un-comment the ENV MCC_VERSION line (remove the # from the start) diff --git a/Docker/docker-compose.yml b/Docker/docker-compose.yml index d69731ab..2bc25fac 100644 --- a/Docker/docker-compose.yml +++ b/Docker/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2' +version: '2' services: MCC: diff --git a/Docker/start-latest.sh b/Docker/start-latest.sh index 2f3f7e7a..6f158287 100644 --- a/Docker/start-latest.sh +++ b/Docker/start-latest.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh cd /opt/data || exit 1 diff --git a/README.md b/README.md index 2fba59d8..76db9675 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+
Logo diff --git a/crowdin.yml b/crowdin.yml index fa8a46a3..6be7ee2d 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,4 +1,4 @@ -"project_id_env": "CROWDIN_PROJECT_ID" +"project_id_env": "CROWDIN_PROJECT_ID" "api_token_env": "CROWDIN_PERSONAL_TOKEN" "base_path": "/" "preserve_hierarchy": true diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 272044da..187a7957 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,4 +1,4 @@ -import process from 'node:process' +import process from 'node:process' import { viteBundler } from '@vuepress/bundler-vite' import { webpackBundler } from '@vuepress/bundler-webpack' import { defineUserConfig } from '@vuepress/cli' diff --git a/docs/.vuepress/configs/gen_configs.py b/docs/.vuepress/configs/gen_configs.py index 4bbd3eb8..2d7f2cdb 100644 --- a/docs/.vuepress/configs/gen_configs.py +++ b/docs/.vuepress/configs/gen_configs.py @@ -1,4 +1,4 @@ -import os +import os LangNameMap = { "af": "Afrikaans", diff --git a/docs/.vuepress/configs/head.ts b/docs/.vuepress/configs/head.ts index 0e253a9a..2873428d 100644 --- a/docs/.vuepress/configs/head.ts +++ b/docs/.vuepress/configs/head.ts @@ -1,4 +1,4 @@ -import type { HeadConfig } from '@vuepress/core' +import type { HeadConfig } from '@vuepress/core' export const headConfig: HeadConfig[] = [ [ diff --git a/docs/.vuepress/configs/l10n_configs/config_templete.ts b/docs/.vuepress/configs/l10n_configs/config_templete.ts index 20045fb7..67425741 100644 --- a/docs/.vuepress/configs/l10n_configs/config_templete.ts +++ b/docs/.vuepress/configs/l10n_configs/config_templete.ts @@ -1,4 +1,4 @@ -import type { SiteLocaleData } from '@vuepress/shared' +import type { SiteLocaleData } from '@vuepress/shared' import type { DefaultThemeLocaleData } from '@vuepress/theme-default' import { headConfig } from '../head.js' diff --git a/docs/.vuepress/configs/locales_config.ts b/docs/.vuepress/configs/locales_config.ts index e6c21a64..4aae0a8e 100644 --- a/docs/.vuepress/configs/locales_config.ts +++ b/docs/.vuepress/configs/locales_config.ts @@ -1,4 +1,4 @@ -/* This file is automatically generated by "gen_configs.py" */ +/* This file is automatically generated by "gen_configs.py" */ import type { SiteLocaleConfig } from '@vuepress/shared' import type { LocaleConfig } from '@vuepress/shared' diff --git a/docs/README.md b/docs/README.md index 7274b49e..9f08b4f5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ ---- +--- title: Home home: true heroImage: /images/MCC_logo_with_edge.png diff --git a/docs/guide/README.md b/docs/guide/README.md index f8419bba..c031659c 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -1,4 +1,4 @@ ---- +--- title: About & Features --- diff --git a/docs/guide/chat-bots.md b/docs/guide/chat-bots.md index ef76604e..7678b41d 100644 --- a/docs/guide/chat-bots.md +++ b/docs/guide/chat-bots.md @@ -1,4 +1,4 @@ ---- +--- title: Chat Bots redirectFrom: - "/g/bots/index.html" diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index e79ece99..0f218fdb 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -1,4 +1,4 @@ ---- +--- title: Configuration redirectFrom: - "/g/conf/index.html" diff --git a/docs/guide/contibuting.md b/docs/guide/contibuting.md index e20edcc4..5d4c6711 100644 --- a/docs/guide/contibuting.md +++ b/docs/guide/contibuting.md @@ -1,4 +1,4 @@ ---- +--- title: Contributing --- diff --git a/docs/guide/creating-bots.md b/docs/guide/creating-bots.md index 53afcd53..b5012a3b 100644 --- a/docs/guide/creating-bots.md +++ b/docs/guide/creating-bots.md @@ -1,4 +1,4 @@ ---- +--- title: Creating Chat Bots --- diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 83878bd6..4091cfc4 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -1,4 +1,4 @@ ---- +--- title: Installation --- diff --git a/docs/guide/usage.md b/docs/guide/usage.md index e44a9eb8..de7683e3 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -1,4 +1,4 @@ ---- +--- title: Usage --- diff --git a/docs/package.json b/docs/package.json index 0cbec20b..ef9d0f81 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,4 +1,4 @@ -{ +{ "name": "docs", "version": "1.0.0", "description": "Documentation website for Minecraft Console Client (MCC)", diff --git a/docs/yarn.lock b/docs/yarn.lock index 64321fe2..eeb37755 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1,4 +1,4 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1