facebook / facebook/docusaurus

docusaurus docs:version overwrite option

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

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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