Unified · Split
| @@ -21,7 +21,7 @@ module Docs · 20 unmodified lines | |||
| 21 | 21 | ||
| 22 | # Remove everything after Appendix B | 22 | # Remove everything after Appendix B |
| 23 | # This includes the license text, the document changelog, the compiler changelog and the footnote | 23 | # This includes the license text, the document changelog, the compiler changelog and the footnote |
| 24 | current_element = at_css('a[name="Appendix-C-_002d-GNU-Free-Documentation-License"]').previous | 24 | current_element = at_css('a[name="Appendix-C1-_002d-Grouped-Word-Lists-by-feature-and-function"]').previous |
| 25 | until current_element.nil? | 25 | until current_element.nil? |
| 26 | next_element = current_element.next | 26 | next_element = current_element.next |
| 27 | current_element.remove | 27 | current_element.remove |
| @@ -3,15 +3,17 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'GnuCOBOL' | 3 | self.name = 'GnuCOBOL' |
| 4 | self.slug = 'gnu_cobol' | 4 | self.slug = 'gnu_cobol' |
| 5 | self.type = 'simple' | 5 | self.type = 'simple' |
| 6 | self.release = '2.2' | 6 | self.release = '3.1' |
| 7 | self.base_url = 'https://open-cobol.sourceforge.io/HTML/gnucobpg.html' | 7 | self.base_url = 'https://gnucobol.sourceforge.io/HTML/gnucobpg.html' |
| 8 | self.links = { | 8 | self.links = { |
| 9 | home: 'https://sourceforge.net/projects/open-cobol/', | 9 | home: 'https://gnucobol.sourceforge.io/', |
| 10 | code: 'https://sourceforge.net/p/open-cobol/code/HEAD/tree/trunk/' | 10 | code: 'https://sourceforge.net/p/gnucobol/code/HEAD/tree/trunk/' |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | html_filters.push 'gnu_cobol/entries', 'gnu_cobol/clean_html' | 13 | html_filters.push 'gnu_cobol/entries', 'gnu_cobol/clean_html' |
| 14 | 14 | ||
| 15 | options[:skip_links] = true | ||
| 16 | |||
| 15 | options[:attribution] = <<-HTML | 17 | options[:attribution] = <<-HTML |
| 16 | Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br> | 18 | Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br> |
| 17 | Licensed under the GNU Free Documentation License. | 19 | Licensed under the GNU Free Documentation License. |