[PR #2224] [MERGED] docs: preserve the native guide title anchor #5095

Closed
opened 2026-10-31 01:03:52 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/2224
Author: @N0zoM1z0
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @N0zoM1z0

Base: main ← Head: docs/native-guide-anchor-followup-2207


📝 Commits (1)

  • 34d87c5 docs: preserve the native guide title anchor

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 docs/native-investigation.md (+2 -0)

📄 Description

Summary

Follow up on #2207 and refs #2156. Preserve the native guide's former page-title fragment with an explicit HTML anchor.

Problem and expected behavior

Renaming the H1 from “Native UI and dispatch investigation” to “Native binary investigation” removed #native-ui-and-dispatch-investigation. The generated page retained the new fragment but could no longer resolve the former one. Existing links should keep working while the current title remains available.

Change and scope

Add one empty block element carrying the old ID before the current H1. This is a two-line change to docs/native-investigation.md; it adds no visible text. Both IDs occur once and have the same position in the browser.

Contract and boundary impact

  • Semantic owner: the authored native guide and its public fragment identifiers.
  • CLI/MCP, providers/platforms, Evidence/provenance, execution/cleanup: no changes.
  • Generated metadata, package, or installation impact: none.

Evidence and validation

  • Built-page inspection reproduced the missing former ID before the fix.
  • npm run docs:build — passed, including dead-link validation.
  • npm run docs:check -- --concurrency=2 — passed.
  • Real Chrome 153 navigation to both /rea/native-investigation.html#native-ui-and-dispatch-investigation and #native-binary-investigation — passed after hydration; each ID occurs once, both elements have identical positions, and no page JavaScript errors occurred.
  • Exact-path formatting, git diff --check, and 231 local links — passed.

No tests are added or weakened. The browser harness initially included VitePress's hidden header-link character in its title assertion; it now reads the title text node. That harness correction is a local verification artifact and does not change REA or its page output.

Compatibility and review

Restore the former fragment alongside the current fragment. Root READMEs, translations, and website/ are unchanged. The complete original #2207 PR CI and the subsequent e4d3e139 main CI both passed. This PR will use its own head checks before merge.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/2224 **Author:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Created:** 10/12/2026 **Status:** ✅ Merged **Merged:** 10/12/2026 **Merged by:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Base:** `main` ← **Head:** `docs/native-guide-anchor-followup-2207` --- ### 📝 Commits (1) - [`34d87c5`](https://github.com/morluto/rea/commit/34d87c5bdd265bbc1527c8efbc1faeef716a3660) docs: preserve the native guide title anchor ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/native-investigation.md` (+2 -0) </details> ### 📄 Description ## Summary Follow up on #2207 and refs #2156. Preserve the native guide's former page-title fragment with an explicit HTML anchor. ## Problem and expected behavior Renaming the H1 from “Native UI and dispatch investigation” to “Native binary investigation” removed `#native-ui-and-dispatch-investigation`. The generated page retained the new fragment but could no longer resolve the former one. Existing links should keep working while the current title remains available. ## Change and scope Add one empty block element carrying the old ID before the current H1. This is a two-line change to `docs/native-investigation.md`; it adds no visible text. Both IDs occur once and have the same position in the browser. ## Contract and boundary impact - Semantic owner: the authored native guide and its public fragment identifiers. - CLI/MCP, providers/platforms, Evidence/provenance, execution/cleanup: no changes. - Generated metadata, package, or installation impact: none. ## Evidence and validation - Built-page inspection reproduced the missing former ID before the fix. - `npm run docs:build` — passed, including dead-link validation. - `npm run docs:check -- --concurrency=2` — passed. - Real Chrome 153 navigation to both `/rea/native-investigation.html#native-ui-and-dispatch-investigation` and `#native-binary-investigation` — passed after hydration; each ID occurs once, both elements have identical positions, and no page JavaScript errors occurred. - Exact-path formatting, `git diff --check`, and 231 local links — passed. No tests are added or weakened. The browser harness initially included VitePress's hidden header-link character in its title assertion; it now reads the title text node. That harness correction is a local verification artifact and does not change REA or its page output. ## Compatibility and review Restore the former fragment alongside the current fragment. Root READMEs, translations, and `website/` are unchanged. The complete original #2207 PR CI and the subsequent `e4d3e139` main CI both passed. This PR will use its own head checks before merge. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 01:03:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#5095
No description provided.