-
Notifications
You must be signed in to change notification settings - Fork 3
chore(docs): add docusaurus-plugin-openapi-docs
#110
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 all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d228655
Disable false-positive machine
b-long dd072fc
Run 'npm add docusaurus-plugin-openapi-docs docusaurus-theme-openapi-…
b-long 0388399
Vendor spec files
b-long 25e18af
Vendor spec files (samples)
b-long a00df29
Add generated files to .gitignore
b-long 2a6ce91
Add 'npm run' commands
b-long abee6bd
Initial 'docusaurus-plugin-openapi-docs' code
b-long cf0745d
Cleanup / simplify code
b-long 8467eee
Cleanup
b-long a52efbf
[MANUAL REVERT] onBrokenLinks: "throw"
b-long 09ad3e6
Sort languages, rename file
b-long 86ccfa4
Address copilot code review
b-long 71c3985
Fix copilot review: use string literal
b-long 49181a9
Clarify commented languages
b-long 18cbaf5
Conditionally build, using BUILD_OPENAPI_SAMPLES env var
b-long 22785c3
Revert "Disable false-positive machine"
b-long d01867c
Remove vendored swagger (JSON)
b-long 46f2799
Add 'entityresolution_v2'
b-long 64f8283
Remove unused import
b-long e56e95a
Disable false-positive machine
b-long 41a8431
Allow users to specify OpenAPI URL
b-long ad459c9
Merge branch 'main' into chore/add-docusaurus-openapi-docs
b-long 8e4f65c
Merge branch 'main' into chore/add-docusaurus-openapi-docs
b-long aa8d241
format api sidebards and remove unused sections (#115)
cassandrabailey293 2511d9e
Add 'npm run postbuild' process
b-long ea8140d
move intro removal into docusaurus config (#116)
cassandrabailey293 5f45934
Package 'glob' unused since ea8140d
b-long 759dbab
Cleanup
b-long 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name: Vale | |
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| - disabled | ||
|
|
||
| jobs: | ||
| vale-check: | ||
|
|
||
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,3 +1,7 @@ | ||
| specs-processed/ | ||
| docs/SDK-OpenAPI/ | ||
| docs/SDK-Samples/ | ||
|
|
||
| # Dependencies | ||
| /node_modules | ||
|
|
||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| /** | ||
| * This file defines language tabs configuration for OpenAPI documentation | ||
| * | ||
| * TODO: Note that the languages commented below have been removed, since we offer | ||
| * official SDKs for them, and we don't want to duplicate code or cause confusion. | ||
| */ | ||
| const languageTabs = [ | ||
| // { | ||
| // highlight: "go", | ||
| // language: "go", | ||
| // logoClass: "go", | ||
| // }, | ||
| // { | ||
| // highlight: "javascript", | ||
| // language: "nodejs", | ||
| // logoClass: "nodejs", | ||
| // }, | ||
| // { | ||
| // highlight: "java", | ||
| // language: "java", | ||
| // logoClass: "java", | ||
| // variant: "unirest", | ||
| // }, | ||
| // { | ||
| // highlight: "javascript", | ||
| // language: "javascript", | ||
| // logoClass: "javascript", | ||
| // }, | ||
| { | ||
| highlight: "bash", | ||
| language: "curl", | ||
| logoClass: "curl", | ||
| }, | ||
| { | ||
| highlight: "csharp", | ||
| language: "csharp", | ||
| logoClass: "csharp", | ||
| }, | ||
| { | ||
| highlight: "ruby", | ||
| language: "ruby", | ||
| logoClass: "ruby", | ||
| }, | ||
| { | ||
| highlight: "php", | ||
| language: "php", | ||
| logoClass: "php", | ||
| }, | ||
| { | ||
| highlight: "powershell", | ||
| language: "powershell", | ||
| logoClass: "powershell", | ||
| }, | ||
| { | ||
| highlight: "dart", | ||
| language: "dart", | ||
| logoClass: "dart", | ||
| }, | ||
| { | ||
| highlight: "c", | ||
| language: "c", | ||
| logoClass: "c", | ||
| }, | ||
| { | ||
| highlight: "objective-c", | ||
| language: "objective-c", | ||
| logoClass: "objective-c", | ||
| }, | ||
| { | ||
| highlight: "ocaml", | ||
| language: "ocaml", | ||
| logoClass: "ocaml", | ||
| }, | ||
| { | ||
| highlight: "r", | ||
| language: "r", | ||
| logoClass: "r", | ||
| }, | ||
| { | ||
| highlight: "swift", | ||
| language: "swift", | ||
| logoClass: "swift", | ||
| }, | ||
| { | ||
| highlight: "kotlin", | ||
| language: "kotlin", | ||
| logoClass: "kotlin", | ||
| }, | ||
| { | ||
| highlight: "rust", | ||
| language: "rust", | ||
| logoClass: "rust", | ||
| }, | ||
| { | ||
| highlight: "python", | ||
| language: "python", | ||
| logoClass: "python", | ||
| }, | ||
| ]; | ||
|
|
||
| // export it | ||
| export default languageTabs; |
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.
Uh oh!
There was an error while loading. Please reload this page.