mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-27 11:41:51 +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 os
|
||||
import sys
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
import toml
|
||||
@ -104,7 +105,7 @@ def skip_private_members(app, what, name, obj, skip, options):
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
project = "🦜🔗 LangChain"
|
||||
copyright = "2023, LangChain Inc"
|
||||
copyright = f"{datetime.now().year}, LangChain Inc"
|
||||
author = "LangChain, Inc"
|
||||
|
||||
html_favicon = "_static/img/brand/favicon.png"
|
||||
|
Loading…
Reference in New Issue
Block a user