Edit This Page ⓘClicking 'Edit This Page' opens this page on GitHub. You can edit, and save changes, if you are a contributor to the repository. Close the edit page to return to this one.
Installing lunr search capability
2022-07-06/07/10 including lunr search
Steps to incorporate lunr search from developer-massive-wiki to another massive-wiki (running MWB v1.9.0):
0. merge README.md
(done manually)
- install node modules:
- install node (e.g., macOS:
$ brew install node
) - copy package.json, package-lock.json to
.massivewikibuilder
$ npm ci
(this installs the node modules into foldernode_modules
)
- install node (e.g., macOS:
- install build-index.js in
.massivewikibuilder
- in
this-wiki-themes/basso
: updatepage.html
,_navbar.html
,search.html
- merge
mwb.py
(done manually - a simple copy may do it) - update
netlify.toml
(add--lunr
to the mwb build line)