facebook / facebook/docusaurus

"Last updated" metadata not preserved after versioning

Open
#5,598 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
66.2k
Forks
10k
Avg merge
1d 3h
Merged PRs (30d)
52

Description

## 🐛 Bug Report

### Description

All versioned docs have the same "last updated" info: the time and author when that version was frozen.

### Have you read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues)?

Yes

## Steps to reproduce

Check https://docusaurus.io/docs/next/markdown-features/admonitions versus https://docusaurus.io/docs/markdown-features/admonitions: the former has a date that's prior to the latter because the latter is when the `2.0.0-beta.6` folder was created, not the actual doc commit date.

I guess we should freeze the last updated metadata as well? Versioned docs can still be updated though...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.