-
Notifications
You must be signed in to change notification settings - Fork 44
refactor: simplify iframe styling and remove sidebar visibility logic #371
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
Conversation
|
Warning Rate limit exceeded@elibosley has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 5 minutes and 5 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
📝 Walkthrough📝 WalkthroughPre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
Comment |
- Eliminated the `sidebar` parameter from the iframe configuration details and related examples in the documentation. - Updated the `buildDocsUrl` function to reflect this change, simplifying the URL construction process. - Adjusted related guidance to focus on essential parameters for iframe usage.
|
- Introduced a new optional query parameter `lang=<locale>` for setting the initial Docs language in the iframe. - Updated the `buildDocsUrl` function to accommodate the new language parameter, ensuring generated URLs reflect the selected locale. - Adjusted documentation to clarify the usage of the new language option.
- Removed the `lang` parameter and replaced it with `locale` for better clarity in setting the initial Docs language. - Introduced a new function, `prefixLocale`, to handle locale-specific URL construction. - Updated the `buildDocsUrl` function to utilize the new locale handling, ensuring URLs reflect the desired language segment. - Revised documentation to clarify the usage of the locale parameter and its impact on the iframe experience.
- Simplified the conditions for running jobs in the PR workflow by removing specific event types for `pull_request`. - Adjusted the checkout action to use the full repository name and reference from the pull request context. - Ensured lint fixes are pushed to the correct branch reference based on the pull request context.
Before Submitting This PR, Please Ensure You Have Completed The Following:
Summary by CodeRabbit
Bug Fixes
Chores
Documentation