Commit Graph

7 Commits

Author SHA1 Message Date
Kathryn May 68a794b106 WIP Draft nav + sidebar updates for langsmith platform (#651)
This PR updates the docs for LangSmith Platform, folding in LGP.
Specifically:

- Update to tab arrangement.
- Big content changes in Deployments tab (now Agent deployment as well
as Platform infrastructure deployment).
- Changing the name of the Studio feature.
- Overhaul of home page.
- Updates to tab landing pages to follow the same card format
consistently.
- Moving LGP content into the LS directory in the docs.

## Latest preview:


https://langchain-5e9cc07a-preview-langsm-1760109143-df9b7ef.mintlify.app/langsmith/home
2025-10-14 10:21:52 -04:00
Hunter Lovell 2c508dadef fix(js): add gtm plugin (#770) 2025-10-07 12:23:19 -04:00
Hunter Lovell d6140ff4b6 fix: js reference enhancements (#718) 2025-10-01 16:26:18 -04:00
Mason Daugherty 37e3da7be7 more reference docs updates / README.md update (#716) 2025-10-01 15:53:47 -04:00
Hunter Lovell a20a4a3c6e chore(reference): disable early hints (#668) 2025-09-29 06:58:43 -04:00
Hunter Lovell f923ab0959 fix(reference/js): pull using archives instead of git clone (#646) 2025-09-26 12:18:38 -07:00
Hunter Lovell 910001ce1a feat: reference docs (#640)
Adds a new `reference/` path that centralizes the logic for creating
reference documentation

## For Python

We can leverage the existing reference docs pipeline thats used within
the `langchain` repo, and adapting it to include docs from more sources
(see https://github.com/langchain-ai/langchain/pull/33066). More details
about how this works are in `reference/python/README.md`.

## For TypeScript

We'll be keeping the existing [typedoc](https://typedoc.org/) library to
render references, but we're onshoring the work of consolidating those
into one reference site within this repo.

The basic process of how that happens is:
* by reading a statically defined list of packages and their locations
(defined in reference/javascript/build.ts`)
* doing a shallow clone of each unique repo + branch
* doing the appropriate install steps so that types can be inferred
properly
* extracting package entrypoints by reading the `exports` key in
`package.json`
* pointing typedoc to add those as entrypoints with the [packages
strategy](https://typedoc.org/documents/Options.Input.html#packages)
* building the typedoc outputs to reference/dist/javascript/

## New `make` targets

- `make build-references` will run scripts to format python + js
reference documentation concurrently (which will end up in
reference/dist/)
- `make preview-references` will run aforementioned build scripts and
start a dev server (this won't work until a vercel project is
configured)

## Vercel Setup

In order for these changes to be reflected on `reference.langchain.com`,
a new Vercel project needs to be created (which can happen once this is
merged).

This was tested against a "test" vercel setup and works as expected,
with both reference targets accessible from their respective subpaths
2025-09-24 17:30:34 -04:00