History

Updated instructions for downloading the documentation

Chaitanya Rahalkar committed 1 year ago

Commit 71729cf1 parent e08baef2 files · +8 −59Browse files

Unified · Split

2 files
  1. assets/stylesheets/pages/_threejs.scss +0 −56
  2. docs/file-scrapers.md +8 −3
assets/stylesheets/pages/_threejs.scss+0−56
@@ -1,56 +0,0 @@
1._threejs {
2 // Code blocks
3 pre, code {
4 background-color: #f5f5f5;
5 border-radius: 3px;
6 padding: 0.2em 0.4em;
7 }
8
9 pre {
10 padding: 1em;
11 margin: 1em 0;
12 overflow: auto;
13
14 code {
15 background: none;
16 padding: 0;
17 }
18 }
19
20 // Links
21 a {
22 color: #049EF4;
23 text-decoration: none;
24
25 &:hover {
26 text-decoration: underline;
27 }
28 }
29
30 // Headings
31 h2 {
32 margin-top: 2em;
33 padding-bottom: 0.3em;
34 border-bottom: 1px solid #eaecef;
35 }
36
37 h3 {
38 margin-top: 1.5em;
39 }
40
41 // Tables
42 table {
43 border-collapse: collapse;
44 margin: 1em 0;
45 width: 100%;
46 }
47
48 th, td {
49 border: 1px solid #dfe2e5;
50 padding: 6px 13px;
51 }
52
53 tr:nth-child(2n) {
54 background-color: #f6f8fa;
55 }
56}
docs/file-scrapers.md+8−3
@@ -291,9 +291,14 @@ curl https://sqlite.org/2022/sqlite-doc-3400000.zip | bsdtar --extract --file - · 290 unmodified lines
291```291```
292 292
293## Three.js293## Three.js
294Download the docs from https://github.com/mrdoob/three.js/tree/dev/files or run the following commands in your terminal:
295Make 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.
294 296
295```sh297```sh
296git clone --depth 1 --branch r${VERSION} https://github.com/mrdoob/three.js.git298curl https://codeload.github.com/mrdoob/three.js/tar.gz/refs/tags/r${VERSION} > threejs.tar.gz
297mv three.js/docs/ docs/threejs~${VERSION}/299tar -xzf threejs.tar.gz
298rm -rf three.js/300mkdir -p docs/threejs~${VERSION}
301mv three.js-r${VERSION}/docs/* docs/threejs~${VERSION}/
302rm -rf three.js-r${VERSION}/
303rm threejs.tar.gz
299```304```

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t