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 5502339 commit 63b3ef9Copy full SHA for 63b3ef9
lib/docs/filters/salt_stack/entries.rb
@@ -16,8 +16,11 @@ def get_name
16
end
17
18
def get_type
19
- type, _ = slug.split('/', 2)
20
- type
+ slug.split('/', 2).first
+ end
21
+
22
+ def include_default_entry?
23
+ slug.split('/').last.start_with? 'salt'
24
25
26
lib/docs/scrapers/salt_stack.rb
@@ -11,7 +11,7 @@ class SaltStack < UrlScraper
11
html_filters.push 'salt_stack/clean_html', 'salt_stack/entries'
12
13
options[:only_patterns] = [
14
- %r{[^/]+/all/}
+ %r{^[^/]+/all/}
15
]
options[:container] = '.body-content'
0 commit comments