mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
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 https://github.com/astral-sh/uv/pull/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.
This commit is contained in:
parent
353bf29854
commit
a6ecf463fc
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue