From a6ecf463fc94ba8ffa15042a6597ce9f3ca2a482 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 24 Feb 2025 13:27:00 -0600 Subject: [PATCH] Remove the last edited date from documentation pages (#11753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I am bothered by the positioning of this immediately following the content. I explored some other things, like forcing it the bottom of the article, but in the end it was easiest to just hide it entirely I think this belongs somewhere else, like in the footer — but I believe that requires theme changes which are a bit more complicated than its worth. https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/howto/override-a-theme/ The main goal here was SEO metadata anyway. Originally added in https://github.com/astral-sh/uv/pull/11164 Before Screenshot 2025-02-24 at 12 57 56 PM Now, it's omitted. --- docs/stylesheets/extra.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 79cb0b712..9a77787d1 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -214,7 +214,6 @@ h3.cli-reference { color: var(--md-accent-fg-color) !important; } - /* Omit the first breadcrumb item, which is the "Introduction" */ .md-path__list > .md-path__item:first-of-type { display: none; @@ -222,3 +221,9 @@ h3.cli-reference { .md-path__list > .md-path__item:nth-of-type(2):before { display: none; } + +/* Hide the modified date — its positioning is awkward but will require theme +modifications */ +.md-source-file__fact { + visibility: hidden; +}