-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Improve scalar docs: document 'cdn' setting #3006
Conversation
…d by the latest @scalar/api-reference
Caution Review failedThe pull request is closed. WalkthroughThe update removes the Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (3)
packages/specs/scalar/src/ScalarModule.ts
(0 hunks)packages/specs/scalar/src/middlewares/indexMiddleware.ts
(0 hunks)docs/tutorials/scalar.md
(2 hunks)
💤 Files with no reviewable changes (2)
- packages/specs/scalar/src/middlewares/indexMiddleware.ts
- packages/specs/scalar/src/ScalarModule.ts
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
docs/tutorials/scalar.md
96-96: Fenced code blocks should be surrounded by blank lines
null
(MD031, blanks-around-fences)
112-112: Fenced code blocks should be surrounded by blank lines
null
(MD031, blanks-around-fences)
⏰ Context from checks skipped due to timeout of 90000ms (9)
- GitHub Check: test-third-parties (20.12.2)
- GitHub Check: test-specs (20.12.2)
- GitHub Check: test-security (20.12.2)
- GitHub Check: test-platform (20.12.2)
- GitHub Check: test-graphql (20.12.2)
- GitHub Check: test-orm (20.12.2)
- GitHub Check: test-core (20.12.2)
- GitHub Check: lint (20.12.2)
- GitHub Check: CodeQL-Build
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.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (2)
docs/tutorials/scalar.md
(2 hunks)docs/tutorials/scalar.md
(1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
docs/tutorials/scalar.md
96-96: Fenced code blocks should be surrounded by blank lines
null
(MD031, blanks-around-fences)
112-112: Fenced code blocks should be surrounded by blank lines
null
(MD031, blanks-around-fences)
⏰ Context from checks skipped due to timeout of 90000ms (9)
- GitHub Check: test-third-parties (20.12.2)
- GitHub Check: test-specs (20.12.2)
- GitHub Check: test-security (20.12.2)
- GitHub Check: test-platform (20.12.2)
- GitHub Check: test-orm (20.12.2)
- GitHub Check: lint (20.12.2)
- GitHub Check: test-graphql (20.12.2)
- GitHub Check: test-core (20.12.2)
- GitHub Check: CodeQL-Build
🔇 Additional comments (2)
docs/tutorials/scalar.md (2)
75-80
: Capitalize "URL" in the cdn Option DescriptionIn the options table, the new
cdn
row currently describes the URL as “Url to the @scalar/api-reference package.” To improve clarity and consistency with common usage, please change “Url” to “URL.”-| cdn | `https://cdn.jsdelivr.net/npm/@scalar/api-reference` | Url to the @scalar/api-reference package. | +| cdn | `https://cdn.jsdelivr.net/npm/@scalar/api-reference` | URL to the @scalar/api-reference package. |🧰 Tools
🪛 LanguageTool
[uncategorized] ~79-~79: Did you mean: “By default,”?
Context: ... | OpenAPI file name. By default openapi.json. ...(BY_DEFAULT_COMMA)
1-180
: Overall Documentation Update ApprovedThe updated documentation successfully introduces the new
cdn
configuration option and removes the deprecated_integration
setting as intended. The structure is clear and the examples are well integrated into the existing content.🧰 Tools
🪛 LanguageTool
[uncategorized] ~27-~27: The preposition “to” seems more likely in this position.
Context: ...` Then add the following configuration in your Server: <<< @/tutorials/snippets/...(AI_EN_LECTOR_REPLACEMENT_PREPOSITION)
[uncategorized] ~79-~79: Did you mean: “By default,”?
Context: ... | OpenAPI file name. By default openapi.json. ...(BY_DEFAULT_COMMA)
🪛 markdownlint-cli2 (0.17.2)
13-13: Inline HTML
Element: Banner(MD033, no-inline-html)
88-88: Bare URL used
null(MD034, no-bare-urls)
96-96: Fenced code blocks should be surrounded by blank lines
null(MD031, blanks-around-fences)
112-112: Fenced code blocks should be surrounded by blank lines
null(MD031, blanks-around-fences)
175-175: Inline HTML
Element: GithubContributors(MD033, no-inline-html)
179-179: Inline HTML
Element: GithubContributors(MD033, no-inline-html)
🎉 This PR is included in version 8.5.4 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Information
Document
cdn
setting of scalar and remove_integration
from settings because the "tsed" value is not supported by the latest version of @scalar/api-reference.Summary by CodeRabbit