Skip to content

Add support for git creation date localized  #2551

Closed
@timvink

Description

@timvink

Description

Hi @squidfunk! I just released mkdocs-git-revision-date-localized-plugin v0.9, which adds a new tag page.meta.git_creation_date_localized (implemented by @PegasisForever).

I'd like to offer native support for that tag as well in mkdocs-material. It's backwards compatible; if a user specifies enable_creation_date: true, the creation dates should also show up.

Implementation-wise, that means:

  • Updating the source-date.html partial with an additional if/else
  • Updating all translation files, with a new label ('Created: '), with some basic translations filled by using google translate.
  • Remove instructions on how to setup the partial override for mkdocs-material in our own docs

Would you be open to a PR for this?

Use Cases

  • See page creation date.

Screenshots / Mockups

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions