-
Notifications
You must be signed in to change notification settings - Fork 134
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
RUMM-1769 Add Objective-C documentation snippets #705
Conversation
{{< tabs >}} | ||
{{% tab "US" %}} | ||
|
||
{{< site-region region="us" >}} |
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.
Use the same format as Android. Should we provide all regions?
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.
Bumping this question about region support: would be good to include support/no support for US3, US5, and Gov.
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 can also add this in another doc card too (thanks for your patience)!
7a595bb
to
56c59ae
Compare
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 snippet in DDUIKitRUMViewsPredicate
still needs translation, but in general this looks great - nice work!
Two questions though:
- Shouldn't we use
nil
instead ofNULL
all around? AFAIKnil
is more idiomatic for Objective-C andNULL
is/was used to satisfy C/++ code, no? - Have we tried previewing this doc with docs website running locally? Would be good to see if all tabs are consistent before we deploy it.
True, too long I haven't touched objc :)
Not yet, I wasn't able to do so last time I tried. I will give it a shot. |
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.
👌👌
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.
i don't how these markdowns are rendered in actual docs pages, if they look good then ignore my alignment issue comments
ccecf59
to
a0b499b
Compare
a0b499b
to
6f1c83b
Compare
Hey @maxep, I'm creating a test documentation branch now so you can see the doc site preview! |
I just opened this test PR (#12928) for you to preview the changes in the doc site! https://docs-staging.datadoghq.com/alai97/RUMM-1769-doc-test-update/logs/log_collection/ios/#pagetitle and https://docs-staging.datadoghq.com/alai97/RUMM-1769-doc-test-update/real_user_monitoring/ios/ for example 🙃 |
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.
Looks good for docs!
Thanks @alai97! But I don't see the changes in https://docs-staging.datadoghq.com/alai97/RUMM-1769-doc-test-update/real_user_monitoring/ 🤔 |
@maxep are you expecting to see an update on the product landing page you linked to? I just fixed my doc branch, can you try again? |
Seems like @alai97's branch is functionnal with tabs for Swift/Obj C |
It's working now, thank you @alai97 🙏 |
What and why?
Add Objective-C version to all snippets when applicable.
Review checklist