aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-face-docs-dump.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 03:14:51 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 03:14:51 -0400
commit5bea2f0ac29fcc4f65e476158b6b06823ecd6f5a (patch)
tree5327a9a1afa3f1f25315d70b775009461ef78663 /scripts/theme-studio/test-face-docs-dump.el
parent0b0a8e577dd5c964753f90df96d726f3bf01f830 (diff)
downloaddotemacs-5bea2f0ac29fcc4f65e476158b6b06823ecd6f5a.tar.gz
dotemacs-5bea2f0ac29fcc4f65e476158b6b06823ecd6f5a.zip
feat(theme-studio): show face docstrings in element hovers
Each table row's category cell now shows the face's Emacs docstring on hover, on top of whatever the cell showed before. The package cell keeps the face name underneath. The syntax and UI cells had no prior tooltip, so they show just the docstring. The label-span hints are left alone. I added face-docs-dump.el, which emits face-docs.json from a live Emacs: a face-name to first-doc-line map for the UI and package tables, and a category to doc map for the syntax table. The category to font-lock-face mapping is read from build-theme.el's own map, so it isn't copied a third time. generate.py inlines both maps. A pure composeHoverTitle helper composes the tooltip, covered by Node, Python, and a new browser gate.
Diffstat (limited to 'scripts/theme-studio/test-face-docs-dump.el')
0 files changed, 0 insertions, 0 deletions