-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Update browser-rendering.yaml #24101
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
Conversation
clarify viewport is for screenshot endpoint
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
add what the default viewport is
|
Preview URL: https://b9a55f96.preview.developers.cloudflare.com Files with changes (up to 15) |
|
|
||
| For more options to control the final screenshot, like `clip`, `captureBeyondViewport`, `fullPage` and others, check the endpoint [reference](/api/resources/browser_rendering/subresources/screenshot/methods/create/). | ||
|
|
||
| :::note |
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.
A thought on this one...
I tend to assume that one note = one concept. In this case, am I right in understanding that these two pieces of information are unrelated to each other (except for the fact that they are both good things to know for basic usage)? If so, I would suggest either:
- Keep as a note, but put a heading on the note like
Notes for basic usageand then bullet each, to make it obvious that they may be unrelated concepts. - Break into two separate notes and maybe give them both headings. (I'm not partial to this because it's a little too busy. And it's also hard to scale if we end up with more notes).
- Make into a bulleted list of "Additional things to know..." but don't use the note component at all.
Co-authored-by: ToriLindsay <[email protected]>
src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/browser-rendering/rest-api/screenshot-endpoint.mdx
Outdated
Show resolved
Hide resolved
* Update browser-rendering.yaml clarify viewport is for screenshot endpoint * Update screenshot-endpoint.mdx add what the default viewport is * Update src/content/release-notes/browser-rendering.yaml Co-authored-by: ToriLindsay <[email protected]> * Apply suggestions from code review --------- Co-authored-by: ToriLindsay <[email protected]>
clarify viewport is for screenshot endpoint
Summary
Screenshots (optional)
Documentation checklist