Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
uses: jetli/wasm-pack-action@v0.4.0

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ">=18"
node-version: "lts/Jod"
cache: "npm"
cache-dependency-path: js-framework-benchmark/package-lock.json

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: "18"
node-version: "lts/Jod"
package-manager-cache: false

- name: Install dependencies
run: |
cd website
npm ci


- name: Run prettier
id: fmt
continue-on-error: true
Expand All @@ -45,7 +45,6 @@ jobs:
git diff
exit 1


- name: Check Translations
run: |
cd website
Expand Down
7 changes: 6 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = {
url: 'https://yew.rs',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/logo.svg',
organizationName: 'yewstack', // Usually your GitHub org/user name.
projectName: 'yew', // Usually your repo name.
Expand Down Expand Up @@ -135,6 +134,12 @@ module.exports = {
defaultLocale: 'en',
locales: ['en', 'ja', 'zh-Hans', 'zh-Hant'],
},
markdown: {
hooks: {
onBrokenMarkdownLinks: 'warn',
onBrokenMarkdownImages: 'throw',
},
},
presets: [
[
'@docusaurus/preset-classic',
Expand Down
142 changes: 123 additions & 19 deletions website/i18n/ja/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
},
"theme.SearchPage.algoliaLabel": {
"message": "Algoliaで検索",
"description": "The ARIA label for Algolia mention"
"description": "The description label for Algolia mention"
},
"theme.SearchPage.fetchingNewResults": {
"message": "新しい検索結果を取得しています...",
Expand All @@ -327,79 +327,79 @@
},
"theme.SearchModal.startScreen.noRecentSearchesText": {
"message": "最近の検索履歴はありません",
"description": "The text when no recent searches"
"description": "The text when there are no recent searches"
},
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": {
"message": "この検索をお気に入りに追加",
"description": "The label for save recent search button"
"description": "The title for save recent search button"
},
"theme.SearchModal.startScreen.removeRecentSearchButtonTitle": {
"message": "この検索を履歴から削除",
"description": "The label for remove recent search button"
"description": "The title for remove recent search button"
},
"theme.SearchModal.startScreen.favoriteSearchesTitle": {
"message": "お気に入り",
"description": "The title for favorite searches"
},
"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": {
"message": "この検索をお気に入りから削除",
"description": "The label for remove favorite search button"
"description": "The title for remove favorite search button"
},
"theme.SearchModal.errorScreen.titleText": {
"message": "検索結果の取得に失敗しました",
"description": "The title for error screen of search modal"
"description": "The title for error screen"
},
"theme.SearchModal.errorScreen.helpText": {
"message": "ネットワーク接続を確認してください",
"description": "The help text for error screen of search modal"
"description": "The help text for error screen"
},
"theme.SearchModal.footer.selectText": {
"message": "選ぶ",
"description": "The explanatory text of the action for the enter key"
"description": "The select text for footer"
},
"theme.SearchModal.footer.selectKeyAriaLabel": {
"message": "エンターキー",
"description": "The ARIA label for the Enter key button that makes the selection"
"description": "The ARIA label for select key in footer"
},
"theme.SearchModal.footer.navigateText": {
"message": "移動",
"description": "The explanatory text of the action for the Arrow up and Arrow down key"
"description": "The navigate text for footer"
},
"theme.SearchModal.footer.navigateUpKeyAriaLabel": {
"message": "上矢印キー",
"description": "The ARIA label for the Arrow up key button that makes the navigation"
"description": "The ARIA label for navigate up key in footer"
},
"theme.SearchModal.footer.navigateDownKeyAriaLabel": {
"message": "下矢印キー",
"description": "The ARIA label for the Arrow down key button that makes the navigation"
"description": "The ARIA label for navigate down key in footer"
},
"theme.SearchModal.footer.closeText": {
"message": "閉じる",
"description": "The explanatory text of the action for Escape key"
"description": "The close text for footer"
},
"theme.SearchModal.footer.closeKeyAriaLabel": {
"message": "エスケープキー",
"description": "The ARIA label for the Escape key button that close the modal"
"description": "The ARIA label for close key in footer"
},
"theme.SearchModal.footer.searchByText": {
"message": "検索",
"description": "The text explain that the search is making by Algolia"
"description": "The 'Powered by' text for footer"
},
"theme.SearchModal.noResultsScreen.noResultsText": {
"message": "見つかりませんでした",
"description": "The text explains that there are no results for the following search"
"description": "The text when there are no results"
},
"theme.SearchModal.noResultsScreen.suggestedQueryText": {
"message": "次の検索を試す:",
"description": "The text for the suggested query when no results are found for the following search"
"description": "The text for suggested query"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsText": {
"message": "よりよい検索結果がありますか?",
"description": "The text for the question where the user thinks there are missing results"
"description": "The text for reporting missing results"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": {
"message": "報告する",
"description": "The text for the link to report missing results"
"description": "The link text for reporting missing results"
},
"theme.SearchModal.placeholder": {
"message": "ドキュメントを検索",
Expand Down Expand Up @@ -452,5 +452,109 @@
"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
"message": "ドロップダウンを折りたたむ",
"description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
},
"theme.IconExternalLink.ariaLabel": {
"message": "(opens in new tab)",
"description": "The ARIA label for the external link icon"
},
"theme.SearchModal.searchBox.placeholderText": {
"message": "ドキュメントを検索",
"description": "The placeholder text for the main search input field"
},
"theme.SearchModal.searchBox.placeholderTextAskAi": {
"message": "別の質問をする...",
"description": "The placeholder text when in AI question mode"
},
"theme.SearchModal.searchBox.placeholderTextAskAiStreaming": {
"message": "回答中...",
"description": "The placeholder text for search box when AI is streaming an answer"
},
"theme.SearchModal.searchBox.enterKeyHint": {
"message": "検索",
"description": "The hint for the search box enter key text"
},
"theme.SearchModal.searchBox.enterKeyHintAskAi": {
"message": "確定",
"description": "The hint for the Ask AI search box enter key text"
},
"theme.SearchModal.searchBox.searchInputLabel": {
"message": "検索",
"description": "The ARIA label for search input"
},
"theme.SearchModal.searchBox.backToKeywordSearchButtonText": {
"message": "キーワード検索に戻る",
"description": "The text for back to keyword search button"
},
"theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": {
"message": "キーワード検索に戻る",
"description": "The ARIA label for back to keyword search button"
},
"theme.SearchModal.startScreen.recentConversationsTitle": {
"message": "最近の会話",
"description": "The title for recent conversations"
},
"theme.SearchModal.startScreen.removeRecentConversationButtonTitle": {
"message": "この会話を履歴から削除",
"description": "The title for remove recent conversation button"
},
"theme.SearchModal.resultsScreen.askAiPlaceholder": {
"message": "AIに質問:",
"description": "The placeholder text for Ask AI input"
},
"theme.SearchModal.askAiScreen.disclaimerText": {
"message": "回答はAIによって生成されており、誤りがある可能性があります。必ず内容を確認してください。",
"description": "The disclaimer text for AI answers"
},
"theme.SearchModal.askAiScreen.relatedSourcesText": {
"message": "関連ソース",
"description": "The text for related sources"
},
"theme.SearchModal.askAiScreen.thinkingText": {
"message": "考え中...",
"description": "The text when AI is thinking"
},
"theme.SearchModal.askAiScreen.copyButtonText": {
"message": "コピー",
"description": "The text for copy button"
},
"theme.SearchModal.askAiScreen.copyButtonCopiedText": {
"message": "コピーしました!",
"description": "The text for copy button when copied"
},
"theme.SearchModal.askAiScreen.copyButtonTitle": {
"message": "コピー",
"description": "The title for copy button"
},
"theme.SearchModal.askAiScreen.likeButtonTitle": {
"message": "いいね",
"description": "The title for like button"
},
"theme.SearchModal.askAiScreen.dislikeButtonTitle": {
"message": "よくない",
"description": "The title for dislike button"
},
"theme.SearchModal.askAiScreen.thanksForFeedbackText": {
"message": "フィードバックありがとうございます!",
"description": "The text for thanks for feedback"
},
"theme.SearchModal.askAiScreen.preToolCallText": {
"message": "検索中...",
"description": "The text before tool call"
},
"theme.SearchModal.askAiScreen.duringToolCallText": {
"message": "検索中:",
"description": "The text during tool call"
},
"theme.SearchModal.askAiScreen.afterToolCallText": {
"message": "検索完了:",
"description": "The text after tool call"
},
"theme.SearchModal.footer.submitQuestionText": {
"message": "質問を送信",
"description": "The submit question text for footer"
},
"theme.SearchModal.footer.backToSearchText": {
"message": "検索に戻る",
"description": "The back to search text for footer"
}
}
Loading
Loading