The typing docs use this theme:
https://typing.readthedocs.io/en/latest/
The footer says:
Last updated on None.
CPython docs has:
Last updated on Mar 23, 2024 (19:01 UTC).
Maybe typing is missing something in conf.py, or maybe this theme is making an assumption.
This? https://github.com/python/cpython/blob/eebea7e515462b503632ada74923ec3246599c9c/Doc/conf.py#L341-L342
Yep, that looks like it.
The comment used to be:
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format.
python/cpython@6c214de
We should probably default to not showing the line if the config is missing, or use a default timestamp. Basically do whatever the earlier behaviour was.
Activity
ezio-melotti commented on Mar 25, 2024
This?
https://github.com/python/cpython/blob/eebea7e515462b503632ada74923ec3246599c9c/Doc/conf.py#L341-L342
hugovk commented on Mar 25, 2024
Yep, that looks like it.
The comment used to be:
python/cpython@6c214de
We should probably default to not showing the line if the config is missing, or use a default timestamp. Basically do whatever the earlier behaviour was.