Just noticing that some items return no results when searching in docs.
In particular: if, else, show.one-time
Is it possible the search engine has stopwords turned on (meaning common-words like if/else won’t be indexed), and is tokenizing on all punctuation (so show.one-time is indexed as two or three words rather than a phrase)?
@EisenbergEffect, where can I find a currentau-site.json? The one in the readme of site-generator is outdated (as one would expect). I want to get the site-generator up and running, test and fix the search issue and submit a pull request.
The bad search results make it much harder to learn and understand Aurelia. It’s a great framework but the community is tiny and this is definitely a stumbling block for new people. (I started experimenting with Aurelia less than two weeks ago and the docs almost put me off…)
@rluba Thanks for digging in and helping out here! I’ve merged your PR to fix the search index creation and will push an update to the site this evening. I’ve also opened up the issues on the site-generator repo so that we can track further problems. Finally, I’ll be updating the sample config in the readme file in just a few minutes.
Instead of updating the sample config (which quickly will be outdated again), could you open up a repo with the real scaffolding for the site? There’s more to it than just the au-site.json, eg., it references a logo that must be present, etc.