-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move hook documentation (and others) into code, improve documentation…
… components (#11381) * move some docs to comments * remove comments * fix missing space * add api_doc * tweak in file generation * build from docs branch * switch docs branch back to `main` * bump CI * Enum & PropertyDetails * WIP - see current state of `hooks.mdx` * completely remove `query-options` and `query-result` mdx * useMutation * handle subscription docs * better function signature * more hooks * fix up import * chores * formatting * suppress tsdoc warning * api explorer nitpicks * support for @deprecated * use prerendered markdown in comments to prevent client-side parsing * add propTypes * apply prettier * fixup * also display interface details for slightly complex types * heading styling, do not use h6 * since everywhere, styling, `link` defaults * add grouping, create documentation interface * `MutationOptionsDocumentation` interface * api reports * subscription options * api repots * prettier * fix some references * cleanup * fix up SubHeading links * don't add prefix to parameter properties * allow property deep linking * prettier * more cleanup * also add result documentation * more doccomment work * fixup * add missing import * fixup * remove `result` property (it's not a function) * Revert "remove `result` property (it's not a function)" This reverts commit 57c8526. * functions adjustments only show parameters section if there are parameters only show results if result is not `void` or user-specified * move heading out of example children * Update docs/shared/ApiDoc/EnumDetails.js Co-authored-by: Jerel Miller <[email protected]> * remove obsolete props * address top padding for "smaller" headings * review feedback * fixup codeblock * move `SourceLink` out of `Heading` * throw an error if both `as` and `headingLevel` are specified in `Heading` * move jsx * always link headings * move headings out of table components * review comment * Update docs/shared/ApiDoc/Tuple.js Co-authored-by: Jerel Miller <[email protected]> * nit :) * more updates * fix link --------- Co-authored-by: Jerel Miller <[email protected]>
- Loading branch information
1 parent
25b83da
commit 2a67ffc
Showing
67 changed files
with
2,830 additions
and
3,266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.