diff options
| author | Jieiku | 2023-05-22 22:37:44 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 22:37:44 -0700 |
| commit | 6dcec618d0ff0a2270f787f62267a0622275c69d (patch) | |
| tree | f0dd674fe43331db55ddae38808749de0323f030 /README.md | |
| parent | 71d977d49afbf93e0c736815e36d59664991fa18 (diff) | |
| download | abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.tar.gz abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.tar.bz2 abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.zip | |
Load Tinysearch/Stork On Demand
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -162,13 +162,18 @@ stork demo: https://jieiku.github.io/abridge-stork/ **Switch to tinysearch:** First you have to install tinysearch so that you can build the index: +(you also need to download the latest stork.wasm into the abridge static folder) ```shell +sudo pacman -S install wasm-pack binaryen git clone https://github.com/tinysearch/tinysearch cd tinysearch cargo build --release sudo cp ./target/release/tinysearch /usr/local/bin/tinysearch exit # reload shell environment + +cd ~/.dev/abridge/static +curl -s https://api.github.com/repos/jameslittle230/stork/releases/latest | grep "browser_download_url.*stork.wasm" | cut -d : -f 2,3 | tr -d \" | wget -i - ``` Switch abridge to tinysearch: @@ -192,6 +197,7 @@ git clone https://github.com/jameslittle230/stork cd stork cargo build --release sudo cp ./target/release/stork /usr/local/bin/stork + exit # reload shell environment ``` @@ -305,7 +311,7 @@ Abridge Alternate Bundles: Support Files: - theme.min.js (not a bundle, just a minification of theme.js) -- katexbundle.min.js - includes: katex.min.js mathtex-script-type.min.js auto-render.min.js katexoptions.js +- katexbundle.min.js - includes: katex.min.js mathtex-script-type.min.js katex-auto-render.min.js katexoptions.js - search_bundle.min.js: includes: search_index.en, elasticlunr, search (loaded on demand by search_facade) ### Global Configuration |
