Skip to content

Commit a6ecf46

Browse files
authored
Remove the last edited date from documentation pages (#11753)
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 #11164 Before <img width="1334" alt="Screenshot 2025-02-24 at 12 57 56 PM" src="https://github.com/user-attachments/assets/3f7423ff-fc18-40e8-be8a-f2e611af8221" /> Now, it's omitted.
1 parent 353bf29 commit a6ecf46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/stylesheets/extra.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,16 @@ h3.cli-reference {
214214
color: var(--md-accent-fg-color) !important;
215215
}
216216

217-
218217
/* Omit the first breadcrumb item, which is the "Introduction" */
219218
.md-path__list > .md-path__item:first-of-type {
220219
display: none;
221220
}
222221
.md-path__list > .md-path__item:nth-of-type(2):before {
223222
display: none;
224223
}
224+
225+
/* Hide the modified date — its positioning is awkward but will require theme
226+
modifications */
227+
.md-source-file__fact {
228+
visibility: hidden;
229+
}

0 commit comments

Comments
 (0)