Skip to content

Commit 2368810

Browse files
committed
file-scrapers: update opengl
1 parent dd553c4 commit 2368810

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/file-scrapers.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -161,17 +161,13 @@ curl https://v2.ocaml.org/releases/$VERSION/ocaml-$VERSION-refman-html.tar.gz |
161161
tar xz --transform 's/htmlman/ocaml/' --directory docs/
162162
```
163163

164-
## Opengl
165-
166-
Clone https://github.com/KhronosGroup/OpenGL-Refpages.git
164+
## OpenGL
167165

168166
```sh
169-
DEVDOCS_ROOT=/path/to/devdocs
167+
cd docs/
170168
git clone https://github.com/KhronosGroup/OpenGL-Refpages.git
171-
mkdir $DEVDOCS_ROOT/docs/opengl~4
172-
mkdir $DEVDOCS_ROOT/docs/opengl~2.1
173-
cp -r OpenGL-Refpages/gl4/html/* "$DEVDOCS_ROOT/docs/opengl~4"
174-
cp -r OpenGL-Refpages/gl2.1/xhtml/* "$DEVDOCS_ROOT/docs/opengl~2.1"
169+
ln -s OpenGL-Refpages/gl4/html/ opengl~4
170+
ln -s OpenGL-Refpages/gl2.1/xhtml/ opengl~2.1
175171
```
176172

177173
## OpenJDK

0 commit comments

Comments
 (0)