[PR #1632] [MERGED] fix: typescript indentation inconsistent or missing #1713

Closed
opened 2026-02-17 17:22:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1632
Author: @bwhiting2356
Created: 11/25/2025
Status: Merged
Merged: 12/1/2025
Merged by: @lnhsingh

Base: mainHead: brendan/fix-indentation


📝 Commits (5)

📊 Changes

1 file changed (+46 additions, -46 deletions)

View changed files

📝 src/langsmith/observability-quickstart.mdx (+46 -46)

📄 Description

Overview

Fixed indentation in JavaScript/TypeScript code example in the LangSmith observability quickstart guide (link). The code inside function bodies was missing proper indentation, which could confuse readers and doesn't follow standard formatting conventions.

Type of change

Type: Fix typo/bug/link/formatting

Before:
Screenshot 2025-11-25 at 7 45 18 PM

After:
Screenshot 2025-11-25 at 7 46 34 PM

Related issues/PRs

  • GitHub issue: N/A

  • Feature PR: N/A

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly

Additional notes

This change improves code readability by adding proper 4-space indentation to the function bodies in the RAG example. The change is purely cosmetic and does not affect the functionality of the code. The indentation now follows standard JavaScript/TypeScript formatting conventions, making it easier for readers to understand the code structure.

Files changed:

  • src/langsmith/observability-quickstart.mdx - Fixed indentation in traceable RAG example (lines 311-338)

Note: This PR was created with assistance from an AI coding assistant.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/1632 **Author:** [@bwhiting2356](https://github.com/bwhiting2356) **Created:** 11/25/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `brendan/fix-indentation` --- ### 📝 Commits (5) - [`7d80655`](https://github.com/langchain-ai/docs/commit/7d806556d30cb250d08b26433a1320468fc1842e) fix indentation - [`2410503`](https://github.com/langchain-ai/docs/commit/241050323263b249e77f624ba2186dc745f01862) fix indentation - [`b089a9b`](https://github.com/langchain-ai/docs/commit/b089a9b685340bf383de82e417b42ffcc77bdc0d) fix indentation - [`8433712`](https://github.com/langchain-ai/docs/commit/8433712cb661e40ba7a64ac616330f630f82ca4f) fix indentation - [`efc9cac`](https://github.com/langchain-ai/docs/commit/efc9cac968a25851e25de57cd38a9533aec51c0e) fix indentation ### 📊 Changes **1 file changed** (+46 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/observability-quickstart.mdx` (+46 -46) </details> ### 📄 Description ## Overview Fixed indentation in JavaScript/TypeScript code example in the LangSmith observability quickstart guide ([link](https://docs.langchain.com/langsmith/observability-quickstart#video-guide)). The code inside function bodies was missing proper indentation, which could confuse readers and doesn't follow standard formatting conventions. ## Type of change **Type:** Fix typo/bug/link/formatting Before: <img width="600" height="603" alt="Screenshot 2025-11-25 at 7 45 18 PM" src="https://github.com/user-attachments/assets/8aab2d2e-86e8-49f3-ac3a-50e454faf7ba" /> After: <img width="605" height="593" alt="Screenshot 2025-11-25 at 7 46 34 PM" src="https://github.com/user-attachments/assets/79fdf0cf-d88f-4d13-a49d-9eeedf1e0820" /> ## Related issues/PRs - GitHub issue: N/A - Feature PR: N/A ## Checklist - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly ## Additional notes This change improves code readability by adding proper 4-space indentation to the function bodies in the RAG example. The change is purely cosmetic and does not affect the functionality of the code. The indentation now follows standard JavaScript/TypeScript formatting conventions, making it easier for readers to understand the code structure. Files changed: - `src/langsmith/observability-quickstart.mdx` - Fixed indentation in traceable RAG example (lines 311-338) **Note:** This PR was created with assistance from an AI coding assistant. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:22:39 -05:00
yindo closed this issue 2026-02-17 17:22:39 -05:00
yindo changed title from [PR #1632] fix: typescript indentation inconsistent or missing to [PR #1632] [MERGED] fix: typescript indentation inconsistent or missing 2026-06-05 18:14:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1713