-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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-data.json does not resolve included content #655
Comments
It appears that Jekyll renders pages in alphabetical order, see also this clarification. @SgtSilvio wrote:
That is why the generating file has the prefix On a moderately large site that makes use of included md files, the reported bug affects my generated search data when the site is built locally with jekyll@4.2, but not when using jekyll@3.8.7. By default, GH Pages still uses jekyll@3.8 🙄, so the bug might not appear on most published sites. However, I'm using GH Actions and jekyll@4.2 to build on GH Pages, and indeed, the bug shows up on the published site. |
This was due to a Jekyll regression, not a bug in Just the Docs. See my Jekyll issue comment for further details. |
The Jekyll v4.2.0 regression that caused this issue has been fixed. If it reappears, please reopen, mentioning the Jekyll version used. |
Describe the bug
If one of your content files includes other content via
{% include %}
the search data JSON file does not reflect this.To Reproduce
Steps to reproduce the behavior:
/_size/assets/js/search_data.json
Expected behavior
The content included from
IncludeMe.md
should turn up in the search-data.jsonThe text was updated successfully, but these errors were encountered: