Skip to content

Conversation

@lnhsingh
Copy link
Collaborator

@lnhsingh lnhsingh commented Nov 4, 2025

Overview

  • Add language to navigation to enable localization
  • Update theme to accommodate localization
  • Update README
  • Cleanup unused CSS

Type of change

Type: New styling and updated README

Copilot AI review requested due to automatic review settings November 4, 2025 17:39
@lnhsingh lnhsingh requested a review from katmayb as a code owner November 4, 2025 17:39
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Mintlify preview ID generated: preview-locali-1762278006-ca34b6d

Copy link
Contributor

Copilot AI left a comment

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 updates the documentation site's theme and styling configuration while restructuring the navigation to support multi-language documentation (English localization). The changes prepare the site for internationalization and apply new visual design tokens.

Key changes:

  • Theme and styling updates: Changed from "aspen" to "palm" theme, updated dark mode color, changed heading font from "Inter" to "Manrope"
  • CSS simplification: Removed custom color variables and dark mode styles, retained only utility overrides
  • Navigation restructure: Wrapped the entire navigation in a languages array with "en" language support, enabling future localization
  • Navigation terminology: Changed from "products" to "languages.products" structure

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/style.css Removed custom CSS variables and dark mode styles; simplified to essential utility overrides
src/docs.json Changed theme to "palm", updated colors/fonts, restructured navigation with language wrapper for i18n support

a[href] code {
color: inherit !important;
text-decoration: none !important; /* Remove underline from code itself */
padding: 0 !important; /* Remove padding to prevent gaps in parent link underline */

This comment was marked as resolved.

lnhsingh and others added 2 commits November 4, 2025 14:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 4, 2025 19:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

.callout a,
[class*="callout"] a {
font-size: inherit !important; /* Match callout text size */
color: inherit !important; /* Match callout text color */
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

Line 18 (previously line 19) removed the 'text-decoration: inherit !important' rule for callout links. This change may affect the visual consistency of links within callouts. If the removal was intentional to simplify styling, ensure that callout links still have appropriate visual indicators (such as underlines) to distinguish them from regular callout text for accessibility.

Suggested change
color: inherit !important; /* Match callout text color */
color: inherit !important; /* Match callout text color */
text-decoration: inherit !important; /* Ensure links are visually distinct */

Copilot uses AI. Check for mistakes.
@langchain-ai langchain-ai deleted a comment from Copilot AI Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Mintlify preview ID generated: preview-locali-1762287107-c6f95d2

Copilot AI review requested due to automatic review settings November 4, 2025 20:19
@github-actions github-actions bot added the oss label Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Mintlify preview ID generated: preview-locali-1762287630-568be2b

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

"name": "Docs by LangChain",
"description": "Documentation for LangChain, LangGraph, LangSmith, and more.",
"colors": {
"primary": "#2F6868",
"light": "#84C4C0",
"dark": "#2F6868"
"dark": "#1C3C3C"
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

The dark color value has changed from '#2F6868' to '#1C3C3C', making it significantly darker. Consider documenting this color change in a changelog or migration guide if this is a breaking visual change that affects existing customizations or branding.

Copilot uses AI. Check for mistakes.
@@ -18,7 +18,7 @@
},
"fonts": {
"heading": {
"family": "Inter"
"family": "Manrope"
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

The heading font has changed from 'Inter' to 'Manrope'. Verify that the Manrope font is properly loaded/available in the Mintlify theme, as missing fonts can cause fallback to system defaults and affect visual consistency.

Copilot uses AI. Check for mistakes.
Co-authored-by: Kathryn May <44557882+katmayb@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 4, 2025 20:23
Co-authored-by: Kathryn May <44557882+katmayb@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Mintlify preview ID generated: preview-locali-1762287856-7e0a70b

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

README.md:1

  • The horizontal rule uses four dashes ---- instead of the standard three dashes --- used elsewhere in the file (e.g., lines 40, 65, 318). For consistency, this should be changed to ---.
# LangChain Docs

Comment on lines 122 to +123
"navigation": {
"products": [
"languages": [
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

According to the Mintlify docs.json schema, the navigation object should contain products directly, not wrapped in a languages array. The languages configuration should be at the root level of docs.json alongside navigation. This structure appears to be implementing custom internationalization support, but if this isn't officially supported by Mintlify or hasn't been verified to work, it could cause navigation issues. Please verify this structure is correct and document it if it's a custom implementation.

Copilot uses AI. Check for mistakes.
@lnhsingh lnhsingh merged commit d7ff352 into main Nov 4, 2025
11 checks passed
@lnhsingh lnhsingh deleted the localization branch November 4, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants