diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md index 70a0c6d9..fbfbf435 100644 --- a/docs/file-scrapers.md +++ b/docs/file-scrapers.md @@ -39,14 +39,9 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file. Go to https://gcc.gnu.org/onlinedocs/ and download the HTML tarball of Fortran manual or run the following commands to download the tarball: ```sh -wget https://gcc.gnu.org/onlinedocs/gcc-/gfortran-html.tar.gz -``` - -Then extract the content of the tarball and move it to the devdocs directory. - -```sh -tar xf -mv path/to/devdocs/docs/gnu_fortran~/ +mkdir docs/gnu_fortran~$VERSION; \ +curl https://gcc.gnu.org/onlinedocs/gcc-$RELEASE/gfortran-html.tar.gz | \ +tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION ``` ## Gnuplot