Python: Add third-party licenses page to the docs

Fixes #6634
This commit is contained in:
Simon Hausmann 2025-03-29 17:30:40 +01:00 committed by Simon Hausmann
parent aca30901be
commit ed878f01ac
3 changed files with 90 additions and 0 deletions

View file

@ -4,6 +4,7 @@
import slint
import pdoc
import pathlib
import subprocess
doc = pdoc.doc.Module(slint)
@ -29,3 +30,7 @@ index = pdoc.render.html_index(all_modules)
search = pdoc.render.search_index(all_modules)
(output_directory / "search.js").write_bytes(search.encode())
subprocess.call(
"cargo about generate thirdparty.hbs -o docs/thirdparty.html", shell=True
)