langchain/docs/scripts
Erick Friis cd4c54282a
infra: cleanup docs build (#21134)
Refactors the docs build in order to:
- run the same `make build` command in both vercel and local build
- incrementally build artifacts in 2 distinct steps, instead of building
all docs in-place (in vercel) or in a _dist dir (locally)

Highlights:
- introduces `make build` in order to build the docs
- collects and generates all files for the build in
`docs/build/intermediate`
- renders those jupyter notebook + markdown files into
`docs/build/outputs`

And now the outputs to host are in `docs/build/outputs`, which will need
a vercel settings change.

Todo:
- [ ] figure out how to point the right directory (right now deleting
and moving docs dir in vercel_build.sh isn't great)
2024-05-01 17:34:05 -07:00
..
check_imports.py docs: format (#21132) 2024-04-30 23:32:41 +00:00
check-broken-links.js ci[minor]: Bump LC scripts package, add retry option (#19285) 2024-03-19 10:42:59 -07:00
copy_templates.py infra: cleanup docs build (#21134) 2024-05-01 17:34:05 -07:00
generate_api_reference_links.py infra: cleanup docs build (#21134) 2024-05-01 17:34:05 -07:00
model_feat_table.py infra: cleanup docs build (#21134) 2024-05-01 17:34:05 -07:00
resolve_local_links.py docs: turn on link check (#18924) 2024-03-11 10:50:39 -07:00