sphinx-gitstamp icon indicating copy to clipboard operation
sphinx-gitstamp copied to clipboard

Test if an included page is newer

Open jdillard opened this issue 6 years ago • 2 comments

It currently doesn't grab the gitstamp of any included pages. It might be worth checking if the included page has a newer git timestamp.

jdillard avatar Sep 13 '19 17:09 jdillard

FWIW, I've just created an extension that checks the included source files: https://github.com/mgeier/sphinx-last-updated-by-git

It's quite simple to implement: https://github.com/mgeier/sphinx-last-updated-by-git/blob/8bbddd39f2547c23c807b6b1ba1c2d0085c4f431/src/sphinx_last_updated_by_git.py#L53-L58

mgeier avatar Apr 08 '20 21:04 mgeier

Ah crap, I thought I responded to this. Thanks for the pointer, I'll look at implementing that here. Nice work on sphinx-last-updated-by-git!

jdillard avatar Apr 27 '20 14:04 jdillard