From 77ec77edcd82ea8ad82e49b3f07cc12ab4695cdc Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 28 Jul 2025 10:00:13 -0400 Subject: [PATCH] correct PHONY --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a3ce56bbea3..ae3f322711f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean help docs_build docs_clean docs_linkcheck api_docs_build api_docs_clean api_docs_linkcheck spell_check spell_fix lint lint_package lint_tests format format_diff +.PHONY: all help clean docs_build docs_clean docs_linkcheck api_docs_build api_docs_quick_preview api_docs_clean api_docs_linkcheck spell_check spell_fix lint lint_package lint_tests format format_diff update-package-downloads .EXPORT_ALL_VARIABLES: UV_FROZEN = true @@ -100,7 +100,7 @@ lint lint_package lint_tests: uv run --group lint ruff check docs cookbook uv run --group lint ruff format docs cookbook cookbook --diff git --no-pager grep 'from langchain import' docs cookbook | grep -vE 'from langchain import (hub)' && echo "Error: no importing langchain from root in docs, except for hub" && exit 1 || exit 0 - + git --no-pager grep 'api.python.langchain.com' -- docs/docs ':!docs/docs/additional_resources/arxiv_references.mdx' ':!docs/docs/integrations/document_loaders/sitemap.ipynb' || exit 0 && \ echo "Error: you should link python.langchain.com/api_reference, not api.python.langchain.com in the docs" && \ exit 1