Scripts definition
Last updated
Was this helpful?
Last updated
Was this helpful?
Every script is taking a part of auto-generating data content on the website.
There are 3 rules:
extract-*-tokens.js
scripts always goes first.
Order of other scripts when they fire don't matter after that step.
clean-invalid-data-files.js
always goes last.
extract-*-tokens.js
Converts .yml
token files to .json
format
build-indexed-search.js
Refines extracted data to retain only what is necessary for the search input
build-paths.js
Refines extracted data to retain only what is necessary for the sidebar navigation
clean-invalid-data-files.js
Removes files that have had their file name
updated