Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate improving how "last updated" is presented (and handled, for per-page builds) #10

Open
pradyunsg opened this issue Mar 20, 2022 · 0 comments
Labels
state: needs research More information is needed for driving this issues to a resolution type: feature A self-contained enhancement or new feature

Comments

@pradyunsg
Copy link
Owner

pradyunsg commented Mar 20, 2022

Sphinx provides a last_updated context variable, which is controlled by html_last_updated_fmt.

We should set last_updated to the "default" value when it is presented by Sphinx (like we update the permalinks icon), so that it is shown out-of-the-box. It may also be possible to detect when the user is using https://github.com/mgeier/sphinx-last-updated-by-git, and place the last updated information in the article-footer instead of site-footer.

@pradyunsg pradyunsg added type: feature A self-contained enhancement or new feature state: needs research More information is needed for driving this issues to a resolution labels Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs research More information is needed for driving this issues to a resolution type: feature A self-contained enhancement or new feature
Projects
None yet
Development

No branches or pull requests

1 participant