When rebuilding a site that has no content changes, search-index-docs-default-current.json changes.
Ideally the process would generate the same index on each run if neither the content nor the generated pages have changed.
How can we best reproduce the bug?
git clone https://github.com/SheetJS/docs.sheetjs.com
cd docs.sheetjs.com
make init
make build
git status ## verify that docs/search-index-docs-default-current.json has changed
git add docs/search-index-docs-default-current.json
make build
git status ## observe that docs/search-index-docs-default-current.json has changed again
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Please describe the bug you are seeing
When rebuilding a site that has no content changes,
search-index-docs-default-current.json
changes.Ideally the process would generate the same index on each run if neither the content nor the generated pages have changed.
How can we best reproduce the bug?
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Which Node.js version are you using?
v18.8.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
No config:
Additional context
Awesome work!