File tree Expand file tree Collapse file tree 5 files changed +218
-4
lines changed Expand file tree Collapse file tree 5 files changed +218
-4
lines changed Original file line number Diff line number Diff line change 4
4
<a class =" navbar-item" href =" {{{ or site.url siteRootPath }}} " >{{ site.title }} </a >
5
5
{{ #if env.SITE_SEARCH_PROVIDER }}
6
6
<div class =" navbar-item search hide-for-print" >
7
- <div id =" search-field" class =" field" >
8
- <input id =" search-input" type =" text" placeholder =" Search the docs" {{ #if page.home }} autofocus{{ /if }} >
7
+ <div id =" search-field" class =" field has-filter" >
8
+ <input id =" search-input" type =" text" placeholder =" Search the docs" {{ #if page.home }} autofocus{{ /if }} >
9
+ <label class =" filter checkbox" >
10
+ <input type =" checkbox" data-facet-filter =" component:{{ page.component.name }} " > Only in
11
+ {{ page.component.name }}
12
+ </label >
9
13
</div >
10
14
</div >
11
15
{{ /if }}
38
42
-->
39
43
<div class =" navbar-item" >
40
44
<span class =" control" >
41
- <a class =" button is-primary" target =" blank_" href =" https://github.com/cppalliance/site-docs/issues/new/choose" >Report an Issue</a >
45
+ <a class =" button is-primary" target =" blank_"
46
+ href =" https://github.com/cppalliance/site-docs/issues/new/choose" >Report an Issue</a >
42
47
</span >
43
48
</div >
44
49
</div >
Original file line number Diff line number Diff line change 39
39
antora :
40
40
extensions :
41
41
- require : ./boost.js
42
+ - require : ' @antora/lunr-extension'
42
43
43
44
content :
44
45
sources :
Original file line number Diff line number Diff line change 2
2
"devDependencies" : {
3
3
"@antora/cli" : " 3.1.2" ,
4
4
"@antora/site-generator" : " 3.1.2"
5
+ },
6
+ "dependencies" : {
7
+ "@antora/lunr-extension" : " ^1.0.0-alpha.8"
5
8
}
6
9
}
Original file line number Diff line number Diff line change 29
29
antora :
30
30
extensions :
31
31
- require : ./boost.js
32
+ - require : ' @antora/lunr-extension'
32
33
33
34
content :
34
35
sources :
You can’t perform that action at this time.
0 commit comments