-
Notifications
You must be signed in to change notification settings - Fork 344
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
Various website updates #1169
Various website updates #1169
Conversation
this was safe previously, but we added more files to reference which means that `docs/` always gets clobbered by whatever's been created for the latest version Signed-off-by: Ashley Davis <[email protected]>
Signed-off-by: Ashley Davis <[email protected]>
when a Dropdown element was embedded in another Dropdown element, a <div> tag would appear as a direct descendent of a <ul> which is invalid (since only <li> are allowed to appear in <ul>) this change embeds the dropdown in an <li> which seems to work fine in testing and fixes the invalid HTML Signed-off-by: Ashley Davis <[email protected]>
Listbox (see https://headlessui.com/react/listbox) provides certain form elements for use, which get translated into normal HTML elements it's illegal for a <label> to appear inside a <button>, so this commit removes the label entirely which seems to have no visible effects and fixes the invalid HTML that was otherwise generated Signed-off-by: Ashley Davis <[email protected]>
✅ Deploy Preview for cert-manager-website ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for cert-manager-website ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
v1.11 CLI docs, etc have more updates because their updates weren't committed - they're regenerated at build time so the deployed version was correct, but committing here makes the repo better match reality Signed-off-by: Ashley Davis <[email protected]>
Thank you for these fixes @SgtCoDFish! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon, SgtCoDFish The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
<Dropdown | ||
routes={r} | ||
parentOpen={open} | ||
key={`${r.title}-${idx}`} |
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.
@SgtCoDFish
This key is now double (on this and the parent HTML tag), not sure if that is a good/ bad thing.
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 wasn't sure either 😂 But it worked fine for me in testing so I assumed it wouldn't be a huge problem!
See individual commit messages for details.
#1168 describes how even after this PR, API docs are still broken - but this PR should still improve the situation by removing invalid HTML from the sidebar