FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeception.github.com/_plugins/search.rb at patch-2 · ThomasLandauer/codeception.github.com · GitHub
ThomasLandauer
codeception.github.com
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeception.github.com
/
_plugins
/
search.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (15 loc) · 548 Bytes
Breadcrumbs
codeception.github.com
/
_plugins
/
search.rb
Copy path
File metadata and controls
15 lines (15 loc) · 548 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class
AlgoliaSearchJekyllPush
<
Jekyll
::
Command
class
<<
self
# Hook to exclude some files from indexing
# def custom_hook_excluded_file?(file)
# return true if file.path =~ %r{^/_site/}
# return true if file.path =~ %r{^/_docs-1\.8/}
# return true if file.path =~ %r{^/_docs-2\.0/}
# return true if file.path =~ %r{^/_slides/}
# return true if file.basename =~ %r{^2012-}
# return true if file.basename =~ %r{^2013-}
# return true if file.basename =~ %r{^2014-}
# false
# end
end
end
Back
|
FazBrowse Home
|
New Git URL