feat: replace external sample documents with bundled demo content (#956)

Replaces the URL-based PDF downloads in tg-load-sample-documents with
seven curated, locally bundled documents covering diverse topics (recipes,
Belgian beer, trade routes, corporate scandals, pets, fortifications,
Bronze Age collapse). Documents are packaged as data files within
trustgraph-cli and loaded from metadata.json, removing the dependency
on external URLs and the doc-cache mechanism.
This commit is contained in:
cybermaggedon 2026-05-28 11:03:00 +01:00 committed by Cyber MacGeddon
parent eb24d0c60e
commit a4fa9f617f
19 changed files with 1540 additions and 676 deletions

View file

@ -121,6 +121,9 @@ tg-show-extraction-provenance = "trustgraph.cli.show_extraction_provenance:main"
tg-list-explain-traces = "trustgraph.cli.list_explain_traces:main"
tg-show-explain-trace = "trustgraph.cli.show_explain_trace:main"
[tool.setuptools.package-data]
"trustgraph.cli.sample_documents" = ["*.md", "*.pdf", "*.json"]
[tool.setuptools.packages.find]
include = ["trustgraph*"]