mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 01:54:04 +00:00
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:
2
.github/workflows/sphinx.yml
vendored
2
.github/workflows/sphinx.yml
vendored
@@ -33,6 +33,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repo ⚡️
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set Up Python 🐍
|
||||
uses: actions/setup-python@v4
|
||||
|
@@ -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",
|
||||
|
@@ -5,3 +5,4 @@ myst-parser>=0.18.0
|
||||
sphinx>=4.5.0
|
||||
sphinx-book-theme==1.0.0
|
||||
sphinx-copybutton>=0.5.0
|
||||
sphinx-last-updated-by-git>=0.3.4
|
||||
|
Reference in New Issue
Block a user