facebook / facebook/docusaurus

"Last updated" metadata not preserved after versioning

Đang mở
#5,598 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
66.2k
Fork
10k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
52

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.