Skip to content

feat(clickable_plantuml): idmap-backed link resolver with canonical source matching#322

Open
AAmbuj wants to merge 2 commits into
eclipse-score:mainfrom
AAmbuj:amsh_refactor_clickable_plantuml_idmap_tests
Open

feat(clickable_plantuml): idmap-backed link resolver with canonical source matching#322
AAmbuj wants to merge 2 commits into
eclipse-score:mainfrom
AAmbuj:amsh_refactor_clickable_plantuml_idmap_tests

Conversation

@AAmbuj

@AAmbuj AAmbuj commented Jul 7, 2026

Copy link
Copy Markdown
Contributor
  • replace linker JSON consumption with idmap-backed resolution in clickable_plantuml
  • resolve definers using canonical source-path keys with deterministic matching behavior
  • improve URL/link generation handling for injected PlantUML links
  • add comprehensive clickable_plantuml tests for indexing, definer resolution, tie handling, self-link skip, URL modes, and encoding behavior

AAmbuj added 2 commits July 7, 2026 15:37
- _load_idmap_files() indexes all .idmap.json sidecars at build-finished time
- _resolve_definer() uses FQN-first + proximity tiebreak to find the defining source
- _node_source_key() maps each plantuml node back to its idmap source key
- Removed: _load_link_mappings(), _collect_link_data() (linker-era code)
Covers: _load_idmap_files (index building, key conflicts), _node_source_key
(symlink resolution, suffix matching, tie-breaking), _resolve_definer
(FQN priority, alias fallback, self-link skip, warning on tie),
_build_target_url, _escape_plantuml_url, _inject_links, and
on_doctree_resolved end-to-end integration.
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