1+ import { defineConfig , type DefaultTheme } from "vitepress" ;
2+
3+ export default defineConfig ( {
4+ lang : "ja" ,
5+ description : "OpenAPI 3.0および3.1のスキーマをTypeScriptで使用する方法。" ,
6+ themeConfig : {
7+ nav : [
8+ {
9+ text : "バージョン" ,
10+ items : [
11+ { text : "7.x" , link : "/ja/introduction" } ,
12+ { text : "6.x" , link : "/6.x/introduction" } ,
13+ ] ,
14+ } ,
15+ ] ,
16+ sidebar : {
17+ "/ja/" : [
18+ {
19+ text : "openapi-typescript (7.x)" ,
20+ items : [
21+ { text : "イントロダクション" , link : "/ja/introduction" } ,
22+ { text : "CLI" , link : "/ja/cli" } ,
23+ { text : "Node.js API" , link : "/ja/node" } ,
24+ { text : "使用例" , link : "/ja/examples" } ,
25+ { text : "6.xからのマイグレーション" , link : "/ja/migration-guide" } ,
26+ { text : "高度な機能" , link : "/ja/advanced" } ,
27+ { text : "概要" , link : "/ja/about" } ,
28+ ] ,
29+ } ,
30+ {
31+ text : "openapi-fetch" ,
32+ items : [
33+ { text : "始める" , link : "/ja/openapi-fetch/" } ,
34+ {
35+ text : "ミドルウェア & 認証" ,
36+ link : "/ja/openapi-fetch/middleware-auth" ,
37+ } ,
38+ { text : "テスト" , link : "/ja/openapi-fetch/testing" } ,
39+ { text : "使用例" , link : "/ja/openapi-fetch/examples" } ,
40+ { text : "API" , link : "/ja/openapi-fetch/api" } ,
41+ { text : "概要" , link : "/ja/openapi-fetch/about" } ,
42+ ] ,
43+ } ,
44+ {
45+ text : "openapi-react-query" ,
46+ items : [
47+ { text : "始める" , link : "/ja/openapi-react-query/" } ,
48+ { text : "useQuery" , link : "/ja/openapi-react-query/use-query" } ,
49+ { text : "useMutation" , link : "/ja/openapi-react-query/use-mutation" } ,
50+ { text : "useSuspenseQuery" , link : "/ja/openapi-react-query/use-suspense-query" } ,
51+ { text : "概要" , link : "/ja/openapi-react-query/about" } ,
52+ ] ,
53+ } ,
54+ ] ,
55+ } ,
56+
57+ docFooter : {
58+ prev : "前のページ" ,
59+ next : "次のページ" ,
60+ } ,
61+ outline : {
62+ label : "目次" ,
63+ } ,
64+ sidebarMenuLabel : "メニュー" ,
65+ returnToTopLabel : "最上部に戻る" ,
66+ footer : {
67+ message :
68+ '<a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MITライセンス</a> に基づいて配布されています。' ,
69+ } ,
70+ } ,
71+ } ) ;
72+
73+ export const jaSearch : DefaultTheme . AlgoliaSearchOptions [ "locales" ] = {
74+ ja : {
75+ placeholder : "ドキュメントを検索" ,
76+ translations : {
77+ button : {
78+ buttonText : "検索" ,
79+ buttonAriaLabel : "検索" ,
80+ } ,
81+ modal : {
82+ searchBox : {
83+ resetButtonTitle : "クエリをクリア" ,
84+ resetButtonAriaLabel : "クエリをクリア" ,
85+ cancelButtonText : "キャンセル" ,
86+ cancelButtonAriaLabel : "キャンセル" ,
87+ } ,
88+ startScreen : {
89+ recentSearchesTitle : "最近の検索" ,
90+ noRecentSearchesText : "最近の検索履歴はありません" ,
91+ saveRecentSearchButtonTitle : "最近の検索に保存" ,
92+ removeRecentSearchButtonTitle : "最近の検索から削除" ,
93+ favoriteSearchesTitle : "お気に入り" ,
94+ removeFavoriteSearchButtonTitle : "お気に入りから削除" ,
95+ } ,
96+ errorScreen : {
97+ titleText : "結果を取得できません" ,
98+ helpText : "ネットワーク接続を確認してください" ,
99+ } ,
100+ footer : {
101+ selectText : "選択" ,
102+ navigateText : "移動" ,
103+ closeText : "閉じる" ,
104+ } ,
105+ noResultsScreen : {
106+ noResultsText : "関連する結果が見つかりません" ,
107+ suggestedQueryText : "別のクエリを試してみてください" ,
108+ reportMissingResultsText : "このクエリに結果があるべきだと思いますか?" ,
109+ reportMissingResultsLinkText : "フィードバックを送信" ,
110+ } ,
111+ } ,
112+ } ,
113+ } ,
114+ } ;
0 commit comments