We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a621d3f commit 2745577Copy full SHA for 2745577
2 files changed
lib/docs/filters/tcl_tk/entries.rb
@@ -16,15 +16,14 @@ class EntriesFilter < Docs::EntriesFilter
16
}
17
18
def get_name
19
- if slug == 'contents.htm'
20
- TYPE_MAP[slug.split('/').first]
+ if slug.end_with?('contents.htm')
+ slug.split('/').first
21
else
22
slug.split('/').last.remove('.htm')
23
end
24
25
26
def get_type
27
- return nil if name == 'contents'
28
TYPE_MAP.fetch(slug.split('/').first)
29
30
lib/docs/scrapers/tcl_tk.rb
@@ -3,7 +3,7 @@ class TclTk < UrlScraper
3
self.name = 'Tcl/Tk'
4
self.type = 'tcl_tk'
5
self.slug = 'tcl_tk'
6
- self.release = '8.6'
+ self.release = '8.6.6'
7
self.base_url = 'https://www.tcl.tk/man/tcl/'
8
self.root_path = 'contents.htm'
9
0 commit comments