-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from squidfunk:master #18
Conversation
🚨 gitStream Monthly Automation Limit Reached 🚨 Your organization has exceeded the number of pull requests allowed for automation with gitStream. To continue automating your PR workflows and unlock additional features, please contact LinearB. |
Reviewer's Guide by SourceryThis pull request includes several fixes and improvements. It adds a timeout to HTTP requests in the privacy plugin, updates the configuration of the preview extension, clarifies caching, fixes a bug in the privacy plugin, and updates the theme version. Sequence diagram for handling HTTP request timeout in Privacy PluginsequenceDiagram
participant P as Privacy Plugin
participant R as requests.get()
participant S as External Server
P->>R: requests.get(file.url, timeout=DEFAULT_TIMEOUT_IN_SECS)
activate R
alt Successful Response
R->>S: GET file.url
activate S
S-->>R: Response (status 200)
deactivate S
R-->>P: Response object
P->>P: Process response
else Connection Error or HTTP Error
R-->>P: Exception (ConnectionError or HTTPError)
P->>P: log.warning(f"Couldn't retrieve {file.url}: {error}")
P-->>P: return None
end
deactivate R
Updated class diagram for Privacy Plugin's _fetch methodclassDiagram
class PrivacyPlugin {
_fetch(file: File, config: MkDocsConfig)
}
class File {
url: URL
}
class MkDocsConfig {
}
PrivacyPlugin -- File : uses
PrivacyPlugin -- MkDocsConfig : uses
note for PrivacyPlugin "Added timeout and error handling to requests.get()"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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 (
|
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
This pull request includes bug fixes for the privacy plugin and tag listing, enhances the instant previews configuration, updates documentation, and bumps the version to 9.6.5.
Bug Fixes:
Enhancements:
configurations
setting.Build:
Documentation:
Chores: