We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62d43fb commit db65552Copy full SHA for db65552
1 file changed
lib/docs/scrapers/nim.rb
@@ -1,7 +1,6 @@
1
module Docs
2
class Nim < UrlScraper
3
self.type = 'simple'
4
- self.release = '2.0.2'
5
self.base_url = 'https://nim-lang.org/docs/'
6
self.root_path = 'overview.html'
7
self.links = {
@@ -18,6 +17,14 @@ class Nim < UrlScraper
18
17
Licensed under the MIT License.
19
HTML
20
+ version do
21
+ self.release = '2.0.2'
22
+ end
23
+
24
+ version '1' do
25
+ self.release = '1.4.8'
26
27
28
def get_latest_version(opts)
29
doc = fetch_doc('https://nim-lang.org/docs/overview.html', opts)
30
doc.at_css('.container > .docinfo > tbody > tr:last-child > td').content.strip
0 commit comments