From 2368810aaa2e9417a00c3770ee9cd6b0ff785d0b Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 28 Jul 2024 10:53:17 +0200 Subject: [PATCH] file-scrapers: update opengl --- docs/file-scrapers.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md index 9d51e4f4..727576c7 100644 --- a/docs/file-scrapers.md +++ b/docs/file-scrapers.md @@ -161,17 +161,13 @@ curl https://v2.ocaml.org/releases/$VERSION/ocaml-$VERSION-refman-html.tar.gz | tar xz --transform 's/htmlman/ocaml/' --directory docs/ ``` -## Opengl - -Clone https://github.com/KhronosGroup/OpenGL-Refpages.git +## OpenGL ```sh -DEVDOCS_ROOT=/path/to/devdocs +cd docs/ git clone https://github.com/KhronosGroup/OpenGL-Refpages.git -mkdir $DEVDOCS_ROOT/docs/opengl~4 -mkdir $DEVDOCS_ROOT/docs/opengl~2.1 -cp -r OpenGL-Refpages/gl4/html/* "$DEVDOCS_ROOT/docs/opengl~4" -cp -r OpenGL-Refpages/gl2.1/xhtml/* "$DEVDOCS_ROOT/docs/opengl~2.1" +ln -s OpenGL-Refpages/gl4/html/ opengl~4 +ln -s OpenGL-Refpages/gl2.1/xhtml/ opengl~2.1 ``` ## OpenJDK