facebook / facebook/docusaurus

"Last updated" metadata not preserved after versioning

未关闭
#5,598 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
66.2k
派生
10k
平均合并
1 天 3 小时
30 天内合并 PR
52

描述

## 🐛 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...

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。