fix api ref (#8083)

This commit is contained in:
Bagatur
2023-07-21 12:37:21 -07:00
committed by GitHub
parent 344cbd9c90
commit 08c658d3f8
11 changed files with 4058 additions and 691 deletions

View File

@@ -17,8 +17,9 @@ import sys
import toml
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath("../../libs/langchain"))
with open("../../pyproject.toml") as f:
with open("../../libs/langchain/pyproject.toml") as f:
data = toml.load(f)
# -- Project information -----------------------------------------------------

View File

@@ -4,7 +4,7 @@ import re
from pathlib import Path
ROOT_DIR = Path(__file__).parents[2].absolute()
PKG_DIR = ROOT_DIR / "libs" / "langchain"
PKG_DIR = ROOT_DIR / "libs" / "langchain" / "langchain"
WRITE_FILE = Path(__file__).parent / "api_reference.rst"