|
| 1 | +"""Configuration file for the Sphinx documentation builder.""" |
| 2 | +# Configuration file for the Sphinx documentation builder. |
| 3 | +# |
| 4 | +# This file only contains a selection of the most common options. For a full |
| 5 | +# list see the documentation: |
| 6 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 7 | + |
| 8 | +# -- Path setup -------------------------------------------------------------- |
| 9 | + |
| 10 | +# If extensions (or modules to document with autodoc) are in another directory, |
| 11 | +# add these directories to sys.path here. If the directory is relative to the |
| 12 | +# documentation root, use os.path.abspath to make it absolute, like shown here. |
| 13 | +# |
| 14 | +# import os |
| 15 | +# import sys |
| 16 | +# sys.path.insert(0, os.path.abspath('.')) |
| 17 | + |
| 18 | +import langchain |
| 19 | + |
| 20 | +# -- Project information ----------------------------------------------------- |
| 21 | + |
| 22 | +project = "LangChain" |
| 23 | +copyright = "2022, Harrison Chase" |
| 24 | +author = "Harrison Chase" |
| 25 | + |
| 26 | +version = langchain.__version__ |
| 27 | +release = langchain.__version__ |
| 28 | + |
| 29 | + |
| 30 | +# -- General configuration --------------------------------------------------- |
| 31 | + |
| 32 | +# Add any Sphinx extension module names here, as strings. They can be |
| 33 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 34 | +# ones. |
| 35 | +extensions = [ |
| 36 | + "sphinx.ext.autodoc", |
| 37 | + "sphinx.ext.autodoc.typehints", |
| 38 | + "sphinx.ext.autosummary", |
| 39 | + "sphinx.ext.napoleon", |
| 40 | +] |
| 41 | + |
| 42 | +# autodoc_typehints = "signature" |
| 43 | +autodoc_typehints = "description" |
| 44 | + |
| 45 | +# Add any paths that contain templates here, relative to this directory. |
| 46 | +templates_path = ["_templates"] |
| 47 | + |
| 48 | +# List of patterns, relative to source directory, that match files and |
| 49 | +# directories to ignore when looking for source files. |
| 50 | +# This pattern also affects html_static_path and html_extra_path. |
| 51 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 52 | + |
| 53 | + |
| 54 | +# -- Options for HTML output ------------------------------------------------- |
| 55 | + |
| 56 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 57 | +# a list of builtin themes. |
| 58 | +# |
| 59 | +html_theme = "sphinx_rtd_theme" |
| 60 | +# html_theme = "sphinx_typlog_theme" |
| 61 | + |
| 62 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 63 | +# relative to this directory. They are copied after the builtin static files, |
| 64 | +# so a file named "default.css" will overwrite the builtin "default.css". |
| 65 | +html_static_path = ["_static"] |
0 commit comments