@riebeckite/plugin-permalink 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.
Files changed (2) hide show
  1. package/README_ja.md +5 -5
  2. package/package.json +3 -3
package/README_ja.md CHANGED
@@ -92,9 +92,9 @@ ContentPublicLocation
92
92
 
93
93
  Core は返された `permalink` を canonical URL として扱います。
94
94
 
95
- その URL は、Wikilink、Backlinks、Search、Content Graph、SEO canonical、Sitemap、RSS / Atom / JSON Feed などから共通して参照されます。
95
+ その URL は、Wikilink、Backlinks、Search、Content Graph などから共通して参照されます。SEO canonical、Sitemap、RSS / Atom / JSON Feed も同じ URL を使います。
96
96
 
97
- Permalink Plugin を使用しない場合も、Core の resolver `resolveDefaultContentLocation` が `index` を `/`、それ以外を `/{slug}` に解決します。これはフォールバックではなく、Core の標準方針です。
97
+ Permalink Plugin を使用しない場合も、Core の resolver `resolveDefaultContentLocation` が URL を解決します。`index` は `/`、それ以外は `/{slug}` です。これはフォールバックではなく、Core の標準方針です。
98
98
 
99
99
  ---
100
100
 
@@ -223,8 +223,8 @@ permalink({
223
223
  | `override.frontmatter` | `string` | `"permalink"` | URL を直接指定する frontmatter フィールド |
224
224
  | `redirects.frontmatter` | `string` | `"redirect_from"` | 旧 URL を指定する frontmatter フィールド |
225
225
  | `redirects.status` | `301 \| 302 \| 307 \| 308` | `308` | リダイレクトの HTTP ステータス |
226
- | `resolveId` | `(content) => string` | — | ID の解決を完全にカスタマイズする |
227
- | `resolvePath` | `({ content, id }) => string` | — | 公開パスの生成を完全にカスタマイズする |
226
+ | `resolveId` | `(content) => string` | なし | ID の解決を完全にカスタマイズする |
227
+ | `resolvePath` | `({ content, id }) => string` | なし | 公開パスの生成を完全にカスタマイズする |
228
228
 
229
229
  ---
230
230
 
@@ -343,7 +343,7 @@ path-derived hash
343
343
  | `derived` | path hash から導出 |
344
344
  | `custom` | `resolveId` から取得 |
345
345
 
346
- 手動の `permalink` override は URL を変更しますが、同一性は消しません。frontmatter の ID があれば引き続き記録され(`metadata.idSource` は `frontmatter`)、明示的な ID がない場合のみメタデータは付与されません。override から暗黙の `/{id}` URL を生成することはありません。
346
+ 手動の `permalink` override は URL を変更しますが、同一性は消しません。frontmatter の ID があれば引き続き記録されます。明示的な ID がない場合のみメタデータは付与されません。override から暗黙の `/{id}` URL を生成することはありません。
347
347
 
348
348
  ---
349
349
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-permalink",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "yaml": "^2.9.0",
18
- "@riebeckite/core": "0.0.27"
18
+ "@riebeckite/core": "0.0.28"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsx": "^4.22.4",
22
- "@riebeckite/test": "0.0.27"
22
+ "@riebeckite/test": "0.0.28"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"