Skip to content

Front Matter to override docs lastUpdate date/author #7263

Closed as not planned
Closed as not planned

Description

@slorber

Have you read the Contributing Guidelines on issues?

Motivation

Suggested in #7229 (reply in thread)

We should allow docs frontMatter that permits to override the "last updated" data that we generally read from Git.

Git is not always available at build time, but users should still be able to manually fill those data

lastUpdate:
  at: 1539502055
  by: "Author"

Front matter validation could accept the date as timestamp (seconds or millies?), or ISO/parseable string? (+ JS Date because Yaml may automatically do the conversion)

This is a relatively simple issue, good for external contributors

Self-service

  • I'd be willing to do some initial work on this proposal myself.

Activity

  1. added
    good first issue
    proposal
    on Apr 29, 2022
  2. Josh-Cena commented on Apr 29, 2022

    @Josh-Cena
    Collaborator

    Duplicate of #5691

  3. Josh-Cena commented on Apr 29, 2022

    @Josh-Cena
    Collaborator

    Let's discuss it there instead. The API is slightly different, but not a big deal

  4. added
    feature
    closed: duplicate
    and removed
    good first issue
    proposal
    on Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed: duplicatefeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions