Skip to content

Fix broken anchor in OGC API Processes Core documentation links - #799

Merged
joostfarla merged 1 commit into
mainfrom
fix/783-processes-core-doc-anchor
Jun 25, 2026
Merged

Fix broken anchor in OGC API Processes Core documentation links#799
joostfarla merged 1 commit into
mainfrom
fix/783-processes-core-doc-anchor

Conversation

@joostfarla

Copy link
Copy Markdown
Member

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-json linked to:

https://docs.ogc.org/DRAFTS/18-062r3.html#/req_core_process-execute-sync-many-json

The #/ does not resolve to the requirement anchor.

Root cause

In src/specs/ogc-api/rulesets/processes-core.ts, the OGC_API_PROCESSES_CORE_DOC_URI base 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.

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
@joostfarla
joostfarla merged commit 1ce8900 into main Jun 25, 2026
6 checks passed
@joostfarla
joostfarla deleted the fix/783-processes-core-doc-anchor branch June 25, 2026 11:50
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.

documentation links in errors contain a slash that breaks the anchorlink

1 participant