Fix broken anchor in OGC API Processes Core documentation links - #799
Merged
Conversation
The OGC_API_PROCESSES_CORE_DOC_URI base had a stray slash after the hash (#/req_core_), producing anchor links like ...18-062r3.html#/req_core_process-execute-sync-many-json that do not resolve. All sibling rulesets use #req_..._ with no slash; this aligns processes-core with them. Fixes #783
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.
Summary
Fixes #783.
Documentation links in OGC API Processes errors contained a stray slash after the
#, which broke the anchor link. For example, the error for/req/core/process-execute-sync-many-jsonlinked to:The
#/does not resolve to the requirement anchor.Root cause
In
src/specs/ogc-api/rulesets/processes-core.ts, theOGC_API_PROCESSES_CORE_DOC_URIbase constant was...18-062r3.html#/req_core_— the only ruleset with a stray slash after the hash. All sibling rulesets (processes-json,processes-job-list,processes-ogc-process-description) correctly use#req_..._.Fix
Removed the slash so anchors now resolve correctly, e.g.
...18-062r3.html#req_core_process-execute-sync-many-json.Verified there are no other
html#/occurrences in the codebase.