Skip to content

Conversation

@jannikmaierhoefer
Copy link
Contributor

Unify Python and JS/TS SDK documentation into a single section using tabs to improve discoverability and reduce redundancy.

The previous documentation had separate sections for Python and JS/TS SDKs, despite having largely similar features. This PR merges these into a single, cohesive SDK section, where each feature page uses <Tabs> to present language-specific examples. This streamlines the user experience by centralizing SDK information and making it easier to compare implementations across languages. It also involves updating all internal links and redirects to point to the new structure.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Dec 2, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langfuse-docs Ready Ready Preview Comment Dec 3, 2025 7:12pm

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

📦 Next.js Bundle Analysis for langfuse-docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

New Pages Added

The following pages were added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/docs/observability/sdk/advanced-features 63.6 KB 467.81 KB 133.66%
/docs/observability/sdk/instrumentation 70.01 KB 474.22 KB 135.49%
/docs/observability/sdk/troubleshooting-and-faq 55.67 KB 459.87 KB 131.39%
/docs/observability/sdk/upgrade-path 61.53 KB 465.74 KB 133.07%

Two Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/docs/observability/get-started 69.22 KB 473.43 KB 135.26% (🟢 -0.15%)
/docs/observability/sdk/overview 65.69 KB 469.9 KB 134.26% (🟡 +2.67%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@jannikmaierhoefer jannikmaierhoefer changed the title Consolidate sdk documentation with tabs docs: combine JS/TS and Python SDK docs Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants