Skip to content

Commit 2f0ad7c

Browse files
Add documentation and support for three.js
1 parent c14d91e commit 2f0ad7c

File tree

5 files changed

+551
-0
lines changed

5 files changed

+551
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,11 @@ it to `docs/sqlite`
289289
```sh
290290
curl https://sqlite.org/2022/sqlite-doc-3400000.zip | bsdtar --extract --file - --directory=docs/sqlite/ --strip-components=1
291291
```
292+
293+
## Three.js
294+
295+
```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/
299+
```

0 commit comments

Comments
 (0)