mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Change to load the json.gz file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
This commit is contained in:
parent
1e41d57bd4
commit
a78130467a
2 changed files with 9 additions and 8 deletions
|
@ -73,7 +73,8 @@ setup_s3() {
|
||||||
build_current_documentation() {
|
build_current_documentation() {
|
||||||
mkdocs build
|
mkdocs build
|
||||||
cd site/
|
cd site/
|
||||||
gzip -9k search_content.json
|
gzip -9k -f search_content.json
|
||||||
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
upload_current_documentation() {
|
upload_current_documentation() {
|
||||||
|
|
12
docs/theme/mkdocs/js/base.js
vendored
12
docs/theme/mkdocs/js/base.js
vendored
|
@ -1,12 +1,6 @@
|
||||||
$(document).ready(function ()
|
$(document).ready(function ()
|
||||||
{
|
{
|
||||||
|
|
||||||
// Tipue Search activation
|
|
||||||
$('#tipue_search_input').tipuesearch({
|
|
||||||
'mode': 'json',
|
|
||||||
'contentLocation': '/search_content.json'
|
|
||||||
});
|
|
||||||
|
|
||||||
prettyPrint();
|
prettyPrint();
|
||||||
|
|
||||||
// Resizing
|
// Resizing
|
||||||
|
@ -51,6 +45,12 @@ $(document).ready(function ()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Tipue Search activation
|
||||||
|
$('#tipue_search_input').tipuesearch({
|
||||||
|
'mode': 'json',
|
||||||
|
'contentLocation': '/search_content.json.gz'
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function resizeMenuDropdown ()
|
function resizeMenuDropdown ()
|
||||||
|
|
Loading…
Reference in a new issue