-
Notifications
You must be signed in to change notification settings - Fork 132
Fix docs #293
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
jooohhn
commented
Sep 10, 2020
- Fix deadlinks (Docs: Configuration Options link is broken. #291)
- Add new line spacing to long content

- Add deprecation notes and styling

kelvin-lu
left a comment
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.
lgtm! just a question
website/generate-jsdoc.js
Outdated
| } | ||
|
|
||
| function documentDeprecated(data) { | ||
| return `<div style={{ padding: '10px', backgroundColor: '#ff4c59' }}> |
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.
how is this affected by the dark/light modes ( i.e. will the dark mode cause text here to appear white)? It looks like this background flags a small warning on wcag color difference with black text and fails AA criteria with white text.
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.
Updated it, I think it should be good for AA standards now
* fix multiple param/return types generation * fix dead links * clean up docs spacing and content * fix deprecated notes in amplitude.js * Add style support for deprecated docs * Add admonitions