@riebeckite/plugin-taxonomy 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README_ja.md +14 -14
- package/package.json +2 -2
package/README_ja.md
CHANGED
|
@@ -10,7 +10,7 @@ Riebeckite のビルド時タクソノミー(タグ・フォルダ)プラグ
|
|
|
10
10
|
|
|
11
11
|
## 概要
|
|
12
12
|
|
|
13
|
-
`taxonomy()` はマニフェストの公開エントリを読み、Core の collection
|
|
13
|
+
`taxonomy()` はマニフェストの公開エントリを読み、Core の collection の取り決め
|
|
14
14
|
(`buildContentCollections`)で 2 種類の一覧語を生成します。
|
|
15
15
|
|
|
16
16
|
- **タグ**: `tags` でグルーピングし `/tags/<slug>` に配置します。
|
|
@@ -63,7 +63,7 @@ export default defineConfig({
|
|
|
63
63
|
|
|
64
64
|
## データエンドポイント
|
|
65
65
|
|
|
66
|
-
プラグインは JSON エンドポイントを 1 つ登録します(endpoint
|
|
66
|
+
プラグインは JSON エンドポイントを 1 つ登録します(endpoint の取り決めは HonoX
|
|
67
67
|
integration が接続するため、プラグイン自身は framework のルーティングを持ちません)。
|
|
68
68
|
|
|
69
69
|
```
|
|
@@ -155,18 +155,18 @@ import "@riebeckite/plugin-taxonomy/style.css";
|
|
|
155
155
|
|
|
156
156
|
## エクスポート
|
|
157
157
|
|
|
158
|
-
- `taxonomy(options?)
|
|
159
|
-
- `taxonomyPlugin
|
|
160
|
-
- `resolveTaxonomyOptions(options?)
|
|
161
|
-
- `resolveTaxonomyOptionsFromConfig(config)
|
|
162
|
-
- `buildTaxonomyIndex(entries, options)
|
|
163
|
-
- `serializeTaxonomyIndex(index)` / `serializeTaxonomyTerm(term)
|
|
164
|
-
- `renderTaxonomyPage(term, options)` / `renderRelatedTerms(term, options)
|
|
165
|
-
- `renderTaxonomyIndexPage(kind, terms, options)
|
|
166
|
-
- `renderTermFeed(config, term, format, limit?)` / `buildFeedHeadTags(term)
|
|
167
|
-
- `buildTaxonomySeo(config, term)
|
|
168
|
-
- `slugifyTaxonomyValue(value)
|
|
169
|
-
- `buildTaxonomyAbsoluteUrl(config, pathOrUrl)
|
|
158
|
+
- `taxonomy(options?)`:プラグインファクトリー
|
|
159
|
+
- `taxonomyPlugin`:`taxonomy` の別名
|
|
160
|
+
- `resolveTaxonomyOptions(options?)`:既定値を適用する
|
|
161
|
+
- `resolveTaxonomyOptionsFromConfig(config)`:config から解決済みオプションを読む
|
|
162
|
+
- `buildTaxonomyIndex(entries, options)`:タグ・フォルダ語を構築する
|
|
163
|
+
- `serializeTaxonomyIndex(index)` / `serializeTaxonomyTerm(term)`:JSON 安全な射影
|
|
164
|
+
- `renderTaxonomyPage(term, options)` / `renderRelatedTerms(term, options)`:ページ断片
|
|
165
|
+
- `renderTaxonomyIndexPage(kind, terms, options)`:全タグ・全フォルダ一覧のページ断片
|
|
166
|
+
- `renderTermFeed(config, term, format, limit?)` / `buildFeedHeadTags(term)`:語ごとのフィード
|
|
167
|
+
- `buildTaxonomySeo(config, term)`:一覧ページの SEO メタデータ
|
|
168
|
+
- `slugifyTaxonomyValue(value)`:URL・ファイル用の slug
|
|
169
|
+
- `buildTaxonomyAbsoluteUrl(config, pathOrUrl)`:絶対 URL
|
|
170
170
|
- 型: `TaxonomyOptions`, `ResolvedTaxonomyOptions`, `TaxonomyTerm`, `TaxonomyIndex`, `TaxonomyPage`, `TaxonomyTermData`, `TaxonomyIndexData`
|
|
171
171
|
|
|
172
172
|
## 制約
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-taxonomy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"./style.css": "./style.css"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@riebeckite/core": "0.0.
|
|
18
|
+
"@riebeckite/core": "0.0.28"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tsx": "^4.22.4"
|