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
5353 ```
5454
5555 ### GNU Fortran
56+Go 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
59+mkdir docs/gnu_fortran~$VERSION; \
60+curl https://gcc.gnu.org/onlinedocs/gcc-$RELEASE/gfortran-html.tar.gz | \
61+tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION
62+```
5663
5764 ## Gnuplot
5865
lib/docs/scrapers/gnu/gnu_fortran.rb+15−0
@@ -6,6 +6,21 @@ module Docs · 5 unmodified lines
66 home: 'https://gcc.gnu.org/fortran/'
77 }
88
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+
924 version '7' do
1025 self.release = '7.3.0'
1126 self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/"