Skip to content

fix(l10n): make Japanese anchors Crowdin-safe#453

Merged
elibosley merged 3 commits intomainfrom
codex/fix-ja-crowdin-mdx-anchors
Apr 15, 2026
Merged

fix(l10n): make Japanese anchors Crowdin-safe#453
elibosley merged 3 commits intomainfrom
codex/fix-ja-crowdin-mdx-anchors

Conversation

@elibosley
Copy link
Copy Markdown
Member

@elibosley elibosley commented Apr 14, 2026

Summary

  • Replace JA custom heading IDs with Docusaurus-recommended MDX-safe heading comments, for example ### 見出し {/* #anchor */}.
  • Preserve the existing English anchor targets while avoiding Crowdin's stricter MDX parser failure.
  • Apply the rewrite across all JA translation files that used the Crowdin-hostile {#anchor} heading ID syntax, not only the seven files that failed today.

Root cause

Crowdin's translation import parser rejects changed JA MDX segments that end translated headings with classic Docusaurus custom heading IDs like {#anchor}. The CLI surfaced this as null, but the Crowdin import API reported errors such as:

MDX file is invalid in line 61, column 65. Message: Could not parse expression with acorn: Unexpected token

The reported lines were translated headings ending in {#...}. Docusaurus accepts that syntax through its Markdown plugin chain, but it is not valid plain MDX for Crowdin's import parser. Docusaurus documents the MDX-safe equivalent as ### Hello World {/* #my-explicit-id */}, so the JA files now use that syntax directly on the headings.

Verification

  • Checked all 48 touched JA files with @mdx-js/mdx; failures=0.
  • Confirmed there are no remaining JA <span id="..."></span> anchors from the temporary workaround.
  • Confirmed there are no remaining JA headings using the old Heading {#anchor} syntax.
  • Ran git diff --check successfully.
  • Direct Crowdin API import test for i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/customize-your-experience/plugins.mdx finished successfully: import ID d1e16d86-59d1-42d7-927f-c5cae77aa115.
  • Ran the JA Crowdin upload locally. The CLI exited 1 only because unrelated untracked local source docs/unraid-os/release-notes/7.2.5.md is not present in Crowdin yet; all 48 PR files had successful JA upload lines in /tmp/crowdin-ja-upload-after-comment-anchor-fix.log.

Full Docusaurus build was not run per repo validation guidance.

Summary by CodeRabbit

  • Documentation
    • Standardized heading anchor syntax across Japanese documentation pages to improve maintainability and consistency in translated content.
    • Established new guidelines for writing stable heading anchors in translated MDX documentation.
    • All existing in-page navigation links and cross-references remain functional.

Purpose:
- Preserve Japanese docs anchor targets while allowing Crowdin to import the translations.

Before:
- JA translated headings used Docusaurus-style inline custom IDs such as {#vm-snapshots}.
- Docusaurus accepted that syntax, but Crowdin's MDX import parser rejected changed files with Acorn parse errors and surfaced only null through the CLI.

Why that was a problem:
- Seven updated JA docs could not be uploaded to Crowdin.
- Leaving the same syntax in other JA files would make future retranslations fail whenever those segments changed.

What changed:
- Replaced inline heading IDs with standalone MDX-valid <span id=...></span> anchors before the translated headings.
- Applied the rewrite across all JA docs that used the Crowdin-hostile heading ID form.

How it works:
- The rendered pages still contain the stable English anchor IDs for inbound links.
- The heading text remains translated and no longer contains MDX expression-like {#...} syntax that Crowdin rejects.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

Multiple Japanese MDX documents have had their heading anchor syntax changed: explicit Markdown fragment IDs ({#anchor}) were removed and replaced primarily with MDX/JSX comment-style anchors ({/* #anchor */}) or equivalent inline span/id placements immediately adjacent to headings. Visible headings and content were not altered.

Changes

Cohort / File(s) Summary
API Docs
i18n/ja/docusaurus-plugin-content-docs/current/API/how-to-use-the-api.mdx, i18n/ja/docusaurus-plugin-content-docs/current/API/programmatic-api-key-management.mdx
Heading anchor IDs converted from {#...} to JSX comment-style {/* #... */} (anchor placement syntax changed; heading text unchanged).
Unraid Connect & Getting Started
i18n/ja/docusaurus-plugin-content-docs/current/unraid-connect/overview-and-setup.mdx, .../getting-started/explore-the-user-interface/tour-the-web-gui.mdx, .../set-up-unraid/complete-your-post-setup-essentials.mdx, .../set-up-unraid/configure-your-array.mdx, .../set-up-unraid/create-your-bootable-media.mdx, .../set-up-unraid/customize-unraid-settings.mdx, .../set-up-unraid/internal-boot-faq.mdx
Multiple section headings had {#...} replaced with {/* #... */} or equivalent inline span/id forms; no content changes.
Release Notes (6.12.x & 7.x series)
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.{0,4,6,8,9,10,11,12,13,14}.md, i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.{0,1,2}.md
Rollback/known-issues/upgrade section anchors moved from {#...} to {/* #... */} or span/id variants across many release-note files.
System Administration & Security
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/.../command-line-interface.mdx, .../maintain-and-update/changing-the-flash-device.mdx, .../secure-your-server/*.mdx
Security, terminal, flash-device and related headings updated to use {/* #... */} or span/id placement instead of {#...}; visible headings unchanged.
Troubleshooting & Diagnostics
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/troubleshooting/common-issues/data-recovery.mdx, .../diagnostics/capture-diagnostics-and-logs.mdx, .../faq.mdx, .../licensing-faq.mdx
FAQ, data-recovery, diagnostics and licensing headings converted from {#...} to comment/span-style anchors.
Virtual Machines, Plugins & Storage
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/create-virtual-machines/overview-and-system-prep.mdx, .../vm-setup.mdx, .../customize-your-experience/plugins.mdx, .../manage-storage/array/.../array-health-and-maintenance.mdx, .../manage-storage/array/overview.mdx, .../manage-storage/array/replacing-disks-in-array.mdx, .../manage-storage/cache-pools.mdx, .../manage-storage/file-systems.mdx, .../manage-storage/shares.mdx
VM, plugin and storage-related headings had inline {#...} anchors replaced with {/* #... */} or equivalent span/id constructs across many files.
Guidance / Agents.md
AGENTS.md
New documentation section added describing preferred MDX-safe comment anchor syntax ({/* #stable-anchor */}) and discouraging {#...} in translated MDX; guidance for stable heading anchors in localization. (new file content)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰
I hopped through MDX, tidy and spry—
Moved anchors from heads to comments nearby.
No text disturbed, just IDs that roam,
Now every link finds a cozy new home. 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: converting Japanese heading anchors to be compatible with Crowdin's parser by using the MDX-safe syntax.
Description check ✅ Passed The description is comprehensive and well-structured, covering the summary, root cause, verification steps, and commit messages. It provides clear context about why the changes were made and how they were validated.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-ja-crowdin-mdx-anchors

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 14, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
unraid-docs 368723d Commit Preview URL

Branch Preview URL
Apr 15 2026, 04:41 PM

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/tailscale.mdx (1)

47-47: ⚠️ Potential issue | 🟡 Minor

Fix optional step numbering format in setup list.

Line 47 currently starts with \+7.; this likely renders as plain text/bullet instead of ordered step 7.

Suggested fix
-   \+7.(任意)**Include Tailscale peers in /etc/hosts** を有効にし([ホスト名解決の強化](`#enhanced-hostname-resolution`) を参照)、Tailscale デバイスをサーバーのホスト名解決に自動的に追加して、%%Tailnet|tailnet%% 上の他のデバイスへアクセスしやすくします。
+7. (任意)**Include Tailscale peers in /etc/hosts** を有効にし([ホスト名解決の強化](`#enhanced-hostname-resolution`) を参照)、Tailscale デバイスをサーバーのホスト名解決に自動的に追加して、%%Tailnet|tailnet%% 上の他のデバイスへアクセスしやすくします。
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/tailscale.mdx`
at line 47, The ordered list item is prefixed with a stray escape sequence
"\+7." so it will not render as step 7; update the line that contains
"\+7.(任意)**Include Tailscale peers in /etc/hosts**…" to a proper ordered-list
marker (e.g., "7.(任意)**Include Tailscale peers in /etc/hosts**…") by removing
the leading backslash and plus so the markdown renders as step 7; verify the
surrounding list items remain numerically consistent.
🧹 Nitpick comments (3)
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.0.md (1)

13-14: Normalize heading spacing after anchor insertion.

These headings are immediately followed by content. Add one blank line below each heading to keep markdownlint behavior consistent.

Suggested diff
 ### 既知の問題
+
 #### プラグイン
@@
 ### ロールバック
+
 7.1.4 より前にロールバックする場合は、[7.1.4 リリースノート](7.1.4.md#rolling-back)も参照してください。
@@
 #### Ext2/3/4、NTFS、exFAT のサポート
+
 Unraid は、XFS、BTRFS、ZFS に加えて、Ext2/3/4、NTFS、および exFAT のドライブ形式をサポートするようになりました。

Also applies to: 25-26, 50-51

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.0.md`
around lines 13 - 14, The headings "### 既知の問題" and "#### プラグイン" (and the other
heading pairs at the same spots referenced) are immediately followed by content;
add a single blank line after each of these markdown headings so there is an
empty line between the heading and the subsequent paragraph/content (i.e.,
insert one newline after the "### 既知の問題" and after each "#### プラグイン" occurrence
to normalize heading spacing and satisfy markdownlint).
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.14.md (1)

28-29: Add one blank line below the heading to satisfy MD022.

Line 28 is immediately followed by paragraph text. A single empty line keeps markdownlint clean.

Suggested diff
 ### ロールバック
+
 6.12.13 より前のバージョンにロールバックする場合は、[6.12.13 のリリースノート](6.12.13.md#rolling-back)も参照してください。
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.14.md`
around lines 28 - 29, The "### ロールバック" heading is immediately followed by
paragraph text which triggers MD022; insert a single blank line after the "###
ロールバック" heading so there is one empty line between the heading and the following
paragraph (edit the block containing the "### ロールバック" heading in 6.12.14.md to
add that blank line).
i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.0.md (1)

9-10: Add a blank line after these headings to satisfy MD022.

Line 9 and Line 20 are followed immediately by paragraph text. Insert one empty line below each heading to clear the markdownlint warning cleanly.

Suggested diff
 ### 既知の問題
+
 このリリースには潜在的なデータ損失の問題があり、最近の "mover empty disk" 機能が共有のスプリットレベルを正しく処理しません。7.1.2 で解決済みです。
@@
 ### ロールバック
+
 リリース間でのパッチ配布方法を改善しているため、このリリースでは単体の Patch Plugin はアンインストールされます。以前のリリースにロールバックする場合は、再インストールすることをお勧めします。詳細は追ってお知らせします。

Also applies to: 20-21

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.0.md`
around lines 9 - 10, Add a blank line immediately after the heading "### 既知の問題"
(and the other similar heading that precedes a paragraph) so the heading is
separated from the following paragraph to satisfy markdownlint rule MD022;
locate the headings in the release-notes markdown (e.g., "### 既知の問題") and insert
a single empty line below each heading before the paragraph text.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.12.md`:
- Around line 45-46: The markdown heading "### ロールバック" is missing a blank line
after it (MD022); update the section by inserting one empty newline directly
after the "### ロールバック" heading so the heading is separated from the following
paragraph ("6.12.11 より前のバージョンへ..."), ensuring the file's heading/paragraph
spacing is valid for the linter.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.8.md`:
- Around line 5-6: The markdown headings "## アップグレードに関する注意事項" and the heading at
lines around where the Japanese text starting on line 52 are immediately
followed by paragraph text and violate MD022; fix by inserting a single blank
line directly after each affected heading so there is an empty line between the
heading and the following paragraph (update the two headings: "##
アップグレードに関する注意事項" and the second heading near line 52).

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.9.md`:
- Around line 45-46: Add a blank line immediately after the heading "### ロールバック"
to satisfy markdownlint rule MD022; in the file's markdown where the heading
"### ロールバック" is followed directly by paragraph text, insert one empty line
between the heading and the paragraph so the heading is separated from the
content.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.4.md`:
- Around line 9-10: The markdown headings are immediately followed by text which
violates markdownlint MD022; add a single blank line after the heading "###
既知の問題" and likewise after the heading before line 14 so that the link line
"[7.1.0 リリースノート](7.1.0.md#known-issues)" and the paragraph on line 14 are
separated from their preceding headings by one blank line, ensuring
blanks-around-headings is satisfied.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.2.md`:
- Around line 13-19: The headings "### 既知の問題" and "### ロールバック" (and the inline
span id "rolling-back") currently lack the required blank line below them,
triggering markdownlint MD022; update the file so there is a single blank line
immediately after each of these headings (and after the <span
id="rolling-back"></span> if it sits on its own line) to satisfy MD022 while
leaving the rest of the content unchanged.

---

Outside diff comments:
In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/tailscale.mdx`:
- Line 47: The ordered list item is prefixed with a stray escape sequence "\+7."
so it will not render as step 7; update the line that contains
"\+7.(任意)**Include Tailscale peers in /etc/hosts**…" to a proper ordered-list
marker (e.g., "7.(任意)**Include Tailscale peers in /etc/hosts**…") by removing
the leading backslash and plus so the markdown renders as step 7; verify the
surrounding list items remain numerically consistent.

---

Nitpick comments:
In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.14.md`:
- Around line 28-29: The "### ロールバック" heading is immediately followed by
paragraph text which triggers MD022; insert a single blank line after the "###
ロールバック" heading so there is one empty line between the heading and the following
paragraph (edit the block containing the "### ロールバック" heading in 6.12.14.md to
add that blank line).

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.0.md`:
- Around line 9-10: Add a blank line immediately after the heading "### 既知の問題"
(and the other similar heading that precedes a paragraph) so the heading is
separated from the following paragraph to satisfy markdownlint rule MD022;
locate the headings in the release-notes markdown (e.g., "### 既知の問題") and insert
a single empty line below each heading before the paragraph text.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.0.md`:
- Around line 13-14: The headings "### 既知の問題" and "#### プラグイン" (and the other
heading pairs at the same spots referenced) are immediately followed by content;
add a single blank line after each of these markdown headings so there is an
empty line between the heading and the subsequent paragraph/content (i.e.,
insert one newline after the "### 既知の問題" and after each "#### プラグイン" occurrence
to normalize heading spacing and satisfy markdownlint).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6456a859-ea3c-4d7a-a7c1-6b110681fa3f

📥 Commits

Reviewing files that changed from the base of the PR and between fdccaf2 and 09c12fc.

📒 Files selected for processing (48)
  • i18n/ja/docusaurus-plugin-content-docs/current/API/how-to-use-the-api.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/API/programmatic-api-key-management.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-connect/overview-and-setup.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/explore-the-user-interface/tour-the-web-gui.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/set-up-unraid/complete-your-post-setup-essentials.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/set-up-unraid/configure-your-array.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/set-up-unraid/create-your-bootable-media.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/set-up-unraid/customize-unraid-settings.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/getting-started/set-up-unraid/internal-boot-faq.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.0.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.10.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.11.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.12.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.13.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.14.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.4.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.6.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.8.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.9.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.0.0.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.0.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.4.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.0.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.1.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.2.md
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/advanced-tools/command-line-interface.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/maintain-and-update/changing-the-flash-device.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/secure-your-boot-drive.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/secure-your-outgoing-comms.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/securing-your-connection.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/securing-your-data.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/security-fundamentals.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/tailscale.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/user-management.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/system-administration/secure-your-server/wireguard.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/troubleshooting/common-issues/data-recovery.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/troubleshooting/diagnostics/capture-diagnostics-and-logs.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/troubleshooting/faq.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/troubleshooting/licensing-faq.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/create-virtual-machines/overview-and-system-prep.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/create-virtual-machines/vm-setup.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/customize-your-experience/plugins.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/array/array-health-and-maintenance.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/array/overview.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/array/replacing-disks-in-array.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/cache-pools.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/file-systems.mdx
  • i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/using-unraid-to/manage-storage/shares.mdx

Comment on lines 45 to 46
### ロールバック
6.12.11 より前のバージョンへロールバックする場合は、[6.12.11 のリリースノート](6.12.11.md#rolling-back)も参照してください。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a blank line after the heading to satisfy MD022.

Line 45 (### ロールバック) should be followed by a blank line before body text.

Suggested fix
 ### ロールバック
+
 6.12.11 より前のバージョンへロールバックする場合は、[6.12.11 のリリースノート](6.12.11.md#rolling-back)も参照してください。
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### ロールバック
6.12.11 より前のバージョンへロールバックする場合は、[6.12.11 のリリースノート](6.12.11.md#rolling-back)も参照してください。
### ロールバック
6.12.11 より前のバージョンへロールバックする場合は、[6.12.11 のリリースノート](6.12.11.md#rolling-back)も参照してください。
🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 46-46: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.12.md`
around lines 45 - 46, The markdown heading "### ロールバック" is missing a blank line
after it (MD022); update the section by inserting one empty newline directly
after the "### ロールバック" heading so the heading is separated from the following
paragraph ("6.12.11 より前のバージョンへ..."), ensuring the file's heading/paragraph
spacing is valid for the linter.

Comment on lines 5 to 6
## アップグレードに関する注意事項
このリリースには、非常に重要な修正が 2 つ含まれています。まず、最近の
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add blank lines below headings to satisfy markdownlint (MD022).

Line 5 and Line 52 headings are immediately followed by paragraph text.

✅ Proposed lint fix
 ## アップグレードに関する注意事項
+
 このリリースには、非常に重要な修正が 2 つ含まれています。まず、最近の

 ...

 ### ロールバック
+
 以前のリリースにロールバックすると、Docker のセキュリティ問題および [Upgrade notes](`#upgrade-notes`) に記載されているデータ損失の可能性があるシナリオに対してシステムが脆弱になりますのでご注意ください。

Also applies to: 52-53

🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 5-5: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.8.md`
around lines 5 - 6, The markdown headings "## アップグレードに関する注意事項" and the heading
at lines around where the Japanese text starting on line 52 are immediately
followed by paragraph text and violate MD022; fix by inserting a single blank
line directly after each affected heading so there is an empty line between the
heading and the following paragraph (update the two headings: "##
アップグレードに関する注意事項" and the second heading near line 52).

Comment on lines 45 to 46
### ロールバック
「Docker Patch 6.12.8」の機能は現在、Unraid に組み込まれています。6.12.8 にロールバックする場合は、そのプラグインを再インストールするとよいでしょう。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a blank line after the rollback heading to satisfy markdownlint.

MD022 expects a blank line below the heading before paragraph content.

Suggested fix
 ### ロールバック
+
 「Docker Patch 6.12.8」の機能は現在、Unraid に組み込まれています。6.12.8 にロールバックする場合は、そのプラグインを再インストールするとよいでしょう。
🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 46-46: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/6.12.9.md`
around lines 45 - 46, Add a blank line immediately after the heading "###
ロールバック" to satisfy markdownlint rule MD022; in the file's markdown where the
heading "### ロールバック" is followed directly by paragraph text, insert one empty
line between the heading and the paragraph so the heading is separated from the
content.

Comment on lines 9 to 10
### 既知の問題
[7.1.0 リリースノート](7.1.0.md#known-issues) もご覧ください。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add blank lines after headings to satisfy markdownlint MD022.

Line 9 and Line 14 are followed immediately by paragraph lines, which triggers blanks-around-headings.

💡 Suggested fix
 <span id="known-issues"></span>
 
 ### 既知の問題
+
 [7.1.0 リリースノート](7.1.0.md#known-issues) もご覧ください。
 
 <span id="rolling-back"></span>
 
 ### ロールバック
+
 [7.1.0 リリースノート](7.1.0.md#rolling-back) をご覧ください。

Also applies to: 14-15

🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 9-9: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.1.4.md`
around lines 9 - 10, The markdown headings are immediately followed by text
which violates markdownlint MD022; add a single blank line after the heading
"### 既知の問題" and likewise after the heading before line 14 so that the link line
"[7.1.0 リリースノート](7.1.0.md#known-issues)" and the paragraph on line 14 are
separated from their preceding headings by one blank line, ensuring
blanks-around-headings is satisfied.

Comment on lines 13 to 19
### 既知の問題
その他の既知の問題については、[7.2.1 リリースノート](7.2.1.md#known-issues) を参照してください。

### ロールバック {#rolling-back}
<span id="rolling-back"></span>

### ロールバック
7.2.1 より前にロールバックする場合は、[7.2.1 リリースノート](7.2.1.md#rolling-back) も参照してください。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add blank lines below the updated headings to satisfy MD022.

The touched headings currently violate markdownlint MD022 (no blank line below heading).

✏️ Suggested fix
 ### 既知の問題
+
 その他の既知の問題については、[7.2.1 リリースノート](7.2.1.md#known-issues) を参照してください。
@@
 ### ロールバック
+
 7.2.1 より前にロールバックする場合は、[7.2.1 リリースノート](7.2.1.md#rolling-back) も参照してください。
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### 既知の問題
その他の既知の問題については、[7.2.1 リリースノート](7.2.1.md#known-issues) を参照してください。
### ロールバック {#rolling-back}
<span id="rolling-back"></span>
### ロールバック
7.2.1 より前にロールバックする場合は、[7.2.1 リリースノート](7.2.1.md#rolling-back) も参照してください。
### 既知の問題
その他の既知の問題については、[7.2.1 リリースノート](7.2.1.md#known-issues) を参照してください。
<span id="rolling-back"></span>
### ロールバック
7.2.1 より前にロールバックする場合は、[7.2.1 リリースノート](7.2.1.md#rolling-back) も参照してください。
🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 13-13: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


[warning] 18-18: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@i18n/ja/docusaurus-plugin-content-docs/current/unraid-os/release-notes/7.2.2.md`
around lines 13 - 19, The headings "### 既知の問題" and "### ロールバック" (and the inline
span id "rolling-back") currently lack the required blank line below them,
triggering markdownlint MD022; update the file so there is a single blank line
immediately after each of these headings (and after the <span
id="rolling-back"></span> if it sits on its own line) to satisfy MD022 while
leaving the rest of the content unchanged.

- Purpose: align Japanese translated heading anchors with the Docusaurus-recommended MDX-safe custom ID syntax.

- Before: the prior fix used standalone span anchors before translated headings to preserve English anchor targets.

- Problem: standalone spans preserved links but separated the anchor from the heading and did not match Docusaurus documentation guidance.

- New behavior: Japanese headings now keep stable English anchor IDs directly on the heading via MDX comments, such as '### Heading {/* #anchor */}'.

- Implementation: mechanically converted 132 span anchors across 48 Japanese docs files to heading-level MDX comments without changing the visible translated text.
- Purpose: capture the Crowdin-safe anchor pattern for future translated MDX edits.

- Before: repo guidance covered validation only, so future agents could repeat the rejected classic heading ID syntax or the temporary span workaround.

- Problem: Crowdin's MDX import parser can reject translated headings ending with classic '{#anchor}' IDs even when Docusaurus accepts them.

- New behavior: AGENTS.md now recommends Docusaurus's MDX-safe heading comment syntax and discourages standalone span anchors unless specifically required.

- Implementation: add a Markdown and Localization section with the preferred '### Heading {/* #stable-anchor */}' pattern.
@elibosley elibosley merged commit 0cd6564 into main Apr 15, 2026
2 of 4 checks passed
@elibosley elibosley deleted the codex/fix-ja-crowdin-mdx-anchors branch April 15, 2026 16:41
This was referenced Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant