facebook / facebook/docusaurus

docusaurus docs:version overwrite option

Đang mở
#3,478 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
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ả

## 🚀 Feature

Add some `--force` or `--overwrite` flag to `docusaurus docs:version` command.

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

Sure.

## Motivation

Currently, the `docusaurus docs:version` command fails if a version is already exists, but for version range like 1.x, it might be convenient to simply replace the whole 1.x content with the `next` version.

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.