Skip to content

Commit 62517e4

Browse files
committed
Improve sidebar for older versions, fix broken links
1 parent 5371981 commit 62517e4

File tree

9 files changed

+588
-356
lines changed

9 files changed

+588
-356
lines changed

.vitepress/cake/ja/sidebar-2.json

Lines changed: 80 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"collapsed": false,
66
"items": [
77
{ "text": "インストール", "link": "/ja/2.x/installation" },
8+
{ "text": "高度なインストール", "link": "/ja/2.x/installation/advanced-installation" },
9+
{ "text": "URL リライト", "link": "/ja/2.x/installation/url-rewriting" },
810
{ "text": "はじめに", "link": "/ja/2.x/getting-started" },
911
{ "text": "典型的な CakePHP リクエスト", "link": "/ja/2.x/getting-started/a-typical-cakephp-request" },
1012
{ "text": "CakePHP 規約", "link": "/ja/2.x/getting-started/cakephp-conventions" },
13+
{ "text": "CakePHP フォルダ構造", "link": "/ja/2.x/getting-started/cakephp-folder-structure" },
1114
{ "text": "CakePHP 構造", "link": "/ja/2.x/getting-started/cakephp-structure" }
1215
]
1316
},
@@ -16,6 +19,8 @@
1619
"collapsed": true,
1720
"items": [
1821
{ "text": "CakePHP 概要", "link": "/ja/2.x/cakephp-overview" },
22+
{ "text": "CakePHPとは?なぜ使うのか?", "link": "/ja/2.x/cakephp-overview/what-is-cakephp-why-use-it" },
23+
{ "text": "Model-View-Controller の理解", "link": "/ja/2.x/cakephp-overview/understanding-model-view-controller" },
1924
{ "text": "ヘルプの取得", "link": "/ja/2.x/cakephp-overview/where-to-get-help" }
2025
]
2126
},
@@ -24,22 +29,21 @@
2429
"collapsed": true,
2530
"items": [
2631
{ "text": "コントローラー", "link": "/ja/2.x/controllers" },
32+
{ "text": "リクエスト & レスポンス", "link": "/ja/2.x/controllers/request-response" },
2733
{ "text": "ページコントローラー", "link": "/ja/2.x/controllers/pages-controller" },
28-
{ "text": "コンポーネント", "collapsed": true, "items": [
29-
{ "text": "コンポーネント", "link": "/ja/2.x/controllers/components" }
30-
]},
31-
{ "text": "スキャフォールディング", "link": "/ja/2.x/controllers/scaffolding" }
34+
{ "text": "スキャフォールディング", "link": "/ja/2.x/controllers/scaffolding" },
35+
{ "text": "コンポーネント", "link": "/ja/2.x/controllers/components" }
3236
]
3337
},
3438
{
3539
"text": "ビュー",
3640
"collapsed": true,
3741
"items": [
3842
{ "text": "ビュー", "link": "/ja/2.x/views" },
43+
{ "text": "メディアビュー", "link": "/ja/2.x/views/media-view" },
44+
{ "text": "JSON と XML ビュー", "link": "/ja/2.x/views/json-and-xml-views" },
3945
{ "text": "テーマ", "link": "/ja/2.x/views/themes" },
40-
{ "text": "ヘルパー", "collapsed": true, "items": [
41-
{ "text": "ヘルパー", "link": "/ja/2.x/views/helpers" }
42-
]}
46+
{ "text": "ヘルパー", "link": "/ja/2.x/views/helpers" }
4347
]
4448
},
4549
{
@@ -52,6 +56,7 @@
5256
{ "text": "データの保存", "link": "/ja/2.x/models/saving-your-data" },
5357
{ "text": "データの削除", "link": "/ja/2.x/models/deleting-data" },
5458
{ "text": "データバリデーション", "link": "/ja/2.x/models/data-validation" },
59+
{ "text": "コントローラーからのデータバリデーション", "link": "/ja/2.x/models/data-validation/validating-data-from-the-controller" },
5560
{ "text": "コールバックメソッド", "link": "/ja/2.x/models/callback-methods" },
5661
{ "text": "ビヘイビア", "link": "/ja/2.x/models/behaviors" },
5762
{ "text": "データソース", "link": "/ja/2.x/models/datasources" },
@@ -66,14 +71,31 @@
6671
"collapsed": true,
6772
"items": [
6873
{ "text": "コアライブラリ", "link": "/ja/2.x/core-libraries" },
74+
{ "text": "キャッシュ", "link": "/ja/2.x/core-libraries/caching" },
75+
{ "text": "コレクション", "link": "/ja/2.x/core-libraries/collections" },
76+
{ "text": "イベント", "link": "/ja/2.x/core-libraries/events" },
77+
{ "text": "グローバル定数と関数", "link": "/ja/2.x/core-libraries/global-constants-and-functions" },
78+
{ "text": "国際化とローカライゼーション", "link": "/ja/2.x/core-libraries/internationalization-and-localization" },
79+
{ "text": "ログ", "link": "/ja/2.x/core-libraries/logging" },
6980
{ "text": "ビヘイビア", "collapsed": true, "items": [
7081
{ "text": "ACL", "link": "/ja/2.x/core-libraries/behaviors/acl" },
7182
{ "text": "Containable", "link": "/ja/2.x/core-libraries/behaviors/containable" },
72-
{ "text": "翻訳", "link": "/ja/2.x/core-libraries/behaviors/translate" },
73-
{ "text": "ツリー", "link": "/ja/2.x/core-libraries/behaviors/tree" }
83+
{ "text": "Translate", "link": "/ja/2.x/core-libraries/behaviors/translate" },
84+
{ "text": "Tree", "link": "/ja/2.x/core-libraries/behaviors/tree" }
85+
]},
86+
{ "text": "コンポーネント", "collapsed": true, "items": [
87+
{ "text": "アクセス制御リスト", "link": "/ja/2.x/core-libraries/components/access-control-lists" },
88+
{ "text": "認証", "link": "/ja/2.x/core-libraries/components/authentication" },
89+
{ "text": "クッキー", "link": "/ja/2.x/core-libraries/components/cookie" },
90+
{ "text": "フラッシュ", "link": "/ja/2.x/core-libraries/components/flash" },
91+
{ "text": "ページネーション", "link": "/ja/2.x/core-libraries/components/pagination" },
92+
{ "text": "リクエストハンドリング", "link": "/ja/2.x/core-libraries/components/request-handling" },
93+
{ "text": "セキュリティコンポーネント", "link": "/ja/2.x/core-libraries/components/security-component" },
94+
{ "text": "セッション", "link": "/ja/2.x/core-libraries/components/sessions" }
7495
]},
7596
{ "text": "ヘルパー", "collapsed": true, "items": [
7697
{ "text": "キャッシュ", "link": "/ja/2.x/core-libraries/helpers/cache" },
98+
{ "text": "フラッシュ", "link": "/ja/2.x/core-libraries/helpers/flash" },
7799
{ "text": "フォーム", "link": "/ja/2.x/core-libraries/helpers/form" },
78100
{ "text": "HTML", "link": "/ja/2.x/core-libraries/helpers/html" },
79101
{ "text": "Js", "link": "/ja/2.x/core-libraries/helpers/js" },
@@ -83,24 +105,29 @@
83105
{ "text": "セッション", "link": "/ja/2.x/core-libraries/helpers/session" },
84106
{ "text": "テキスト", "link": "/ja/2.x/core-libraries/helpers/text" },
85107
{ "text": "時間", "link": "/ja/2.x/core-libraries/helpers/time" }
86-
]},
87-
{ "text": "ユーティリティ", "collapsed": true, "items": [
88-
{ "text": "アプリ", "link": "/ja/2.x/core-utility-libraries/app" },
89-
{ "text": "メール", "link": "/ja/2.x/core-utility-libraries/email" },
90-
{ "text": "ファイル & フォルダ", "link": "/ja/2.x/core-utility-libraries/file-folder" },
91-
{ "text": "ハッシュ", "link": "/ja/2.x/core-utility-libraries/hash" },
92-
{ "text": "HTTP ソケット", "link": "/ja/2.x/core-utility-libraries/httpsocket" },
93-
{ "text": "インフレクター", "link": "/ja/2.x/core-utility-libraries/inflector" },
94-
{ "text": "数値", "link": "/ja/2.x/core-utility-libraries/number" },
95-
{ "text": "サニタイズ", "link": "/ja/2.x/core-utility-libraries/sanitize" },
96-
{ "text": "セキュリティ", "link": "/ja/2.x/core-utility-libraries/security" },
97-
{ "text": "セット", "link": "/ja/2.x/core-utility-libraries/set" },
98-
{ "text": "文字列", "link": "/ja/2.x/core-utility-libraries/string" },
99-
{ "text": "時間", "link": "/ja/2.x/core-utility-libraries/time" },
100-
{ "text": "XML", "link": "/ja/2.x/core-utility-libraries/xml" }
101108
]}
102109
]
103110
},
111+
{
112+
"text": "コアユーティリティライブラリ",
113+
"collapsed": true,
114+
"items": [
115+
{ "text": "アプリ", "link": "/ja/2.x/core-utility-libraries/app" },
116+
{ "text": "メール", "link": "/ja/2.x/core-utility-libraries/email" },
117+
{ "text": "ファイル & フォルダ", "link": "/ja/2.x/core-utility-libraries/file-folder" },
118+
{ "text": "ハッシュ", "link": "/ja/2.x/core-utility-libraries/hash" },
119+
{ "text": "HTTP ソケット", "link": "/ja/2.x/core-utility-libraries/httpsocket" },
120+
{ "text": "インフレクター", "link": "/ja/2.x/core-utility-libraries/inflector" },
121+
{ "text": "数値", "link": "/ja/2.x/core-utility-libraries/number" },
122+
{ "text": "ルーター", "link": "/ja/2.x/core-utility-libraries/router" },
123+
{ "text": "サニタイズ", "link": "/ja/2.x/core-utility-libraries/sanitize" },
124+
{ "text": "セキュリティ", "link": "/ja/2.x/core-utility-libraries/security" },
125+
{ "text": "セット", "link": "/ja/2.x/core-utility-libraries/set" },
126+
{ "text": "文字列", "link": "/ja/2.x/core-utility-libraries/string" },
127+
{ "text": "時間", "link": "/ja/2.x/core-utility-libraries/time" },
128+
{ "text": "XML", "link": "/ja/2.x/core-utility-libraries/xml" }
129+
]
130+
},
104131
{
105132
"text": "コンソール & シェル",
106133
"collapsed": true,
@@ -109,7 +136,11 @@
109136
{ "text": "Bake によるコード生成", "link": "/ja/2.x/console-and-shells/code-generation-with-bake" },
110137
{ "text": "スキーマ管理とマイグレーション", "link": "/ja/2.x/console-and-shells/schema-management-and-migrations" },
111138
{ "text": "Acl シェル", "link": "/ja/2.x/console-and-shells/acl-shell" },
139+
{ "text": "補完シェル", "link": "/ja/2.x/console-and-shells/completion-shell" },
140+
{ "text": "クロンジョブ", "link": "/ja/2.x/console-and-shells/cron-jobs" },
141+
{ "text": "ヘルパー", "link": "/ja/2.x/console-and-shells/helpers" },
112142
{ "text": "I18n シェル", "link": "/ja/2.x/console-and-shells/i18n-shell" },
143+
{ "text": "テストスイートシェル", "link": "/ja/2.x/console-and-shells/testsuite-shell" },
113144
{ "text": "アップグレードシェル", "link": "/ja/2.x/console-and-shells/upgrade-shell" }
114145
]
115146
},
@@ -120,6 +151,7 @@
120151
{ "text": "開発", "link": "/ja/2.x/development" },
121152
{ "text": "設定", "link": "/ja/2.x/development/configuration" },
122153
{ "text": "ルーティング", "link": "/ja/2.x/development/routing" },
154+
{ "text": "セッション", "link": "/ja/2.x/development/sessions" },
123155
{ "text": "ディスパッチャーフィルター", "link": "/ja/2.x/development/dispatch-filters" },
124156
{ "text": "例外", "link": "/ja/2.x/development/exceptions" },
125157
{ "text": "エラーハンドリング", "link": "/ja/2.x/development/errors" },
@@ -136,9 +168,26 @@
136168
{ "text": "ブログチュートリアル", "collapsed": true, "items": [
137169
{ "text": "ブログチュートリアル", "link": "/ja/2.x/tutorials-and-examples/blog/blog" },
138170
{ "text": "パート 2", "link": "/ja/2.x/tutorials-and-examples/blog/part-two" }
171+
]},
172+
{ "text": "ブログ認証サンプル", "collapsed": true, "items": [
173+
{ "text": "認証", "link": "/ja/2.x/tutorials-and-examples/blog-auth-example/auth" }
174+
]},
175+
{ "text": "シンプル ACL 制御アプリケーション", "collapsed": true, "items": [
176+
{ "text": "パート1", "link": "/ja/2.x/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application" },
177+
{ "text": "パート2", "link": "/ja/2.x/tutorials-and-examples/simple-acl-controlled-application/part-two" }
139178
]}
140179
]
141180
},
181+
{
182+
"text": "プラグイン",
183+
"collapsed": true,
184+
"items": [
185+
{ "text": "プラグイン", "link": "/ja/2.x/plugins" },
186+
{ "text": "プラグインの作成方法", "link": "/ja/2.x/plugins/how-to-create-plugins" },
187+
{ "text": "プラグインのインストール方法", "link": "/ja/2.x/plugins/how-to-install-plugins" },
188+
{ "text": "プラグインの使用方法", "link": "/ja/2.x/plugins/how-to-use-plugins" }
189+
]
190+
},
142191
{
143192
"text": "貢献",
144193
"collapsed": true,
@@ -148,7 +197,8 @@
148197
{ "text": "チケット", "link": "/ja/2.x/contributing/tickets" },
149198
{ "text": "コード", "link": "/ja/2.x/contributing/code" },
150199
{ "text": "CakePHP コーディング規約", "link": "/ja/2.x/contributing/cakephp-coding-conventions" },
151-
{ "text": "後方互換性", "link": "/ja/2.x/contributing/backwards-compatibility" }
200+
{ "text": "後方互換性", "link": "/ja/2.x/contributing/backwards-compatibility" },
201+
{ "text": "CakePHP 開発プロセス", "link": "/ja/2.x/contributing/cakephp-development-process" }
152202
]
153203
},
154204
{
@@ -167,14 +217,18 @@
167217
{ "text": "2.7 から 2.8 への移行", "link": "/ja/2.x/appendices/2-8-migration-guide" },
168218
{ "text": "2.8 から 2.9 への移行", "link": "/ja/2.x/appendices/2-9-migration-guide" },
169219
{ "text": "2.9 から 2.10 への移行", "link": "/ja/2.x/appendices/2-10-migration-guide" },
220+
{ "text": "CakePHP 1.2 から 1.3 への移行", "link": "/ja/2.x/appendices/migrating-from-cakephp-1-2-to-1-3" },
221+
{ "text": "CakePHP 1.3 の新機能", "link": "/ja/2.x/appendices/new-features-in-cakephp-1-3" },
222+
{ "text": "CakePHP 2.0 の新機能", "link": "/ja/2.x/appendices/new-features-in-cakephp-2-0" },
223+
{ "text": "CakePHP 2.1 の新機能", "link": "/ja/2.x/appendices/new-features-in-cakephp-2-1" },
224+
{ "text": "PHPUnit 移行ヒント", "link": "/ja/2.x/appendices/phpunit-migration-hints" },
170225
{ "text": "用語集", "link": "/ja/2.x/appendices/glossary" }
171226
]
172227
},
173228
{
174229
"text": "追加トピック",
175230
"collapsed": true,
176231
"items": [
177-
{ "text": "プラグイン", "link": "/ja/2.x/plugins" },
178232
{ "text": "デプロイメント", "link": "/ja/2.x/deployment" }
179233
]
180234
}

.vitepress/cake/ja/sidebar-3.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
{ "text": "パート 2", "link": "/ja/3.x/tutorials-and-examples/blog/part-two" },
2323
{ "text": "パート 3", "link": "/ja/3.x/tutorials-and-examples/blog/part-three" }
2424
]},
25+
{ "text": "ブログ認証サンプル", "collapsed": true, "items": [
26+
{ "text": "認証", "link": "/ja/3.x/tutorials-and-examples/blog-auth-example/auth" }
27+
]},
28+
{ "text": "ブックマークチュートリアル", "collapsed": true, "items": [
29+
{ "text": "イントロダクション", "link": "/ja/3.x/tutorials-and-examples/bookmarks/intro" },
30+
{ "text": "パート2", "link": "/ja/3.x/tutorials-and-examples/bookmarks/part-two" }
31+
]},
2532
{ "text": "CMS チュートリアル", "collapsed": true, "items": [
2633
{ "text": "インストール", "link": "/ja/3.x/tutorials-and-examples/cms/installation" },
2734
{ "text": "データベース", "link": "/ja/3.x/tutorials-and-examples/cms/database" },
@@ -134,9 +141,17 @@
134141
{ "text": "入力出力", "link": "/ja/3.x/console-and-shells/input-output" },
135142
{ "text": "オプションパーサー", "link": "/ja/3.x/console-and-shells/option-parsers" },
136143
{ "text": "キャッシュ", "link": "/ja/3.x/console-and-shells/cache" },
144+
{ "text": "補完シェル", "link": "/ja/3.x/console-and-shells/completion-shell" },
137145
{ "text": "クロンジョブ", "link": "/ja/3.x/console-and-shells/cron-jobs" },
146+
{ "text": "ヘルパー", "link": "/ja/3.x/console-and-shells/helpers" },
147+
{ "text": "i18nシェル", "link": "/ja/3.x/console-and-shells/i18n-shell" },
148+
{ "text": "ORMキャッシュ", "link": "/ja/3.x/console-and-shells/orm-cache" },
149+
{ "text": "プラグインシェル", "link": "/ja/3.x/console-and-shells/plugin-shell" },
138150
{ "text": "REPL", "link": "/ja/3.x/console-and-shells/repl" },
151+
{ "text": "ルートシェル", "link": "/ja/3.x/console-and-shells/routes-shell" },
139152
{ "text": "スキーマキャッシュ", "link": "/ja/3.x/console-and-shells/schema-cache" },
153+
{ "text": "サーバーシェル", "link": "/ja/3.x/console-and-shells/server-shell" },
154+
{ "text": "シェル", "link": "/ja/3.x/console-and-shells/shells" },
140155
{ "text": "アップグレードシェル", "link": "/ja/3.x/console-and-shells/upgrade-shell" }
141156
]
142157
},
@@ -190,6 +205,7 @@
190205
{ "text": "3.7 移行ガイド", "link": "/ja/3.x/appendices/3-7-migration-guide" },
191206
{ "text": "3.8 移行ガイド", "link": "/ja/3.x/appendices/3-8-migration-guide" },
192207
{ "text": "3.9 移行ガイド", "link": "/ja/3.x/appendices/3-9-migration-guide" },
208+
{ "text": "ORM移行", "link": "/ja/3.x/appendices/orm-migration" },
193209
{ "text": "CakePHP 開発プロセス", "link": "/ja/3.x/appendices/cakephp-development-process" },
194210
{ "text": "用語集", "link": "/ja/3.x/appendices/glossary" }
195211
]
@@ -201,7 +217,12 @@
201217
{ "text": "プラグイン", "link": "/ja/3.x/plugins" },
202218
{ "text": "デプロイメント", "link": "/ja/3.x/deployment" },
203219
{ "text": "トピック", "link": "/ja/3.x/topics" },
204-
{ "text": "アップグレードツール", "link": "/ja/3.x/upgrade-tool" }
220+
{ "text": "アップグレードツール", "link": "/ja/3.x/upgrade-tool" },
221+
{ "text": "Chronos", "link": "/ja/3.x/chronos" },
222+
{ "text": "Debug Kit", "link": "/ja/3.x/debug-kit" },
223+
{ "text": "Elasticsearch", "link": "/ja/3.x/elasticsearch" },
224+
{ "text": "マイグレーション", "link": "/ja/3.x/migrations" },
225+
{ "text": "Phinx", "link": "/ja/3.x/phinx" }
205226
]
206227
}
207228
]

0 commit comments

Comments
 (0)