Skip to content

Commit eade33f

Browse files
committed
meson: omit Sphinx doctrees from dist tarball
They're only needed when building the documentation. Saves 1.9 MiB uncompressed, 0.2 MiB compressed.
1 parent 5659c44 commit eade33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/dist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
# build docs and add them to the tarball
1515
subprocess.run(['meson', 'compile', 'html'], check=True)
1616
shutil.copytree('html', base / 'doc/html', symlinks=True)
17+
shutil.rmtree(base / 'doc/html/.doctrees')

0 commit comments

Comments
 (0)