Skip to content

docs(v0.3): add version dropdown (stable/dev) - #11863

Merged
naorpeled merged 1 commit into
v0.3from
docs/version-dropdown-v0.3
Dec 20, 2025
Merged

naorpeled merged 1 commit into
v0.3from
docs/version-dropdown-v0.3

Conversation

@naorpeled

@naorpeled naorpeled commented Dec 20, 2025 •

Copy link
Copy Markdown
Member

Adds a navbar "Version" dropdown to the v0.3 docs site so users can switch between:

image

Copilot AI review requested due to automatic review settings December 20, 2025 20:29
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Use a relative path for internal links

Replace the hardcoded production URL in the href for the "Stable (v0.3)" link
with a relative path (/) to ensure it works correctly in all deployment
environments.

docs/docusaurus.config.ts [106-109]

 {
     label: "Stable (v0.3)",
-    href: "https://typeorm.io",
+    href: "/",
 },
  • Apply / Chat
Suggestion importance[1-10]: 6

__

Why: The suggestion correctly points out that using an absolute URL for an internal link can cause issues in non-production environments and proposes using a relative path, which is the correct approach.

Low
  • More

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a version selection dropdown to the v0.3 documentation site's navbar, allowing users to easily switch between the stable (v0.3) and development (master) versions of the documentation.

Key Changes:

  • Added a "Version" dropdown menu to the navbar with links to both stable and dev documentation sites

@gioboa gioboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Thank you @naorpeled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants