|
|
@@ -291,9 +291,14 @@ curl https://sqlite.org/2022/sqlite-doc-3400000.zip | bsdtar --extract --file -
|
|
|
```
|
|
|
|
|
|
## Three.js
|
|
|
+Download the docs from https://github.com/mrdoob/three.js/tree/dev/files or run the following commands in your terminal:
|
|
|
+Make sure to set the version per the release tag (e.g. r160). Note that the r prefix is already included, only the version number is needed.
|
|
|
|
|
|
```sh
|
|
|
-git clone --depth 1 --branch r${VERSION} https://github.com/mrdoob/three.js.git
|
|
|
-mv three.js/docs/ docs/threejs~${VERSION}/
|
|
|
-rm -rf three.js/
|
|
|
+curl https://codeload.github.com/mrdoob/three.js/tar.gz/refs/tags/r${VERSION} > threejs.tar.gz
|
|
|
+tar -xzf threejs.tar.gz
|
|
|
+mkdir -p docs/threejs~${VERSION}
|
|
|
+mv three.js-r${VERSION}/docs/* docs/threejs~${VERSION}/
|
|
|
+rm -rf three.js-r${VERSION}/
|
|
|
+rm threejs.tar.gz
|
|
|
```
|