Repository navigation
docs: use kebab-case IDs for repeated LAN v4.11 subheadings - #221
Merged
Merged
Conversation
Replace basic-settings_N / dhcp-server_N with parent-prefixed IDs in the English and Japanese LAN v4.11 pages and refresh the ja translation cache record. The translation run blocked on these IDs instead of copying them into new localized pages.
Contributor
Codex reviewThe PR replaces six underscore-number heading IDs with parent-prefixed kebab-case IDs in the English and Japanese LAN v4.11 guides. The IDs are unique within each page and match across both languages, and the read-only review found no stale in-repository links or redirects to the old IDs and no other issues. Commit |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Manual translation run https://github.com/gl-inet/docs4.x/actions/runs/45537359420 got past the clean-tree issue fixed in #219, but Codex returned
blockedon a source issue:Fix
Rename the repeated subheading IDs to parent-prefixed kebab-case IDs in the English page and the existing Japanese page:
basic-settings_1/dhcp-server_1guest-network-basic-settings/guest-network-dhcp-serverbasic-settings_2/dhcp-server_2iot-network-basic-settings/iot-network-dhcp-serverbasic-settings_3/dhcp-server_3vlan-networks-basic-settings/vlan-networks-dhcp-serverNo in-repository links pointed to the old IDs. The ja record in
.translation-cache.jsonis refreshed withtranslation_delta.py mark.subnet.mduses the same old pattern but is an existing, unchanged page, so it is left as is.Verification
python scripts/anchors.py check: no errors forlan_4.11.md; the total stays at 63 (existing missing localized IDs the translation run is expected to fix).python scripts/i18n_check.py: remaininglan_4.11errors are only the missing de/es/fr/it/nl/pl/sv/uk pages the translation run will create.