Skip to content

Commit

Permalink
update version and search index
Browse files Browse the repository at this point in the history
  • Loading branch information
lehvolk committed Nov 1, 2023
1 parent 9a5602a commit f8eb00b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions frontend/build-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ function findHtml(folder) {
recursed[j] = path.join(files[i], recursed[j]).replace(/\\/g, "/");
}
htmls.push.apply(htmls, recursed);
}
else if (isHtml(filename) && !EXCLUDE_FILES.includes(files[i])) {
} else if (isHtml(filename) && !EXCLUDE_FILES.includes(files[i])) {
htmls.push(files[i]);
}
}
Expand Down Expand Up @@ -115,8 +114,8 @@ function main() {
PREVIEW_LOOKUP: ${JSON.stringify(previews)}
};
`;
fs.writeFile(OUTPUT_INDEX, js, function(err) {
if(err) {
fs.writeFile(OUTPUT_INDEX, js, function (err) {
if (err) {
return console.log(err);
}
console.log("Index saved as " + OUTPUT_INDEX);
Expand Down
4 changes: 2 additions & 2 deletions frontend/lunr-index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jacodb-org",
"version": "1.2.0",
"version": "1.4.0",
"description": "JacoDB Documentation",
"keywords": [
"gatsby"
Expand Down

0 comments on commit f8eb00b

Please sign in to comment.