From 47d0f0badaee6e0257643b12dafc657570362484 Mon Sep 17 00:00:00 2001 From: irof Date: Sun, 8 Feb 2026 02:30:20 +0900 Subject: [PATCH] Add FQN ids to glossary terms --- jig-core/src/main/resources/templates/assets/glossary.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jig-core/src/main/resources/templates/assets/glossary.js b/jig-core/src/main/resources/templates/assets/glossary.js index d86800f61..7d55e3ff9 100644 --- a/jig-core/src/main/resources/templates/assets/glossary.js +++ b/jig-core/src/main/resources/templates/assets/glossary.js @@ -118,6 +118,10 @@ function renderGlossaryTerms(terms) { terms.forEach(term => { const article = document.createElement("article"); article.className = "term"; + if (term.fqn) { + // 他ドキュメントからのリンク用にFQNをIDとして設定する + article.id = term.fqn; + } const title = document.createElement("h2"); title.className = "term-title";