-
Notifications
You must be signed in to change notification settings - Fork 8.1k
jekyll: enable sitemap and local search for dev environment #15250
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
jekyll: enable sitemap and local search for dev environment #15250
Conversation
✅ Deploy Preview for docsdocker ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
|
Not a regression but looks like last modification date is not populated with the
|
|
Hmm... looks like something is broken in general on docs.docker.com; https://docs.docker.com/sitemap.xml looks like the env-var is not being substituted; did we break that somewhere along the line? Funny thing is that the first entry actually looks to have a date set, but items following it don't? |
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
41b9526 to
0859d0b
Compare
|
@thaJeztah Rebased and also moved the URLs fix script from the Dockerfile to a Jekyll plugin to be aligned with other plugins and allows netlify to use it as well. |
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
0859d0b to
d2fca0e
Compare
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sitemap can be viewed here; https://deploy-preview-15250--docsdocker.netlify.app/sitemap.xml
LGTM!
|
@usha-mandya PTAL |


closes #14784
also related to #15179 as well as follow-up #15153
To test changes for local search but also the sitemap in our lab environment we need to enable these features. Since Jekyll 4, sitemap generation as well as metadata.json is pretty well optimized and takes less than 1 second for our docs so I think we can enable them for all environments which will allow us to check if nothing is broken on netlify environments before merging PRs.
Stats for sitemap and local search disabled:
Enabled:
Signed-off-by: CrazyMax crazy-max@users.noreply.github.com