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 AAmbuj self-assigned this Jul 7, 2026
@AAmbuj AAmbuj marked this pull request as ready for review July 7, 2026 10:26
@AAmbuj AAmbuj force-pushed the amsh_refactor_clickable_plantuml_idmap_tests branch from 8214bde to 226e736 Compare July 15, 2026 05:38
AAmbuj added 2 commits July 15, 2026 13:59
- _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.
@AAmbuj AAmbuj force-pushed the amsh_refactor_clickable_plantuml_idmap_tests branch from 226e736 to 769aeb5 Compare July 15, 2026 08:29
@AAmbuj AAmbuj assigned hoe-jo and unassigned AAmbuj Jul 15, 2026
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.

2 participants