Skip to content

Commit dd98590

Browse files
committed
Update Nim documentation (1.4.8)
- Add source code links
1 parent 33d0540 commit dd98590

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ credits = [
563563
'https://github.com/openresty/lua-nginx-module#copyright-and-license'
564564
], [
565565
'Nim',
566-
'2006-2020 Andreas Rumpf',
566+
'2006-2021 Andreas Rumpf',
567567
'MIT',
568568
'https://github.com/nim-lang/Nim#license'
569569
], [

lib/docs/filters/nim/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def call
1313
node['id'] = nodeId
1414
end
1515

16-
css('.docinfo', '.footer', 'blockquote > p:empty', '.link-seesrc').remove
16+
css('.docinfo', '.footer', 'blockquote > p:empty').remove
1717

1818
css('h1:not(.title), h2, h3, h4').each do |node|
1919
node.name = node.name.sub(/\d/) { |i| i.to_i + 1 }

lib/docs/scrapers/nim.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Docs
22
class Nim < UrlScraper
33
self.type = 'simple'
4-
self.release = '1.4.2'
4+
self.release = '1.4.8'
55
self.base_url = 'https://nim-lang.org/docs/'
66
self.root_path = 'overview.html'
77
self.links = {
@@ -14,7 +14,7 @@ class Nim < UrlScraper
1414
options[:skip] = %w(theindex.html docgen.html tut1.html tut2.html tut3.html tools.html)
1515

1616
options[:attribution] = <<-HTML
17-
&copy; 2006&ndash;2020 Andreas Rumpf<br>
17+
&copy; 2006&ndash;2021 Andreas Rumpf<br>
1818
Licensed under the MIT License.
1919
HTML
2020

0 commit comments

Comments
 (0)