facebook / facebook/docusaurus

Write docusaurus.config.js with an interactive UI

Abierto
#6,098 6 comentarios 0 reacciones 0 asignados Ver en GitHub
difficulty: advanced domain: dx proposal
Lenguaje dominante
TypeScript
Estrellas
66.2k
Forks
10k
Merge medio
1 d 3 h
PR fusionados (30 d)
52

Descripción

### Have you read the Contributing Guidelines on issues?

- [X] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).

### Motivation

Writing the docusaurus.config.js file is very tedious, especially if it gets long. The theme config object bloats very easily, and it's hard to navigate between different fields.

We should allow the debug plugin to write to docusaurus.config.js. Not everything is serializable, but we can allow users to write JS code with a text area; many other fields only accept certain values / boolean values, and they can be easily implemented with form elements.

### Self-service

- [X] I'd be willing to do some initial work on this proposal myself.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.