-
Notifications
You must be signed in to change notification settings - Fork 208
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
fix java search undefined hack #7574
Conversation
Your site preview for commit ba83f0f is ready! 🎉 http://pulumi-docs-origin-pr-7574-ba83f0fc.s3-website.us-west-2.amazonaws.com. |
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.
🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.
Resource Changes
Name Type Operation
~ cdn aws:cloudfront/distribution:Distribution update
* origin-bucket-policy aws:s3/bucketPolicy:BucketPolicy replaced
Your site preview for commit 5b54495 is ready! 🎉 http://pulumi-docs-origin-pr-7574-5b544953.s3-website.us-west-2.amazonaws.com. |
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.
🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.
Resource Changes
Name Type Operation
~ cdn aws:cloudfront/distribution:Distribution update
* origin-bucket-policy aws:s3/bucketPolicy:BucketPolicy replaced
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.
We perhaps should not be editing a file copyrighted Oracle. This folder is autogenerated by the Javadoc target - and the fix will be wiped when we regenerate. Can we find and fix the root cause? Thanks.
https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url
Is bumping to JDK 12 fine? |
Interesting. It seems like changing default JDK is a big deal, more so than this error; we should at least retain some form of testing on 11. Can we scope the change to javadoc generation only? Generate Javadoc on 12 but the rest as-is on 11? |
@t0yv0 sorry it took so long to reply. Was on escalation rotation and a p0 reopened itself.
I'm not sure. The two options are:
|
It's not possible to patch generated code by hand, as the patch will be removed next time we re-gen the docs using https://github.com/pulumi/docs/blob/master/scripts/gen_javadoc.sh . If you could include a script that auto-patches the output as part of code generation that could be a viable workaround for now. |
@t0yv0 I've updated the script to overwrite the search.js file |
Your site preview for commit 0190f45 is ready! 🎉 http://pulumi-docs-origin-pr-7574-0190f457.s3-website.us-west-2.amazonaws.com. |
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.
🍹 The Update (preview) for stack pulumi/www.pulumi.com/production was successful.
Resource Changes
Name Type Operation
~ cdn aws:cloudfront/distribution:Distribution update
* origin-bucket-policy aws:s3/bucketPolicy:BucketPolicy replaced
Thank you! This makes it easy to keep updating the docs. |
Site previews for this pull request have been removed. ✨ |
Proposed changes
Java SDK docs had broken search functionality. @cnunciato added a workaround to replace undefined in the url. This PR adds an undefined check and removes the workaround.
Unreleased product version (optional)
Related issues (optional)
fixes pulumi/pulumi-java#595