Skip to content
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

chore(docs): reduce warnings when generating docs #6138

Merged
merged 2 commits into from Jul 2, 2020
Merged

Conversation

jackfranklin
Copy link
Collaborator

This is a bunch of small miscellaneous fixes that reduce the amount of
warnings logged when generating our new docs. The long term goal is to
get this list down to 0 warnings, but I'll do it in multiple PRs.

This is a bunch of small miscellaneous fixes that reduce the amount of
warnings logged when generating our new docs. The long term goal is to
get this list down to 0 warnings, but I'll do it in multiple PRs.
@@ -27,6 +27,9 @@
},

"extractorMessageReporting": {
"ae-internal-missing-underscore": {
"logLevel": "none"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has been disabled because the docs tool wants anything marked as @internal to be prefixed with an underscore. We don't follow this convention (nor do I really want to) so I've disabled this.

@@ -33,7 +33,7 @@ type KeyDescription = Required<
* {@link Keyboard.up}, and {@link Keyboard.sendCharacter}
* to manually fire events as if they were generated from a real keyboard.
*
* On MacOS, keyboard shortcuts like `⌘ A` -> Select All do not work.
* On MacOS, keyboard shortcuts like `⌘ A` -\> Select All do not work.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to escape HTML chars in TSDoc comments

/**
* @public
*/
export type MouseButton = 'left' | 'right' | 'middle';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just simplified this type to make it easier to use and document

@jackfranklin jackfranklin merged commit 29f7e16 into main Jul 2, 2020
@jackfranklin jackfranklin deleted the docs-tidying branch July 2, 2020 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants