Update Gnu Cobol to 3.1

pull/1350/head
MasterEnoc 4 years ago
parent 63ea6aa4bd
commit 25a3793e8f

@ -21,7 +21,7 @@ module Docs
# Remove everything after Appendix B # Remove everything after Appendix B
# This includes the license text, the document changelog, the compiler changelog and the footnote # This includes the license text, the document changelog, the compiler changelog and the footnote
current_element = at_css('a[name="Appendix-C-_002d-GNU-Free-Documentation-License"]').previous current_element = at_css('a[name="Appendix-C1-_002d-Grouped-Word-Lists-by-feature-and-function"]').previous
until current_element.nil? until current_element.nil?
next_element = current_element.next next_element = current_element.next
current_element.remove current_element.remove

@ -3,15 +3,17 @@ module Docs
self.name = 'GnuCOBOL' self.name = 'GnuCOBOL'
self.slug = 'gnu_cobol' self.slug = 'gnu_cobol'
self.type = 'simple' self.type = 'simple'
self.release = '2.2' self.release = '3.1'
self.base_url = 'https://open-cobol.sourceforge.io/HTML/gnucobpg.html' self.base_url = 'https://gnucobol.sourceforge.io/HTML/gnucobpg.html'
self.links = { self.links = {
home: 'https://sourceforge.net/projects/open-cobol/', home: 'https://gnucobol.sourceforge.io/',
code: 'https://sourceforge.net/p/open-cobol/code/HEAD/tree/trunk/' code: 'https://sourceforge.net/p/gnucobol/code/HEAD/tree/trunk/'
} }
html_filters.push 'gnu_cobol/entries', 'gnu_cobol/clean_html' html_filters.push 'gnu_cobol/entries', 'gnu_cobol/clean_html'
options[:skip_links] = true
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br> Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>
Licensed under the GNU Free Documentation License. Licensed under the GNU Free Documentation License.

Loading…
Cancel
Save