Skip to content

refactor: remove dead glossary.json sync loading and unused fetch paths - #26

Merged
tsironis merged 1 commit into
mainfrom
refactor/remove-glossary-json-sync-loading
May 20, 2026
Merged

refactor: remove dead glossary.json sync loading and unused fetch paths#26
tsironis merged 1 commit into
mainfrom
refactor/remove-glossary-json-sync-loading

Conversation

@tsironis

Copy link
Copy Markdown
Collaborator

Summary

  • Remove loadGlossaryJsonSync from server.ts — glossary.json is now written exclusively to doc_build/static/ by afterBuild, making the synchronous source-tree loader dead code
  • Remove unused /docs/glossary.json and /api/glossary.json fallback fetch paths from runtime components
  • Update tests to reflect the simplified fetch path list (2 paths instead of 3)

Test plan

  • All 297 unit tests pass
  • Lint (biome) passes

glossary.json is now written exclusively to doc_build/static/ by
afterBuild, so the synchronous source-tree loader (loadGlossaryJsonSync)
and the extra fallback fetch paths (/docs/, /api/) are dead code.
@tsironis
tsironis merged commit 89f255d into main May 20, 2026
15 checks passed
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