mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 16:43:35 +00:00
docs: dynamic copyright year in API ref (#30944)
- [x] **PR title:** `docs: make footer year dynamic in API reference docs` - [x] **PR message:** - **Description:** Update `docs/api_reference/conf.py` to make the copyright year dynamic (on [https://python.langchain.com/api_reference/](https://python.langchain.com/api_reference/)). --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
de56c31672
commit
0e9d0dbc10
@ -11,6 +11,7 @@
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
from datetime import datetime
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import toml
|
import toml
|
||||||
@ -104,7 +105,7 @@ def skip_private_members(app, what, name, obj, skip, options):
|
|||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = "🦜🔗 LangChain"
|
project = "🦜🔗 LangChain"
|
||||||
copyright = "2023, LangChain Inc"
|
copyright = f"{datetime.now().year}, LangChain Inc"
|
||||||
author = "LangChain, Inc"
|
author = "LangChain, Inc"
|
||||||
|
|
||||||
html_favicon = "_static/img/brand/favicon.png"
|
html_favicon = "_static/img/brand/favicon.png"
|
||||||
|
Loading…
Reference in New Issue
Block a user