Merge branch 'documents' into develop
This commit is contained in:
@@ -35,12 +35,6 @@ Become a VRCT Supporter on:
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<a href="https://ko-fi.com/vrct_dev">
|
||||
<picture>
|
||||
<img src="/docs/img/kofi_logo.png" alt="Ko-fi" height="22px">
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<br>
|
||||
|
||||
<picture>
|
||||
@@ -82,7 +76,7 @@ VRCT supports your conversations with
|
||||
|
||||
# Documents
|
||||
Initial setup, basic functions, and other features are also described.
|
||||
- [Documents Link](https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246?pvs=4)
|
||||
- [Documents Link](https://misyaguziya.github.io/VRCT-Docs/)
|
||||
|
||||
# How to Use (YouTube)
|
||||
<div align="center">
|
||||
|
||||
@@ -35,12 +35,6 @@ Become a VRCT Supporter on:
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<a href="https://ko-fi.com/vrct_dev">
|
||||
<picture>
|
||||
<img src="/docs/img/kofi_logo.png" alt="Ko-fi" height="22px">
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<br>
|
||||
|
||||
<picture>
|
||||
@@ -82,7 +76,7 @@ VRCTはあなたの会話を以下でサポートをします。
|
||||
|
||||
# ドキュメント
|
||||
初期設定や基本機能、その他の機能についても記載してあります。
|
||||
- [Documents Link](https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246?pvs=4)
|
||||
- [Documents Link](https://misyaguziya.github.io/VRCT-Docs/)
|
||||
|
||||
# 使い方(Youtube)
|
||||
<div align="center">
|
||||
|
||||
@@ -35,12 +35,6 @@ Become a VRCT Supporter on:
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<a href="https://ko-fi.com/vrct_dev">
|
||||
<picture>
|
||||
<img src="/docs/img/kofi_logo.png" alt="Ko-fi" height="22px">
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<br>
|
||||
|
||||
<picture>
|
||||
@@ -82,7 +76,7 @@ VRCT는 다음과 같이 당신의 대화를 도와드려요.
|
||||
|
||||
# 문서 (일본어)
|
||||
초기 설정과 기본 기능 및 기타 기능에 대해 설명되어 있어요.
|
||||
- [Documents Link](https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246?pvs=4)
|
||||
- [Documents Link](https://misyaguziya.github.io/VRCT-Docs/)
|
||||
|
||||
# 사용법 (Youtube)
|
||||
<div align="center">
|
||||
|
||||
@@ -35,12 +35,6 @@ Become a VRCT Supporter on:
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<a href="https://ko-fi.com/vrct_dev">
|
||||
<picture>
|
||||
<img src="/docs/img/kofi_logo.png" alt="Ko-fi" height="22px">
|
||||
</picture>
|
||||
</a> 
|
||||
|
||||
<br>
|
||||
|
||||
<picture>
|
||||
@@ -81,7 +75,7 @@ VRCT 可以:
|
||||
|
||||
# 文件
|
||||
解釋了初始設定、基本功能以及其他功能。
|
||||
- [文件(日語)](https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246?pvs=4)
|
||||
- [Documents Link](https://misyaguziya.github.io/VRCT-Docs/)
|
||||
|
||||
# YouTube 教學(日語、英文字幕)
|
||||
<div align="center">
|
||||
|
||||
@@ -602,9 +602,6 @@ class Config:
|
||||
PATH_LOGS = ManagedProperty('PATH_LOGS', readonly=True, serialize=False)
|
||||
GITHUB_URL = ManagedProperty('GITHUB_URL', readonly=True, serialize=False)
|
||||
UPDATER_URL = ManagedProperty('UPDATER_URL', readonly=True, serialize=False)
|
||||
BOOTH_URL = ManagedProperty('BOOTH_URL', readonly=True, serialize=False)
|
||||
DOCUMENTS_URL = ManagedProperty('DOCUMENTS_URL', readonly=True, serialize=False)
|
||||
DEEPL_AUTH_KEY_PAGE_URL = ManagedProperty('DEEPL_AUTH_KEY_PAGE_URL', readonly=True, serialize=False)
|
||||
MAX_MIC_THRESHOLD = ManagedProperty('MAX_MIC_THRESHOLD', readonly=True, serialize=False)
|
||||
MAX_SPEAKER_THRESHOLD = ManagedProperty('MAX_SPEAKER_THRESHOLD', readonly=True, serialize=False)
|
||||
WATCHDOG_TIMEOUT = ManagedProperty('WATCHDOG_TIMEOUT', readonly=True, serialize=False)
|
||||
@@ -771,9 +768,6 @@ class Config:
|
||||
os_makedirs(self._PATH_LOGS, exist_ok=True)
|
||||
self._GITHUB_URL = "https://api.github.com/repos/misyaguziya/VRCT/releases/latest"
|
||||
self._UPDATER_URL = "https://api.github.com/repos/misyaguziya/VRCT_updater/releases/latest"
|
||||
self._BOOTH_URL = "https://misyaguziya.booth.pm/"
|
||||
self._DOCUMENTS_URL = "https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246"
|
||||
self._DEEPL_AUTH_KEY_PAGE_URL = "https://www.deepl.com/ja/account/summary"
|
||||
|
||||
self._MAX_MIC_THRESHOLD = 2000
|
||||
self._MAX_SPEAKER_THRESHOLD = 4000
|
||||
|
||||
@@ -137,5 +137,26 @@ export const whisper_weight_type_status = [
|
||||
export const deepl_auth_key_url = "https://www.deepl.com/ja/your-account/keys";
|
||||
|
||||
|
||||
export const vrct_document_home_url = "https://misyaguziya.github.io/VRCT-Docs";
|
||||
export const vrct_document_url_chunk_faq = "docs/faq";
|
||||
export const vrct_document_url_chunk_ui_guide = "docs/ui-guide";
|
||||
|
||||
export const generateLocalizedDocumentUrl = (lang_code = "en") => {
|
||||
const supported_languages = ["en", "ja"];
|
||||
|
||||
if (supported_languages.includes(lang_code) === false) {
|
||||
lang_code = "en";
|
||||
}
|
||||
|
||||
const lang_path = (lang_code === "en") ? "" : `/${lang_code}`;
|
||||
|
||||
return {
|
||||
vrct_document_home_url: `${vrct_document_home_url}`,
|
||||
vrct_document_faq_url: `${vrct_document_home_url}${lang_path}/${vrct_document_url_chunk_faq}`,
|
||||
vrct_document_ui_guide_url: `${vrct_document_home_url}${lang_path}/${vrct_document_url_chunk_ui_guide}`,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
export const supporters_data_url = "https://shiinasakamoto.github.io/vrct_supporters/assets/supporters/data.json";
|
||||
export const supporters_images_url = "https://ShiinaSakamoto.github.io/vrct_supporters/assets/supporters";
|
||||
@@ -31,6 +31,8 @@ import { useI18n } from "@useI18n";
|
||||
import { useAppearance } from "@logics_configs";
|
||||
import { PosterShowcaseContents } from "./poster_showcase_contents/PosterShowcaseContents";
|
||||
|
||||
import { generateLocalizedDocumentUrl } from "@ui_configs";
|
||||
|
||||
export const AboutVrct = () => {
|
||||
const { t } = useI18n();
|
||||
const { currentUiLanguage } = useAppearance();
|
||||
@@ -153,7 +155,7 @@ const about_vrct_links = {
|
||||
dev_shiina_x: { img: dev_x_icon, href: "https://twitter.com/Shiina_12siy" },
|
||||
|
||||
project_link_booth: { img: project_link_booth, href: "https://misyaguziya.booth.pm/items/5155325" },
|
||||
project_link_documents: { img: project_link_documents, href: "https://mzsoftware.notion.site/VRCT-Documents-be79b7a165f64442ad8f326d86c22246" },
|
||||
project_link_documents: { img: project_link_documents, href: generateLocalizedDocumentUrl().vrct_document_home_url },
|
||||
project_link_vrct_github: { img: project_link_vrct_github, href: "https://github.com/misyaguziya/VRCT" },
|
||||
project_link_contact_us: { img: project_link_contact_us, href: "https://docs.google.com/forms/d/e/1FAIpQLSei-xoydOY60ivXqhOjaTzNN8PiBQIDcNhzfy6cw2sjYkcg_g/viewform" },
|
||||
|
||||
|
||||
@@ -9,10 +9,17 @@ import {
|
||||
useIsOscAvailable,
|
||||
} from "@logics_common";
|
||||
|
||||
import { useVr, useOthers } from "@logics_configs";
|
||||
import {
|
||||
useAppearance,
|
||||
useVr,
|
||||
useOthers,
|
||||
} from "@logics_configs";
|
||||
import { OpenQuickSettingButton } from "./_buttons/OpenQuickSettingButton";
|
||||
|
||||
import { generateLocalizedDocumentUrl } from "@ui_configs";
|
||||
|
||||
export const RightSideComponents = () => {
|
||||
const { currentUiLanguage } = useAppearance();
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
@@ -23,7 +30,7 @@ export const RightSideComponents = () => {
|
||||
<SoftwareUpdateAvailableButton />
|
||||
<a
|
||||
className={styles.help_and_info_button}
|
||||
href="https://docs.google.com/spreadsheets/d/1_L5i-1U6PB1dnaPPTE_5uKMfqOpkLziPyRkiMLi4mqU/edit?usp=sharing"
|
||||
href={generateLocalizedDocumentUrl(currentUiLanguage.data).vrct_document_ui_guide_url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
|
||||
@@ -6,6 +6,7 @@ import MegaphoneSvg from "@images/megaphone.svg?react";
|
||||
import XMarkSvg from "@images/cancel.svg?react";
|
||||
import { useWindow } from "@logics_common";
|
||||
import clsx from "clsx";
|
||||
import { generateLocalizedDocumentUrl } from "@ui_configs";
|
||||
|
||||
export const SplashComponent = () => {
|
||||
return (
|
||||
@@ -56,7 +57,7 @@ const AnnouncementsContainer = () => {
|
||||
[styles.is_shown]: is_shown,
|
||||
[styles.is_labels_active]: is_labels_active,
|
||||
})}
|
||||
href="https://docs.google.com/spreadsheets/d/1_L5i-1U6PB1dnaPPTE_5uKMfqOpkLziPyRkiMLi4mqU/edit?usp=sharing"
|
||||
href={generateLocalizedDocumentUrl().vrct_document_faq_url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user