-
Notifications
You must be signed in to change notification settings - Fork 206
Improvements to API Reference #830
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8777404
feat: move API docs outside of Next site
backlineint 982e9c6
feat: port all examples from getResource docs to Typedoc version
backlineint 02c22f9
feat: example of ignoring something from tsdoc docs
backlineint 16c6e0b
feat: example of marking something as deprecated
backlineint 61488cd
docs: add additional detail to getResource entry
backlineint 27cd1b7
docs: initial revisions to getResourceFromContext typedoc
backlineint 1509e09
docs: add remaining examples to getResourceFromContext typedoc
backlineint 32d40b1
docs: add examples for getResourceByPath
backlineint d666e5f
docs: add reference examples to getResourceCollection
backlineint b06eb64
docs: add reference example for getResourceCollectionFromContext
backlineint af6086a
docs: add reference examples to next-drupal createResource
backlineint 9000395
docs: add reference examples to createFileResource
backlineint a01008b
docs: add reference examples to updateResource
backlineint f763ddc
docs: add reference examples to deleteResource
backlineint 2e8d778
docs: add reference examples to getStaticPathsFromContext
backlineint 4c5f95a
docs: add reference examples to translatePath
backlineint cbe0eab
docs: add reference examples to translatePathFromContext
backlineint 6162143
docs: add reference examples to getPathFromContext
backlineint 92d936e
docs: add reference examples for getEntryForResourceType
backlineint e16c976
docs: add reference examples for preview method
backlineint 26582a5
docs: add reference examples to getAccessToken
backlineint a7c852d
docs: add reference examples to getMenu
backlineint 7a61575
docs: add reference examples to getView
backlineint 2015920
docs: add reference examples to getSearchIndex
backlineint 63d1e3b
docs: add reference examples to buildUrl
backlineint ace7dac
docs: add reference examples to fetch
backlineint 4d27b15
docs: add reference examples for deserialize
backlineint 8a8d762
docs: update 2.0 announcement, including contributors
backlineint b0633e4
docs: correctly filter list of contributors in 2.x announcement
backlineint 0e3158f
docs: update to umami demo guide
backlineint e267f77
docs: minor updates to GraphQL auth entry
backlineint 2ca5e46
docs: remove todo
backlineint 3da32e4
docs: updates to draft mode quick start
backlineint 35c5f6e
docs: tweaks to oauth client docs to allow for revisions
backlineint 6783a36
docs: updates to on-demand validation quick start
backlineint File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "plugin": ["typedoc-plugin-markdown"], | ||
| "entryPoints": ["../packages/next-drupal/src/index.ts"], | ||
| "out": "content/docs/api", | ||
| "fileExtension": ".mdx", | ||
| "hidePageHeader": true | ||
| "out": "public/api", | ||
| "navigationLinks": { | ||
| "Back to Docs": "/docs" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This examples diff was made by feeding the markdown from the old reference section to Copilot, which made this waaaay less tedious.
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.
Nice! This looks really good.