@riebeckite/plugin-taxonomy 0.0.20 → 0.0.22

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.
Files changed (3) hide show
  1. package/README.md +5 -13
  2. package/README_ja.md +5 -13
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @riebeckite/plugin-taxonomy
2
2
 
3
+ <!-- Generated from docs/docs/plugins/taxonomy.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  Build-time tag and folder taxonomy for Riebeckite: listing data, per-term
4
6
  RSS / Atom / JSON feeds, related-tag navigation, and SEO metadata. No
5
7
  client-side JavaScript is required.
@@ -111,17 +113,7 @@ summary as `content_text` and do not duplicate rendered article HTML.
111
113
 
112
114
  When `related` is enabled, each tag term carries tags that co-occur on the same
113
115
  entries, ranked by shared-entry count then alphabetically, clamped to
114
- `relatedLimit`. Related navigation is rendered by `renderTaxonomyPage`:
115
-
116
- ```html
117
- <nav class="rr-taxonomy__related" aria-label="Related tags" data-rr-taxonomy-related>
118
- <ul>
119
- <li class="rr-taxonomy__related-item">
120
- <a class="rr-taxonomy__related-link" href="/tags/featured" data-rr-taxonomy-related-count="2">#featured</a>
121
- </li>
122
- </ul>
123
- </nav>
124
- ```
116
+ `relatedLimit`. Related navigation is rendered by `renderTaxonomyPage` on each taxonomy term page. Visit a tag page with co-occurring tags to see the live navigation.
125
117
 
126
118
  ## SEO
127
119
 
@@ -188,5 +180,5 @@ import "@riebeckite/plugin-taxonomy/style.css";
188
180
 
189
181
  ## See also
190
182
 
191
- - [Plugin guide](../../../docs/docs/reference/plugin-api.md)
192
- - [Content system](../../../docs/docs/framework/content-system.md)
183
+ - [Plugin guide](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.md)
184
+ - [Content system](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/framework/content-system.md)
package/README_ja.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @riebeckite/plugin-taxonomy
2
2
 
3
+ <!-- Generated from docs/docs/plugins/taxonomy.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  Riebeckite のビルド時タクソノミー(タグ・フォルダ)プラグインです。一覧用データ、
4
6
  語ごとの RSS / Atom / JSON フィード、関連タグナビゲーション、SEO メタデータを
5
7
  生成します。クライアント JavaScript は不要です。
@@ -111,17 +113,7 @@ GET /taxonomy/index.json
111
113
 
112
114
  `related` が有効なとき、各タグ語は同じエントリに共起するタグを保持します。共起
113
115
  エントリ数で降順、同数ならアルファベット順に並べ、`relatedLimit` で打ち切ります。
114
- ナビゲーションは `renderTaxonomyPage` が描画します。
115
-
116
- ```html
117
- <nav class="rr-taxonomy__related" aria-label="Related tags" data-rr-taxonomy-related>
118
- <ul>
119
- <li class="rr-taxonomy__related-item">
120
- <a class="rr-taxonomy__related-link" href="/tags/featured" data-rr-taxonomy-related-count="2">#featured</a>
121
- </li>
122
- </ul>
123
- </nav>
124
- ```
116
+ ナビゲーションは `renderTaxonomyPage` が各 taxonomy term ページで実際に描画します。共起するタグがあるタグページで確認できます。
125
117
 
126
118
  ## SEO
127
119
 
@@ -188,5 +180,5 @@ import "@riebeckite/plugin-taxonomy/style.css";
188
180
 
189
181
  ## 関連
190
182
 
191
- - [プラグインガイド](../../../docs/docs/reference/plugin-api.ja.md)
192
- - [コンテンツシステム](../../../docs/docs/framework/content-system.ja.md)
183
+ - [プラグインガイド](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
184
+ - [コンテンツシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/framework/content-system.ja.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-taxonomy",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
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.20"
18
+ "@riebeckite/core": "0.0.22"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsx": "^4.22.4"