diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 584d747..8ec0837 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -7,27 +7,18 @@ const config: Config = { tagline: "TREM 技術文件", favicon: "img/favicon.ico", - // Set the production url of your site here url: "https://exptechtw.github.io", - // Set the // pathname under which your site is served - // For GitHub pages deployment, it is often '//' baseUrl: "/TREM-docs/", - - // GitHub pages deployment config. - // If you aren't using GitHub pages, you don't need these. - organizationName: "ExpTechTW", // Usually your GitHub org/user name. - projectName: "docs", // Usually your repo name. + organizationName: "ExpTechTW", + projectName: "TREM-docs", onBrokenLinks: "throw", onBrokenMarkdownLinks: "throw", onDuplicateRoutes: "throw", - // Even if you don't use internationalization, you can use this field to set - // useful metadata like html lang. For example, if your site is Chinese, you - // may want to replace "en" with "zh-Hans". i18n: { defaultLocale: "zh-Hant", - locales: ["en", "zh-Hant", "ja"], + locales: ["en", "zh-Hant"], }, presets: [ @@ -36,15 +27,11 @@ const config: Config = { { docs: { sidebarPath: "./sidebars.ts", - // Please change this to your repo. - // Remove this to remove the "edit this page" links. editUrl: "https://github.com/ExpTechTW/TREM-docs/tree/main", editLocalizedFiles: true, }, blog: { showReadingTime: true, - // Please change this to your repo. - // Remove this to remove the "edit this page" links. editUrl: "https://github.com/ExpTechTW/TREM-docs/tree/main", editLocalizedFiles: true, }, @@ -56,8 +43,6 @@ const config: Config = { ], themeConfig: { - // Replace with your project's social card - // image: 'img/docusaurus-social-card.jpg', navbar: { title: "TREM Docs", logo: { diff --git a/i18n/ja/code.json b/i18n/ja/code.json deleted file mode 100644 index 58a8445..0000000 --- a/i18n/ja/code.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "theme.ErrorPageContent.title": { - "message": "このページはクラッシュした", - "description": "The title of the fallback page when the page crashed" - }, - "theme.BackToTopButton.buttonAriaLabel": { - "message": "トップへ戻る", - "description": "The ARIA label for the back to top button" - }, - "theme.blog.archive.title": { - "message": "アーカイヴ", - "description": "The page & hero title of the blog archive page" - }, - "theme.blog.archive.description": { - "message": "アーカイブ", - "description": "The page & hero description of the blog archive page" - }, - "theme.blog.paginator.navAriaLabel": { - "message": "ブログ一覧ページナビゲーション", - "description": "The ARIA label for the blog pagination" - }, - "theme.blog.paginator.newerEntries": { - "message": "新しいエントリー", - "description": "The label used to navigate to the newer blog posts page (previous page)" - }, - "theme.blog.paginator.olderEntries": { - "message": "古いエントリー", - "description": "The label used to navigate to the older blog posts page (next page)" - }, - "theme.blog.post.paginator.navAriaLabel": { - "message": "ブログ記事ページナビゲーション", - "description": "The ARIA label for the blog posts pagination" - }, - "theme.blog.post.paginator.newerPost": { - "message": "新しい投稿", - "description": "The blog post button label to navigate to the newer/previous post" - }, - "theme.blog.post.paginator.olderPost": { - "message": "古い投稿", - "description": "The blog post button label to navigate to the older/next post" - }, - "theme.blog.post.plurals": { - "message": "{count}の投稿", - "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" - }, - "theme.blog.tagTitle": { - "message": "タグ\"{tagName}\"の{nPosts}", - "description": "The title of the page for a blog tag" - }, - "theme.tags.tagsPageLink": { - "message": "すべてのタグを見る", - "description": "The label of the link targeting the tag list page" - }, - "theme.colorToggle.ariaLabel": { - "message": "ダークモードとライトモードを切り替える(現在は{mode})", - "description": "The ARIA label for the navbar color mode toggle" - }, - "theme.colorToggle.ariaLabel.mode.dark": { - "message": "ダークモード", - "description": "The name for the dark color mode" - }, - "theme.colorToggle.ariaLabel.mode.light": { - "message": "ライトモード", - "description": "The name for the light color mode" - }, - "theme.docs.breadcrumbs.navAriaLabel": { - "message": "パン", - "description": "The ARIA label for the breadcrumbs" - }, - "theme.docs.DocCard.categoryDescription.plurals": { - "message": "{count}項目 ", - "description": "The default description for a category card in the generated index about how many items this category includes" - }, - "theme.docs.paginator.navAriaLabel": { - "message": "ドキュメントページ", - "description": "The ARIA label for the docs pagination" - }, - "theme.docs.paginator.previous": { - "message": "前へ", - "description": "The label used to navigate to the previous doc" - }, - "theme.docs.paginator.next": { - "message": "次へ", - "description": "The label used to navigate to the next doc" - }, - "theme.docs.tagDocListPageTitle.nDocsTagged": { - "message": "タグ付けされた1つのドキュメント|{count}タグ付けされたドキュメント", - "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" - }, - "theme.docs.tagDocListPageTitle": { - "message": "{nDocsTagged}を\"{tagName}\"で", - "description": "The title of the page for a docs tag" - }, - "theme.docs.versionBadge.label": { - "message": "バージョン:{versionLabel}" - }, - "theme.docs.versions.unreleasedVersionLabel": { - "message": "これは{siteTitle} {versionLabel}バージョンの未発表ドキュメントです。{versionLabel}バージョンです", - "description": "The label used to tell the user that he's browsing an unreleased doc version" - }, - "theme.docs.versions.unmaintainedVersionLabel": { - "message": "これは{siteTitle} {versionLabel}のドキュメントで、現在はメンテナンスされていません", - "description": "The label used to tell the user that he's browsing an unmaintained doc version" - }, - "theme.docs.versions.latestVersionSuggestionLabel": { - "message": "最新のドキュメントについては、{latestVersionLink} ({versionLabel}) を参照してください", - "description": "The label used to tell the user to check the latest version" - }, - "theme.docs.versions.latestVersionLinkLabel": { - "message": "最新バージョン", - "description": "The label used for the latest version suggestion link label" - }, - "theme.common.editThisPage": { - "message": "このページを編集する", - "description": "The link label to edit the current page" - }, - "theme.common.headingLinkTitle": { - "message": "{heading}への直接リンク", - "description": "Title for link to heading" - }, - "theme.lastUpdated.atDate": { - "message": "オン{date}", - "description": "The words used to describe on which date a page has been last updated" - }, - "theme.lastUpdated.byUser": { - "message": "{user}に", - "description": "The words used to describe by who the page has been last updated" - }, - "theme.lastUpdated.lastUpdatedAtBy": { - "message": "最終更新日{atDate}{byUser}", - "description": "The sentence used to display when a page has been last updated, and by who" - }, - "theme.navbar.mobileVersionsDropdown.label": { - "message": "バージョン", - "description": "The label for the navbar versions dropdown on mobile view" - }, - "theme.NotFound.title": { - "message": "ページが見つかりません", - "description": "The title of the 404 page" - }, - "theme.tags.tagsListLabel": { - "message": "タグ:", - "description": "The label alongside a tag list" - }, - "theme.admonition.caution": { - "message": "注意", - "description": "The default label used for the Caution admonition (:::caution)" - }, - "theme.admonition.danger": { - "message": "危険", - "description": "The default label used for the Danger admonition (:::danger)" - }, - "theme.admonition.info": { - "message": "情報", - "description": "The default label used for the Info admonition (:::info)" - }, - "theme.admonition.note": { - "message": "注釈", - "description": "The default label used for the Note admonition (:::note)" - }, - "theme.admonition.tip": { - "message": "ヒント", - "description": "The default label used for the Tip admonition (:::tip)" - }, - "theme.admonition.warning": { - "message": "警告", - "description": "The default label used for the Warning admonition (:::warning)" - }, - "theme.AnnouncementBar.closeButtonAriaLabel": { - "message": "クローズ", - "description": "The ARIA label for close button of announcement bar" - }, - "theme.blog.sidebar.navAriaLabel": { - "message": "ブログ最近の記事ナビゲーション", - "description": "The ARIA label for recent posts in the blog sidebar" - }, - "theme.CodeBlock.copied": { - "message": "コード", - "description": "The copied button label on code blocks" - }, - "theme.CodeBlock.copyButtonAriaLabel": { - "message": "コードをクリップボードにコピーする", - "description": "The ARIA label for copy code blocks button" - }, - "theme.CodeBlock.copy": { - "message": "コピー", - "description": "The copy button label on code blocks" - }, - "theme.CodeBlock.wordWrapToggle": { - "message": "単語折り返し切り替え", - "description": "The title attribute for toggle word wrapping button of code block lines" - }, - "theme.DocSidebarItem.expandCategoryAriaLabel": { - "message": "サイドバーのカテゴリー「{label}」を拡張する", - "description": "The ARIA label to expand the sidebar category" - }, - "theme.DocSidebarItem.collapseCategoryAriaLabel": { - "message": "サイドバーのカテゴリー「{label}」を拡張する", - "description": "The ARIA label to collapse the sidebar category" - }, - "theme.NavBar.navAriaLabel": { - "message": "メイン", - "description": "The ARIA label for the main navigation" - }, - "theme.navbar.mobileLanguageDropdown.label": { - "message": "言語", - "description": "The label for the mobile language switcher dropdown" - }, - "theme.NotFound.p1": { - "message": "お探しのものは見つかりませんでした", - "description": "The first paragraph of the 404 page" - }, - "theme.NotFound.p2": { - "message": "リンク元のサイトのオーナーに連絡し、リンク切れを伝えてください", - "description": "The 2nd paragraph of the 404 page" - }, - "theme.TOCCollapsible.toggleButtonLabel": { - "message": "このページでは", - "description": "The label used by the button on the collapsible TOC component" - }, - "theme.blog.post.readMore": { - "message": "続きを読む", - "description": "The label used in blog post item excerpts to link to full blog posts" - }, - "theme.blog.post.readMoreLabel": { - "message": "{title}についてもっと読む", - "description": "The ARIA label for the link to full blog posts from excerpts" - }, - "theme.blog.post.readingTime.plurals": { - "message": "{readingTime}分読み", - "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" - }, - "theme.docs.breadcrumbs.home": { - "message": "ホームページ", - "description": "The ARIA label for the home page in the breadcrumbs" - }, - "theme.docs.sidebar.collapseButtonTitle": { - "message": "サイドバーの折りたたみ", - "description": "The title attribute for collapse button of doc sidebar" - }, - "theme.docs.sidebar.collapseButtonAriaLabel": { - "message": "サイドバーの折りたたみ", - "description": "The title attribute for collapse button of doc sidebar" - }, - "theme.docs.sidebar.navAriaLabel": { - "message": "ドキュメントサイドバー", - "description": "The ARIA label for the sidebar navigation" - }, - "theme.docs.sidebar.closeSidebarButtonAriaLabel": { - "message": "ナビゲーションバーを閉じる", - "description": "The ARIA label for close button of mobile sidebar" - }, - "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { - "message": "← メインメニューに戻る", - "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" - }, - "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { - "message": "トグルナビゲーションバー", - "description": "The ARIA label for hamburger menu button of mobile navigation" - }, - "theme.docs.sidebar.expandButtonTitle": { - "message": "サイドバーを拡大する", - "description": "The ARIA label and title attribute for expand button of doc sidebar" - }, - "theme.docs.sidebar.expandButtonAriaLabel": { - "message": "サイドバーを拡大する", - "description": "The ARIA label and title attribute for expand button of doc sidebar" - }, - "theme.ErrorPageContent.tryAgain": { - "message": "再試行", - "description": "The label of the button to try again rendering when the React error boundary captures an error" - }, - "theme.common.skipToMainContent": { - "message": "本文へスキップ", - "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" - }, - "theme.tags.tagsPageTitle": { - "message": "タグ", - "description": "The title of the tag list page" - }, - "theme.unlistedContent.title": { - "message": "未掲載ページ", - "description": "The unlisted content banner title" - }, - "theme.unlistedContent.message": { - "message": "このページは未掲載です、検索エンジンにインデックスされず、直接リンクを持つユーザーだけがアクセスできます", - "description": "The unlisted content banner message" - }, - "component.githubRepositoryLink.sourceCode": { - "message": "ソースコード", - "description": "The label of source code link" - } - } \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-blog/options.json b/i18n/ja/docusaurus-plugin-content-blog/options.json deleted file mode 100644 index 04dd8a2..0000000 --- a/i18n/ja/docusaurus-plugin-content-blog/options.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": { - "message": "ブログ", - "description": "SEOで使われるブログのタイトル" - }, - "description": { - "message": "ブログ", - "description": "SEOで使用されるブログの説明文" - }, - "sidebar.title": { - "message": "最近の記事", - "description": "左サイドバーのラベル" - } -} \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current.json b/i18n/ja/docusaurus-plugin-content-docs/current.json deleted file mode 100644 index a6a1874..0000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version.label": { - "message": "次のページ", - "description": "現在のバージョンのラベル" - } -} \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/swift/start/index.mdx b/i18n/ja/docusaurus-plugin-content-docs/current/swift/start/index.mdx deleted file mode 100644 index e69de29..0000000 diff --git a/i18n/ja/docusaurus-theme-classic/footer.json b/i18n/ja/docusaurus-theme-classic/footer.json deleted file mode 100644 index 1b7029a..0000000 --- a/i18n/ja/docusaurus-theme-classic/footer.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "link.title.技術文件": { - "message": "ドキュメント", - "description": "フッターのリンクカラムのタイトルにtitle=技術文件 を付けたもの" - }, - "link.title.ExpTech Studio": { - "message": "ExpTech Studio", - "description": "フッターのリンクカラムのタイトルにtitle=ExpTech Studio を付けたもの" - }, - "link.title.社群連結": { - "message": "ソーシャル", - "description": "フッターのリンクカラムのタイトルにtitle=社群連結 を付けたもの" - }, - "link.title.其他連結": { - "message": "その他", - "description": "フッターのリンクカラムのタイトルにtitle=其他連結 を付けたもの" - }, - "link.item.label.CDPS": { - "message": "CDPS", - "description": "/docs/cdps/start にリンクしているlabel=CDPSのフッターリンクのラベル" - }, - "link.item.label.服務條款": { - "message": "利用規約", - "description": "https://exptech.com.tw/tosにリンクしているlabel=服務條款のフッターリンクのラベル" - }, - "link.item.label.隱私權聲明": { - "message": "プライバシーポリシー", - "description": "https://raw.githubusercontent.com/ExpTechTW/TREM/Release/terms/privacy_policyにリンクしているlabel=隱私權聲明のフッターリンクのラベル" - }, - "link.item.label.Discord": { - "message": "Discord", - "description": "https://discord.com/invite/exptech-studioにリンクしているlabel=Discordのフッターリンクのラベル" - }, - "link.item.label.Blog": { - "message": "ブログ", - "description": "/blogにリンクしているlabel=Blogのフッターリンクのラベル" - }, - "link.item.label.GitHub": { - "message": "GitHub", - "description": "https://github.com/ExpTechTWにリンクしているlabel=GitHubのフッターリンクのラベル" - }, - "copyright": { - "message": "Copyright © 2024 ExpTech Studio. Built with Docusaurus.", - "description": "フッターのコピーライト" - } -} \ No newline at end of file diff --git a/i18n/ja/docusaurus-theme-classic/navbar.json b/i18n/ja/docusaurus-theme-classic/navbar.json deleted file mode 100644 index c9e9638..0000000 --- a/i18n/ja/docusaurus-theme-classic/navbar.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "title": { - "message": "ExpTechドキュメント", - "description": "ナビバーのタイトル" - }, - "logo.alt": { - "message": "ExpTech Logo", - "description": "ナバーLogoのaltテキスト" - }, - "item.label.CDPS": { - "message": "CDPS", - "description": "ラベルCDPS付きナバーアイテム" - }, - "item.label.GitHub": { - "message": "GitHub", - "description": "ラベルGitHub付きナバーアイテム" - } -} \ No newline at end of file