Compare commits

..
2 Commits
Author SHA1 Message Date
Laurens Valk 5d6ee68638 v4.0.0b11 2026-06-01 16:26:28 +02:00
Laurens Valk acf3b1be65 conf: Build a json symbol index on build.
Ship it with the docs so we can parse it in Pybricks for namespace based lookup.
2026-06-01 16:26:28 +02:00
+1 -1
View File
@@ -384,7 +384,7 @@ def on_build_finished(app: Sphinx, exception):
for name, (project, version, url, display) in entries.items():
index[name] = url
out_path = os.path.join(app.outdir, "namespace_index.json")
out_path = os.path.join(app.outdir, "index.json")
with open(out_path, "w") as f:
json.dump(index, f, indent=2, sort_keys=True)