Get the "last updated" time for each Sphinx page from Git
Project description
This is a little Sphinx extension that does just that.
It also checks for included files.
If a page doesn’t have a source file (or if Git is broken or whatever), its last_updated time is set to None.
The default value for html_last_updated_fmt is changed to the empty string.
- Usage
Install the Python package sphinx-last-updated-by-git
Add sphinx_last_updated_by_git to extensions in your conf.py
Run Sphinx!
- License
BSD-2-Clause (same as Sphinx itself), for more information take a look at the LICENSE file.
- Similar stuff
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sphinx-last-updated-by-git-0.1.0.tar.gz
.
File metadata
- Download URL: sphinx-last-updated-by-git-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5709bd3f17763cb4681db0111d870c3242f1c8ac7908b7da8daabd6e311de887 |
|
MD5 | efbed4dd4d19cc6b9c680f121873d840 |
|
BLAKE2b-256 | 3715667079ca67b490be17ca9a1c26e6c372308c62349c2873408257aa90c65a |
File details
Details for the file sphinx_last_updated_by_git-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sphinx_last_updated_by_git-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d5a78d037525316bf4a7279454931b939ef5930561210bdba77ff613e81463 |
|
MD5 | ae8f952b18c8c4fb74c0850e719c02b2 |
|
BLAKE2b-256 | 28005856b055dcf53965d41e486a399e48e557177b5cab404762c374cf86cfff |