You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2556535
Browse filesBrowse the repository at this point in the historyBrowse files
Package the documentations as ".tar.zst" instead of ".tar.gz", which cuts
their size by about a third at the same time as it speeds up extraction:
doc tar gzip zstd -19
javascript 28.8 MB 3.38 MB 1.87 MB (-45%)
python~3.14 42.9 MB 7.92 MB 5.34 MB (-33%)
dom 131.5 MB 21.13 MB 14.42 MB (-32%)
Keep downloading the ".tar.gz" of the documentations that have not been
re-packaged since, as the bundle zone holds both formats from now on.
Copy file name to clipboardExpand all lines: docs/maintainers.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ In addition to the [publicly-documented commands](https://github.com/freeCodeCam
52
52
53
53
Generates packages for one or more documentations. Those packages are intended to be uploaded to DevDocs's S3 bundle zone by maintainers via the `thor docs:upload` command, and downloaded by users via the `thor docs:download` command.
54
54
55
+
Packages are `.tar.zst` files. Documentations packaged before the switch to zstd are still published as `.tar.gz`, which `thor docs:download` falls back to; they turn into `.tar.zst` as they are re-packaged and re-uploaded. Their `.tar.gz` must be kept on the bundle zone for as long as DevDocs installations predating the switch are to be supported.
56
+
55
57
Versions can be specified as such: `thor docs:package rails@5.2 node@10\ LTS`.
56
58
57
59
Packages can also be automatically generated during the scraping process by passing the `--package` option to `thor docs:generate`.
0 commit comments