Skip to content

Commit 71729cf

Browse files
Updated instructions for downloading the documentation
1 parent e08baef commit 71729cf

File tree

2 files changed

+8
-59
lines changed

2 files changed

+8
-59
lines changed

assets/stylesheets/pages/_threejs.scss

Lines changed: 0 additions & 56 deletions
This file was deleted.

docs/file-scrapers.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,14 @@ curl https://sqlite.org/2022/sqlite-doc-3400000.zip | bsdtar --extract --file -
291291
```
292292

293293
## Three.js
294+
Download the docs from https://github.com/mrdoob/three.js/tree/dev/files or run the following commands in your terminal:
295+
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.
294296

295297
```sh
296-
git clone --depth 1 --branch r${VERSION} https://github.com/mrdoob/three.js.git
297-
mv three.js/docs/ docs/threejs~${VERSION}/
298-
rm -rf three.js/
298+
curl https://codeload.github.com/mrdoob/three.js/tar.gz/refs/tags/r${VERSION} > threejs.tar.gz
299+
tar -xzf threejs.tar.gz
300+
mkdir -p docs/threejs~${VERSION}
301+
mv three.js-r${VERSION}/docs/* docs/threejs~${VERSION}/
302+
rm -rf three.js-r${VERSION}/
303+
rm threejs.tar.gz
299304
```

0 commit comments

Comments
 (0)