mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 00:48:45 +00:00
infra: fix api ref link generation (#21631)
This commit is contained in:
parent
9b51ca08bc
commit
e861b5bcb7
@ -48,8 +48,6 @@ generate-files:
|
|||||||
wget -q https://raw.githubusercontent.com/langchain-ai/langgraph/main/README.md -O $(INTERMEDIATE_DIR)/langgraph.md
|
wget -q https://raw.githubusercontent.com/langchain-ai/langgraph/main/README.md -O $(INTERMEDIATE_DIR)/langgraph.md
|
||||||
$(PYTHON) scripts/resolve_local_links.py $(INTERMEDIATE_DIR)/langgraph.md https://github.com/langchain-ai/langgraph/tree/main/
|
$(PYTHON) scripts/resolve_local_links.py $(INTERMEDIATE_DIR)/langgraph.md https://github.com/langchain-ai/langgraph/tree/main/
|
||||||
|
|
||||||
$(PYTHON) scripts/generate_api_reference_links.py --docs_dir $(INTERMEDIATE_DIR)
|
|
||||||
|
|
||||||
copy-infra:
|
copy-infra:
|
||||||
mkdir -p $(OUTPUT_NEW_DIR)
|
mkdir -p $(OUTPUT_NEW_DIR)
|
||||||
cp -r src $(OUTPUT_NEW_DIR)
|
cp -r src $(OUTPUT_NEW_DIR)
|
||||||
@ -68,7 +66,10 @@ render:
|
|||||||
md-sync:
|
md-sync:
|
||||||
rsync -avm --include="*/" --include="*.mdx" --include="*.md" --include="*.png" --exclude="*" $(INTERMEDIATE_DIR)/ $(OUTPUT_NEW_DOCS_DIR)
|
rsync -avm --include="*/" --include="*.mdx" --include="*.md" --include="*.png" --exclude="*" $(INTERMEDIATE_DIR)/ $(OUTPUT_NEW_DOCS_DIR)
|
||||||
|
|
||||||
build: install-py-deps generate-files copy-infra render md-sync
|
generate-references:
|
||||||
|
$(PYTHON) scripts/generate_api_reference_links.py --docs_dir $(OUTPUT_NEW_DOCS_DIR)
|
||||||
|
|
||||||
|
build: install-py-deps generate-files copy-infra render md-sync generate-references
|
||||||
|
|
||||||
vercel-build: install-vercel-deps build
|
vercel-build: install-vercel-deps build
|
||||||
rm -rf docs
|
rm -rf docs
|
||||||
|
Loading…
Reference in New Issue
Block a user