-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add quick installation for maven to the registry #5330
Add quick installation for maven to the registry #5330
Conversation
@svrnm am I supposed to make a change in quick install? I followed the same format in the entry.html however, it's showing I would appreciate your guidance on this. Thanks. |
Also the spelling check job is failing, did I do something wrong? |
hey @mercybassey, good start! first of all, do not worry about the spell checker or any other issues, as long as the preview builds we are fine: https://deploy-preview-5330--opentelemetry.netlify.app/ Let me take a look why it shows |
works in the preview, maybe some local caching issue |
@svrnm I ran |
@svrnm I noticed that the package information can be accessed using Using Go's index function I was able to represent I also removed |
great work 👍 |
lgtm overall, can you do the following please to fix the remaining CI issues:
After you have done that, I would see this task as completed. If you are open for an extra challenge, there is one more thing you can do: throughout the OpenTelemetry Java Documentation we provide instructions for Maven & Gradle, e.g. here is an example: https://opentelemetry.io/docs/languages/java/instrumentation/#dependency-management, and here you see how it is implemented using tabs: https://github.com/open-telemetry/opentelemetry.io/blob/main/content/en/docs/languages/java/instrumentation.md#dependency-management So maybe you can update your could to support the maven snippet (that you have already) and the Gradle one, as listed here: https://central.sonatype.com/artifact/io.opentelemetry.instrumentation/opentelemetry-okhttp-3.0?smo=true by providing tabs as outlined above. |
@mercybassey, apologies, but I just realized that you can not use shortcodes in that partial. This is a limitation of hugo I was running into multiple times already! This is not trivial to work around unfortunately, as you would need to replicate the whole tabbing logic. The easiest solution is just having gradle and maven below each other and stating that in a few sentences. |
Hi @svrnm I'm currently facing an issue when adding the tabs. I made the existing code snippet for Maven appear in a tab to see how it looks locally before adding the code snippets for Gradle. When I run
I noticed that opentelemetry.io uses the Docsy theme, so I followed the guide here. But I still cannot bypass or resolve the above error. I'd appreciate your help on this. Thanks. |
Okay. I'll do just that. |
@svrnm I have added the code snippets for gradle, gradle(short) and gradle(kotlin). I'd like to know what you think. Thanks. |
I also ran |
it looks like maven does not like our crawler that we use to verify that their page is valid. That's out of scope for you to fix, let me do that for you.
It looks really great, thank you! |
@mercybassey I added a fix for the CI issue, if you run |
Thank you @mercybassey! This looks really good, I consider this as done! After the outreachy application phase we will take another look and see if we can merge this PR. |
Thank you. |
Co-authored-by: Severin Neumann <[email protected]>
Co-authored-by: Severin Neumann <[email protected]>
Signed-off-by: svrnm <[email protected]>
Signed-off-by: svrnm <[email protected]>
104a1a1
to
d059939
Compare
Signed-off-by: svrnm <[email protected]>
@mercybassey thank you once again for your contribution! |
Signed-off-by: svrnm <[email protected]> Co-authored-by: Severin Neumann <[email protected]>
Signed-off-by: svrnm <[email protected]> Co-authored-by: Severin Neumann <[email protected]>
This pull request fixes #5308 and adds quick installation for
okHTTP Instrumentation