File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 - ' @antora/collector-extension'
44 - ' @antora/pdf-extension'
55 - require : ' @antora/lunr-extension'
6- index_latest_only : true
76 index_by_heading : true
87 - require : ' @springio/antora-extensions/root-component-extension'
98 root_component_name : junit
Original file line number Diff line number Diff line change 88 {{ #if env.SITE_SEARCH_PROVIDER }}
99 <div class =" navbar-item search hide-for-print" >
1010 <div id =" search-field" class =" field" >
11- <input id =" search-input" type =" text" placeholder =" Search the docs" {{ #if page.home }} autofocus{{ /if }} >
11+ <input id =" search-input" type =" text" placeholder =" Search current version" {{ #if page.home }} autofocus{{ /if }} >
12+ <label style =" display: none" >
13+ <!-- restrict search to current version -->
14+ <input type =" checkbox" data-facet-filter =" version:{{ page.componentVersion.version }} " checked>
15+ </label >
1216 </div >
1317 </div >
1418 {{ /if }}
You can’t perform that action at this time.
0 commit comments