feat: Add language switcher#658
Merged
aXenDeveloper merged 3 commits intocanaryfrom Jun 18, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Pull Request Overview
This PR reorganizes and cleans up the VitNode documentation by restructuring navigation, renaming SSO configuration keys, introducing new “under construction” callouts, and adding initial guides for plugins, i18n, and database usage.
- Renamed all
ssoPluginsentries tossoProvidersin SSO guides for consistency. - Updated the docs navigation (
meta.json) to include new Plugins, REST API, Database, UI, and I18n sections. - Added “under construction” callouts to various
devdocs and introduced newplugins,i18n, anddatabasedeveloper guides while removing the outdatedplugins/database/index.mdx.
Reviewed Changes
Copilot reviewed 44 out of 44 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| apps/docs/content/docs/plugins/database/index.mdx | Removed outdated database plugin guide |
| apps/docs/content/docs/guides/sso/google.mdx | Renamed ssoPlugins → ssoProviders |
| apps/docs/content/docs/guides/sso/facebook.mdx | Renamed ssoPlugins → ssoProviders (missing object wrapper on auth) |
| apps/docs/content/docs/guides/sso/discord.mdx | Renamed ssoPlugins → ssoProviders |
| apps/docs/content/docs/guides/meta.json | Inserted Plugins section header and “blog” page |
| apps/docs/content/docs/dev/swagger.mdx | Added warning callout |
| apps/docs/content/docs/dev/sso.mdx | Renamed ssoPlugins → ssoProviders |
| apps/docs/content/docs/dev/rest-api.mdx | Changed title to “Restful API” |
| apps/docs/content/docs/dev/plugins.mdx | New Plugins guide with warning callout |
| apps/docs/content/docs/dev/meta.json | Updated sidebar order: Plugins, REST API, Database, UI, etc. |
| apps/docs/content/docs/dev/index.mdx | Added warning callout |
| apps/docs/content/docs/dev/i18n/namespaces.mdx | Adjusted file paths in examples |
| apps/docs/content/docs/dev/i18n/meta.json | Added I18n section |
| apps/docs/content/docs/dev/i18n/index.mdx | New “Expand Languages” guide with warning callout |
| apps/docs/content/docs/dev/database/index.mdx | New Database developer guide |
| apps/docs/content/docs/dev/auth.mdx | Added warning callout |
Comments suppressed due to low confidence (6)
apps/docs/content/docs/dev/swagger.mdx:7
- [nitpick] Remove the emoji from the callout title to comply with the docs guideline 'Don't use emoji on headings'.
<Callout type="warn" title="This documentation is under construction! 🚧">
apps/docs/content/docs/dev/index.mdx:7
- [nitpick] Remove the emoji from the callout title to avoid emoji in headings per documentation guidelines.
<Callout type="warn" title="This documentation is under construction! 🚧">
apps/docs/content/docs/dev/plugins.mdx:6
- [nitpick] Remove the emoji from the callout title to follow the rule against emoji in headings.
<Callout type="warn" title="This documentation is under construction! 🚧">
apps/docs/content/docs/dev/auth.mdx:6
- [nitpick] Consider removing the emoji from the callout title, as headings should not contain emojis.
<Callout type="warn" title="This documentation is under construction! 🚧">
apps/docs/content/docs/dev/i18n/index.mdx:6
- [nitpick] Remove the emoji from this callout title to comply with the documentation guideline that disallows emojis in headings.
<Callout type="warn" title="This documentation is under construction! 🚧">
apps/docs/content/docs/guides/sso/facebook.mdx:65
- It looks like the
authorizationproperty above is missing its colon and object braces, which may break the YAML snippet. Consider changingauthorizationtoauthorization: {before this line and closing the brace after the array.
ssoProviders: [
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Improving Documentation
pnpm lint:fixto fix formatting issues before opening the PR.Description
What?
Why?
How?