mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 17:11:25 +00:00
docs: ganalytics in api ref (#28697)
This commit is contained in:
parent
28cb2cefc6
commit
f60110107c
@ -128,6 +128,7 @@ extensions = [
|
|||||||
"_extensions.gallery_directive",
|
"_extensions.gallery_directive",
|
||||||
"sphinx_design",
|
"sphinx_design",
|
||||||
"sphinx_copybutton",
|
"sphinx_copybutton",
|
||||||
|
"sphinxcontrib.googleanalytics",
|
||||||
]
|
]
|
||||||
source_suffix = [".rst", ".md"]
|
source_suffix = [".rst", ".md"]
|
||||||
|
|
||||||
@ -267,6 +268,8 @@ html_show_sourcelink = False
|
|||||||
# Set canonical URL from the Read the Docs Domain
|
# Set canonical URL from the Read the Docs Domain
|
||||||
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
|
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
|
||||||
|
|
||||||
|
googleanalytics_id = "G-9B66JQQH2F"
|
||||||
|
|
||||||
# Tell Jinja2 templates the build is running on Read the Docs
|
# Tell Jinja2 templates the build is running on Read the Docs
|
||||||
if os.environ.get("READTHEDOCS", "") == "True":
|
if os.environ.get("READTHEDOCS", "") == "True":
|
||||||
html_context["READTHEDOCS"] = True
|
html_context["READTHEDOCS"] = True
|
||||||
|
@ -9,3 +9,4 @@ pyyaml
|
|||||||
sphinx-design
|
sphinx-design
|
||||||
sphinx-copybutton
|
sphinx-copybutton
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
sphinxcontrib-googleanalytics
|
||||||
|
Loading…
Reference in New Issue
Block a user