Compare commits

...

1 Commits

Author SHA1 Message Date
Erick Friis
bfabf99aa3 infra: api docs autoapi experimenting 2024-02-05 17:37:15 -08:00
4 changed files with 1236 additions and 1488 deletions

View File

@@ -88,16 +88,20 @@ html_last_updated_fmt = "%b %d, %Y"
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autodoc.typehints",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinxcontrib.autodoc_pydantic",
"sphinx_copybutton",
"sphinx_panels",
"IPython.sphinxext.ipython_console_highlighting",
"autoapi.extension"
# "sphinx.ext.autodoc",
# "sphinx.ext.autodoc.typehints",
# "sphinx.ext.autosummary",
# "sphinx.ext.napoleon",
# "sphinx.ext.viewcode",
# "sphinxcontrib.autodoc_pydantic",
# "sphinx_copybutton",
# "sphinx_panels",
# "IPython.sphinxext.ipython_console_highlighting",
]
autoapi_dirs = ["/Users/erickfriis/langchain/oss-py/libs/core/langchain_core"]
autoapi_python_use_implicit_namespaces = True
source_suffix = [".rst"]
# some autodoc pydantic options are repeated in the actual template.

View File

@@ -6,9 +6,9 @@ pydantic<2
autodoc_pydantic==1.8.0
myst_parser
nbsphinx==0.8.9
sphinx>=5
sphinx>=7
sphinx-autobuild==2021.3.14
sphinx_rtd_theme==1.0.0
sphinx_rtd_theme==2.0.0
sphinx-typlog-theme==0.8.0
sphinx-panels
toml

2687
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,20 +10,15 @@ repository = "https://www.github.com/langchain-ai/langchain"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
sphinx = "^7"
[tool.poetry.group.docs.dependencies]
langchain = { path = "libs/langchain/", develop = true }
autodoc_pydantic = "^1.8.0"
myst_parser = "^0.18.1"
nbsphinx = "^0.8.9"
sphinx = "^4.5.0"
sphinx-autobuild = "^2021.3.14"
sphinx_book_theme = "^0.3.3"
sphinx_rtd_theme = "^1.0.0"
sphinx-typlog-theme = "^0.8.0"
sphinx-panels = "^0.6.0"
sphinx = "^7"
sphinx_rtd_theme = "^2.0.0"
toml = "^0.10.2"
myst-nb = "^0.17.1"
linkchecker = "^10.2.1"
sphinx-copybutton = "^0.5.1"
nbdoc = "^0.0.82"