From 6b37efda620225cc789feecbf274ad3577ba1cbd Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 10 Apr 2016 11:14:12 -0400 Subject: [PATCH] Finish GNU Fortran scraper --- assets/images/icons.png | Bin 43299 -> 43619 bytes assets/images/icons@2x.png | Bin 111974 -> 112653 bytes assets/javascripts/news.json | 4 +- .../templates/pages/about_tmpl.coffee | 5 +++ assets/stylesheets/global/_icons.scss | 1 + assets/stylesheets/pages/_base.scss | 2 +- lib/docs/filters/fortran/clean_html.rb | 18 -------- lib/docs/filters/fortran/entries.rb | 34 --------------- lib/docs/filters/gnu_fortran/clean_html.rb | 39 +++++++++++++++++ lib/docs/filters/gnu_fortran/entries.rb | 41 ++++++++++++++++++ lib/docs/scrapers/fortran.rb | 32 -------------- lib/docs/scrapers/gnu_fortran.rb | 40 +++++++++++++++++ public/icons/docs/fortran/fortran.png | Bin 2148 -> 0 bytes public/icons/docs/gnu_fortran/16.png | Bin 0 -> 372 bytes public/icons/docs/gnu_fortran/16@2x.png | Bin 0 -> 656 bytes .../docs/{fortran => gnu_fortran}/SOURCE | 0 public/icons/docs/gnu_fortran/fortran.png | Bin 0 -> 1493 bytes 17 files changed, 129 insertions(+), 87 deletions(-) delete mode 100644 lib/docs/filters/fortran/clean_html.rb delete mode 100644 lib/docs/filters/fortran/entries.rb create mode 100644 lib/docs/filters/gnu_fortran/clean_html.rb create mode 100644 lib/docs/filters/gnu_fortran/entries.rb delete mode 100644 lib/docs/scrapers/fortran.rb create mode 100644 lib/docs/scrapers/gnu_fortran.rb delete mode 100644 public/icons/docs/fortran/fortran.png create mode 100644 public/icons/docs/gnu_fortran/16.png create mode 100644 public/icons/docs/gnu_fortran/16@2x.png rename public/icons/docs/{fortran => gnu_fortran}/SOURCE (100%) create mode 100644 public/icons/docs/gnu_fortran/fortran.png diff --git a/assets/images/icons.png b/assets/images/icons.png index 7a40ea86f88b874bb9f5c864dd186b3fb7c2f606..213a9dc7226891d46374f2b26d16f49d65c13027 100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)BEbR}e00jUjR?3l<{EgS^B3OK@fy&VH*86C^D33ku`ej$K}=J)j?K0y3zl)Y4m=+r0v5W)aK`G zkl6ze-d{P^-bLE5_1E|a%)Dhyu`lVZ{tq$7>*+p^vgO}NVa_9tAP7RXFkAf>thgW~ zx6vQTZwTeG-EEBBXT@g2vx0M*{C}6-CeIJ#7T`8V7O6)6Cy?a;#vCwBv1(@mswMh$ zjrr04rfKr_=*H+~y;Zis2!fDR0eUTzA7n()bq1TG(LMw@qTNfO&VCy%%ZA8{s=-^c zq|MJct-n<%had=oFokgI{Z+c2Qu9*z4gNQ6+g7i@pv|qP{30oXKEpcmP=8X2%!dR| zsD{Wc2y!Lf4bFE?gIh{Vrt$bJM-T)dTNG9o&QNuc6S^+)4yD94Qx|D<>mj~64}p^M z!?mtsX#;fx+ju>etLnX9agoHy07SZ4*ZGfN{40nf_6|}I1RWvJU! zLUvVY`7Uy`jqum30IQ3>$3En}?bd|9 z;s}BuOhwd2f3evVdeyCfz&1f@lp#tR72)?Gwc;QbZL1)}_g$La_+c@SPvI&ULI z$b5(sZFg+CV^%shw3@5Hjvxra`M{D=KgX1XegVN9cgrca(D-T5ro8amW@FK)E-y;C z<&Yivag7`blXV;aaRfmS&iA`PT^`!3OAF`nT9<{d%P%WBVyyf^HcT0Ubw-&jhatdn zM-T+zLc%R8`ZSupport tables (caniuse.com)" + "New documentations: Support tables (caniuse.com) and GNU Fortran" ], [ "2016-03-27", "New documentation: TypeScript" ], [ "2016-03-06", - "New documentation: TensorFlow, Haxe and Ansible" + "New documentations: TensorFlow, Haxe and Ansible" ], [ "2016-02-28", "New documentations: CodeIgniter, nginx Lua Module and InfluxData" diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index a83f7945..c493c04e 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -199,6 +199,11 @@ credits = [ '2005-2016 Linus Torvalds and others', 'GPLv2', 'https://raw.githubusercontent.com/git/git/master/COPYING' + ], [ + 'GNU Fortran', + 'Free Software Foundation', + 'GFDL', + 'https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/GNU-Free-Documentation-License.html' ], [ 'Go', 'Google, Inc.', diff --git a/assets/stylesheets/global/_icons.scss b/assets/stylesheets/global/_icons.scss index 584c260a..2445cd1b 100644 --- a/assets/stylesheets/global/_icons.scss +++ b/assets/stylesheets/global/_icons.scss @@ -134,3 +134,4 @@ ._icon-ansible:before { background-position: -8rem -10rem; @extend %darkIconFix !optional; } ._icon-typescript:before { background-position: -9rem -10rem; } ._icon-browser_support_tables:before { background-position: 0rem -11rem; } +._icon-gnu_fortran:before { background-position: -1rem -11rem; } diff --git a/assets/stylesheets/pages/_base.scss b/assets/stylesheets/pages/_base.scss index 632d4e58..bf2f4bc8 100644 --- a/assets/stylesheets/pages/_base.scss +++ b/assets/stylesheets/pages/_base.scss @@ -17,7 +17,7 @@ } ._cordova, -._fortran, +._gnu_fortran, ._grunt, ._haxe, ._influxdata, diff --git a/lib/docs/filters/fortran/clean_html.rb b/lib/docs/filters/fortran/clean_html.rb deleted file mode 100644 index b3a89f01..00000000 --- a/lib/docs/filters/fortran/clean_html.rb +++ /dev/null @@ -1,18 +0,0 @@ -module Docs - class Fortran - class CleanHtmlFilter < Filter - def call - css('h2', 'h3', 'h4').each do |node| - node.name = 'h1' - end - - # Move page anchor to page title - at_css('h1')['id'] = at_css('.node > a')['name'] - - css('.node', 'br').remove - - doc - end - end - end -end diff --git a/lib/docs/filters/fortran/entries.rb b/lib/docs/filters/fortran/entries.rb deleted file mode 100644 index c9f0cb70..00000000 --- a/lib/docs/filters/fortran/entries.rb +++ /dev/null @@ -1,34 +0,0 @@ -module Docs - class Fortran - class EntriesFilter < Docs::EntriesFilter - REPLACE_TYPES = { - 1 => 'Introduction', - 2 => 'GNU Fortran Command Options', - 3 => 'Runtime Environment Variables', - 4 => 'Fortran 2003 and 2008 Status', - 5 => 'Compiler Characteristics', - 6 => 'Extensions', - 7 => 'Mixed Language Programming', - 8 => 'Coarray Programming', - 9 => 'Intrinsic Procedures', - 10 => 'Intrinsic Modules' } - - def chapter_number - at_css('h1').content.to_i - end - - def include_default_entry? - REPLACE_TYPES[chapter_number] and not at_css('ul.menu') - end - - def get_name - at_css('h1').content.split(' ').drop(1).join(' ').split('—').first - end - - def get_type - REPLACE_TYPES[chapter_number] - end - - end - end -end diff --git a/lib/docs/filters/gnu_fortran/clean_html.rb b/lib/docs/filters/gnu_fortran/clean_html.rb new file mode 100644 index 00000000..c14eca21 --- /dev/null +++ b/lib/docs/filters/gnu_fortran/clean_html.rb @@ -0,0 +1,39 @@ +module Docs + class GnuFortran + class CleanHtmlFilter < Filter + def call + heading = at_css('h1, h2, h3, h4, h5') + heading_level = heading.name[/h(\d)/, 1].to_i + + css('h2, h3, h4, h5, h6').each do |node| + node.name = node.name.sub(/\d/) { |i| i.to_i - (heading_level - 1) } + end + + css('.node > a[name]').each do |node| + node.parent.next_element['id'] = node['name'] + end + + css('a[name]').each do |node| + node['id'] = node['name'] + end + + css('samp > span:first-child:last-child').each do |node| + node.parent.name = 'code' + node.before(node.children).remove + end + + css('pre').each do |node| + node.inner_html = node.inner_html.strip_heredoc.strip + end + + css('dt > em', 'acronym', 'dfn').each do |node| + node.before(node.children).remove + end + + css('.node', 'br').remove + + doc + end + end + end +end diff --git a/lib/docs/filters/gnu_fortran/entries.rb b/lib/docs/filters/gnu_fortran/entries.rb new file mode 100644 index 00000000..a5388671 --- /dev/null +++ b/lib/docs/filters/gnu_fortran/entries.rb @@ -0,0 +1,41 @@ +module Docs + class GnuFortran + class EntriesFilter < Docs::EntriesFilter + TYPE_BY_CHAPTER = { } + + def initialize(*) + super + detect_chapters if root_page? + end + + def get_name + at_css('h1').content.split(' ').drop(1).join(' ').split('—').first + end + + def get_type + "#{chapter_number}. #{TYPE_BY_CHAPTER[chapter_number]}" + end + + def include_default_entry? + !at_css('ul.menu') + end + + private + + def detect_chapters + css('.contents > ul > li > a').each do |node| + index = node.content.strip.to_i + next unless index > 0 + name = node.content.split(' ').drop(1).join(' ') + name.remove! 'GNU Fortran ' + name.remove! %r{:.*} + TYPE_BY_CHAPTER[index] = name # YOLO + end + end + + def chapter_number + at_css('h1').content.to_i + end + end + end +end diff --git a/lib/docs/scrapers/fortran.rb b/lib/docs/scrapers/fortran.rb deleted file mode 100644 index 4950769d..00000000 --- a/lib/docs/scrapers/fortran.rb +++ /dev/null @@ -1,32 +0,0 @@ -module Docs - class Fortran < FileScraper - self.name = 'GNU Fortran' - self.slug = 'fortran' - self.type = 'fortran' - self.release = '5.3.0' - self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" - self.dir = '' - self.root_path = 'index.html' - - self.links = { - home: 'https://gcc.gnu.org/fortran/' - } - - html_filters.push 'fortran/clean_html', 'fortran/entries' - - options[:skip_patterns] = [ - /Funding/, - /Projects/, - /Copying/, - /License/, - /Proposed/, - /Contribut/, - /Index/ - ] - - options[:attribution] = <<-HTML - © Free Software Foundation
- Licensed under the GNU Free Documentation License version 1.3. - HTML - end -end diff --git a/lib/docs/scrapers/gnu_fortran.rb b/lib/docs/scrapers/gnu_fortran.rb new file mode 100644 index 00000000..90b17077 --- /dev/null +++ b/lib/docs/scrapers/gnu_fortran.rb @@ -0,0 +1,40 @@ +module Docs + class GnuFortran < FileScraper + self.name = 'GNU Fortran' + self.slug = 'gnu_fortran' + self.type = 'gnu_fortran' + self.dir = '/Users/Thibaut/DevDocs/Docs/gfortran' + self.root_path = 'index.html' + + self.links = { + home: 'https://gcc.gnu.org/fortran/' + } + + html_filters.push 'gnu_fortran/clean_html', 'gnu_fortran/entries' + + options[:skip_patterns] = [ + /Funding/, + /Projects/, + /Copying/, + /License/, + /Proposed/, + /Contribut/, + /Index/ + ] + + options[:attribution] = <<-HTML + © Free Software Foundation
+ Licensed under the GNU Free Documentation License, Version 1.3. + HTML + + version '5' do + self.release = '5.3.0' + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" + end + + version '4' do + self.release = '4.9.3' + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gfortran/" + end + end +end diff --git a/public/icons/docs/fortran/fortran.png b/public/icons/docs/fortran/fortran.png deleted file mode 100644 index ebe9ec8880ca8529e647ce956ee90d109637e3b2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2148 zcmZuzc~FyC692xBL~c+B5;=w=uqG&%A|e|JU@#F3B;ist%DEh47BGOIfI%XMoJv6P z2$110G7?0|a0|j15eE=lPPs%mLtA(ubt>7JpeUyy z2LOQL2_l{<(aawrvqN&X+W2%x)DB-K0v-_mIE9U6ITA!RjCh&>0P-q71ne1!-;{vT z5hq9v(&I3=3e37hAw61xES)p1UD<%yaxzASxe->Pz_8*XatgNUvgM`0R8oJS= zZynU*?_Y$pKWFenTeuXrpu9KbS&)H1RoFC^<&U}Xi7|i0X8Kb6^eCfKjb1Ne*kRK? zVhRBkv{TL&4HW%fBl{v=ZL+XpZt=|+31haexJRqw4Lj|m^Y-WVMtwjrJ_g@`<#O0mi) zHeA8cHLR?QGih}y<_s$DdWi0I<~u|LEx9z9?AUcY4e}edJlV?(Mphcjo19fx5oV`n zbzu~KzMJ&Yy?mDpY+_A%LK*gzuTZ@X#=Om%sWGu0x|%RZA~c6<*JLKzRzmLX|9M!R z#jP@84TT-$c6j=dmUsLbJZiR8`~J+U+yRG(=a+UrQQl6QXemc(%n)K@5wq=xk609w zKAeKTJ-M27XhL-kmpb+BUZo%amD7ACyu9z0qoKL^%{%Q#P;Y!qy1V9)EbjYk&Jmrp z6;1w!L7WY|qiWn*Nf!nK^k7Ctw?DZ}`G-Iw4@BJhWma;V^ zwoT_fdd)1OjHkPl&o)9B_0_#jn4*o?^(|MNaJg#>6wqCn_JpKZqrfLg97l|ncpAk1 z`ILZR2AY16N#Im04{S`2Q2{Am^X=q zlU!%4*OZcyE2vB=e%AW4rpMIbbhb*_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