Skip to content

Conversation

richardblack-Harness
Copy link
Collaborator

Description

  • Add lastUpdatedDates to doc pages

PR contains

  • A new custom plugin because docusaurus.config.ts sets the docs preset to false, so the built in option isn't available
  • A new component to grab the last git commit for the file and render it
  • global css rules to place the lastUpdatedDate under the frontmatter title of each page.

Proposed further additions:

  • Add a CI stage to fetch the latest commits daily or add it to the build/deploy stage already in place

Screenshot / Preview

LastUpdatedDate.mp4

PRs must meet these requirements to be merged:

  • Successful preview build.
  • Code owner review.
  • No merge conflicts.
  • Release notes/new features docs: Feature/version released to at least one prod environment.

@richardblack-Harness richardblack-Harness self-assigned this Sep 10, 2025
@richardblack-Harness richardblack-Harness added the Content - enhancement Content flag: The PR includes new feature documentation label Sep 10, 2025
@bot-gitexp-user
Copy link

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://68c0cb21141f5a55c5b8b294--harness-developer.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content - enhancement Content flag: The PR includes new feature documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants