Skip to content

Commit f0e52f8

Browse files
committed
docs: remove obvious /path/to/devdocs/ prefix
1 parent dedddae commit f0e52f8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/file-scrapers.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If you open a PR to update one of these docs, please add/fix the instructions.
88

99
Click the “API docs” link under the “Stable channel” header on
1010
https://www.dartlang.org/tools/sdk/archive. Rename the expanded ZIP to `dart~2`
11-
and put it in `/path/to/devdocs/docs/`
11+
and put it in `docs/`
1212

1313
Or run the following commands in your terminal:
1414

@@ -41,12 +41,12 @@ bsdtar --extract --file - --directory=docs/django\~$VERSION/
4141

4242
## Elisp
4343

44-
Go to https://www.gnu.org/software/emacs/manual/elisp.html, download the HTML tarball and extract its content in `/path/to/devdocs/docs/elisp` or run the following command:
44+
Go to https://www.gnu.org/software/emacs/manual/elisp.html, download the HTML tarball and extract its content in `docs/elisp` or run the following command:
4545

4646
```sh
47-
mkdir /path/to/devdocs/docs/elisp \
47+
mkdir docs/elisp \
4848
&& curl curl https://www.gnu.org/software/emacs/manual/elisp.html_node.tar.gz | \
49-
tar --extract --gzip --strip-components=1 --directory=/path/to/devdocs/docs/elisp
49+
tar --extract --gzip --strip-components=1 --directory=docs/elisp
5050
```
5151

5252
## Erlang
@@ -62,12 +62,12 @@ bsdtar --extract --file - --directory=docs/erlang\~$VERSION/
6262
## Gnu
6363

6464
### Bash
65-
Go to https://www.gnu.org/software/bash/manual/, download the HTML tar file (with one web page per node) and extract its content in `/path/to/devdocs/docs/bash` or run the following command:
65+
Go to https://www.gnu.org/software/bash/manual/, download the HTML tar file (with one web page per node) and extract its content in `docs/bash` or run the following command:
6666

6767
```sh
68-
mkdir /path/to/devdocs/docs/bash \
68+
mkdir docs/bash \
6969
&& curl https://www.gnu.org/software/bash/manual/bash.html_node.tar.gz | \
70-
tar --extract --gzip --directory=/path/to/devdocs/docs/bash
70+
tar --extract --gzip --directory=docs/bash
7171
```
7272

7373
### GCC
@@ -95,12 +95,12 @@ tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION
9595
```
9696

9797
## GNU Make
98-
Go to https://www.gnu.org/software/make/manual/, download the HTML tarball and extract its content in `/path/to/devdocs/docs/gnu_make` or run the following command:
98+
Go to https://www.gnu.org/software/make/manual/, download the HTML tarball and extract its content in `docs/gnu_make` or run the following command:
9999

100100
```sh
101-
mkdir /path/to/devdocs/docs/gnu_make \
101+
mkdir docs/gnu_make \
102102
&& curl https://www.gnu.org/software/make/manual/make.html_node.tar.gz | \
103-
tar --extract --gzip --strip-components=1 --directory=/path/to/devdocs/docs/gnu_make
103+
tar --extract --gzip --strip-components=1 --directory=docs/gnu_make
104104
```
105105

106106
## Gnuplot
@@ -154,7 +154,7 @@ bsdtar --extract --file=- --directory=docs/numpy~$VERSION/
154154

155155
Download from https://www.ocaml.org/docs/ the HTML reference:
156156
https://v2.ocaml.org/releases/4.14/ocaml-4.14-refman-html.tar.gz
157-
and extract it as `/path/to/devdocs/docs/ocaml`:
157+
and extract it as `docs/ocaml`:
158158

159159
```sh
160160
curl https://v2.ocaml.org/releases/$VERSION/ocaml-$VERSION-refman-html.tar.gz | \
@@ -216,7 +216,7 @@ tar xj --strip-components=1
216216

217217
## R
218218
```bash
219-
DEVDOCSROOT=/path/to/devdocs/docs/r
219+
DEVDOCSROOT=docs/r
220220
RLATEST=https://cran.r-project.org/src/base/R-latest.tar.gz # or /R-${VERSION::1}/R-$VERSION.tar.gz
221221

222222
RSOURCEDIR=${TMPDIR:-/tmp}/R/latest
@@ -269,7 +269,7 @@ See `lib/docs/scrapers/scala.rb`
269269
## SQLite
270270

271271
Download the docs from https://sqlite.org/download.html, unzip it, and rename
272-
it to `/path/to/devdocs/docs/sqlite`
272+
it to `docs/sqlite`
273273

274274
```sh
275275
curl https://sqlite.org/2022/sqlite-doc-3400000.zip | bsdtar --extract --file - --directory=docs/sqlite/ --strip-components=1

0 commit comments

Comments
 (0)