facebook / facebook/docusaurus

docusaurus docs:version overwrite option

Offen
#3,478 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature
Vorherrschende Sprache
TypeScript
Sterne
66.2k
Forks
10k
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
52

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.