History

Merge pull request #1336 from MasterEnoc/fortran

Update Gnu Fortran to 10.2.0

Simon Legner committed 5 years ago

Commit 88688f82 parents 8c38a4c 1e2200b2 files · +22 −0Browse files

Unified · Split

2 files
  1. docs/file-scrapers.md +7 −0
  2. lib/docs/scrapers/gnu/gnu_fortran.rb +15 −0
docs/file-scrapers.md+7−0
@@ -53,6 +53,13 @@ tar --extract --gzip --strip-components=1 --directory=docs/gcc~${VERSION}_cpp · 52 unmodified lines
53```53```
54 54
55### GNU Fortran55### GNU Fortran
56Go to https://gcc.gnu.org/onlinedocs/ and download the HTML tarball of Fortran manual or run the following commands to download the tarball:
57
58```sh
59mkdir docs/gnu_fortran~$VERSION; \
60curl https://gcc.gnu.org/onlinedocs/gcc-$RELEASE/gfortran-html.tar.gz | \
61tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION
62```
56 63
57## Gnuplot64## Gnuplot
58 65
lib/docs/scrapers/gnu/gnu_fortran.rb+15−0
@@ -6,6 +6,21 @@ module Docs · 5 unmodified lines
6 home: 'https://gcc.gnu.org/fortran/'6 home: 'https://gcc.gnu.org/fortran/'
7 }7 }
8 8
9 version '10' do
10 self.release = '10.2.0'
11 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"
12 end
13
14 version '9' do
15 self.release = '9.3.0'
16 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"
17 end
18
19 version '8' do
20 self.release = '8.4.0'
21 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"
22 end
23
9 version '7' do24 version '7' do
10 self.release = '7.3.0'25 self.release = '7.3.0'
11 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"26 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"