File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ algolia:
12
12
application_id : ' G160Y1N5OT'
13
13
index_name : ' codeception'
14
14
read_only_api_key : ' c264188100c4fb7017c4f5702a7d4b8d'
15
- record_css_selector : ' .page'
15
+ record_css_selector : ' .page'
16
+ allowed_extensions :
17
+ - .markdown
16
18
excluded_files :
17
19
- index.html
18
20
- docs-2.0
Original file line number Diff line number Diff line change 1
1
class AlgoliaSearchJekyllPush < Jekyll ::Command
2
2
class << self
3
3
# Hook to exclude some files from indexing
4
- def custom_hook_excluded_file? ( file )
5
- return true if file . path =~ %r{^/_site/}
6
- return true if file . path =~ %r{^/_docs-1.8/}
7
- return true if file . path =~ %r{^/_docs-2.0/}
8
- return true if file . path =~ %r{^/_slides/}
9
- return true if file . basename =~ %r{^2012-}
10
- return true if file . basename =~ %r{^2013-}
11
- return true if file . basename =~ %r{^2014-}
12
- false
13
- end
4
+ # def custom_hook_excluded_file?(file)
5
+ # return true if file.path =~ %r{^/_site/}
6
+ # return true if file.path =~ %r{^/_docs-1\ .8/}
7
+ # return true if file.path =~ %r{^/_docs-2\ .0/}
8
+ # return true if file.path =~ %r{^/_slides/}
9
+ # return true if file.basename =~ %r{^2012-}
10
+ # return true if file.basename =~ %r{^2013-}
11
+ # return true if file.basename =~ %r{^2014-}
12
+ # false
13
+ # end
14
14
end
15
15
end
You can’t perform that action at this time.
0 commit comments