Show last_updated in docs (#1888)

* Show last_updated in docs

* Use sphinx-last-updated-by-git

* Set fetch-depth: 0
This commit is contained in:
Ayaz Salikhov
2023-03-10 01:09:28 +04:00
committed by GitHub
parent b3604a68a4
commit 295612d3ad
3 changed files with 5 additions and 1 deletions

View File

@@ -48,8 +48,9 @@ html_theme_options = {
"text": html_title,
},
}
html_last_updated_fmt = "%Y-%m-%d"
extensions = ["myst_parser", "sphinx_copybutton"]
extensions = ["myst_parser", "sphinx_copybutton", "sphinx_last_updated_by_git"]
source_suffix = {
".rst": "restructuredtext",
".md": "markdown",