-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search failures at https://www.eclipse.org/openj9/docs/ #831
Comments
Search does seem a bit random. For example, "codecache" finds -XX:[+|-]PrintCodeCache but not -XX:codecachetotal. The MkDocs software levels need updating, which might make a difference. Looks like some search index options were added last June: https://www.mkdocs.org/about/release-notes/. |
The MkDocs levels have just been updated but this problem still exists. Needs more investigation. For example, looks like the colon (:) was until just a few days ago replaced by whitespace during a search: squidfunk/mkdocs-material#4884. |
You can customize the search by using the For example, here's what Material for MkDocs uses for their docs site:
And here's the config 2 we used to improve search on our Renovate docs site:
Before you apply any of these configs, read the Material for MkDocs manual, and get help from somebody who knows their regex. 😉 Footnotes |
Thanks for the tips @HonkingGoose 🙂 |
The Material for MkDocs maintainer is working on better search, see this issue: There's also a PR with the new search as preview on that repository. |
When searching to see whether OpenJ9 supports some JVM arg, the search box at the top of the page often fails, reporting "No matching documents" even when the arg is in fact supported and documented.
A recent example is -XX:ParallelGCThread
Searching with the full value shows "No matching documents", which does not change if I remove the "-" or remove "-XX:"
But if I start with just "Parallel" in the search box (no quotes), then '-XX:ParallelGCThread' is shown as a choice, among other JVM args containing the string 'parallel'.
The text was updated successfully, but these errors were encountered: