Proposal: auto generate sidebar
Los mantenedores suelen responder en 2 días
@sy-records ya está trabajando en esto.
Desde el 28/7/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Auto-generate sidebar
Summary
Auto-generate and update the sidebar i.e _sidebar.md by looking into the folders/files
Motivation
If you have a big project or a project having many markdown files. It is kind of extra work look for each file and writes the path and the file name and the text to display it.
Maximum projects I have seen take each .md file as a single page and .md files under a folder inside the docs directory is a sub-page. So if we go with usual lookups through each file/folder. This is quite easy to achieve.
Detailed Design
No changes are required in the core. Only needs changes in cli. New command probably
If we have directories like this
|- <root>
|- README.md
|- index.html
|- _sidebar.md
|- a.md
|- guide
|- guide-a.md
|- b.md
The sidebar command should generate the following
- [a](./a.md)
- guide
- [a](./guide/guide-a.md)
- [b](./b.md)
We need to traverse through the directory and create an object or tree and then just print the tree as a list in the markdown.
Documentation
Update the docs in the main docs site as a separate page and create docs for the command in the cli and do a remote rendering of the page in the main docs
Drawbacks
Few
- It won't know whether markdown file should be in the heading or in subheading if it goes out of our prediction.
- cant do the operation for the
.htmlfiles.
Backwards Compatibility Analysis
Not required as no changes in the core is being done.
Alternatives
Do the manual entry in the _sidebar.md
Open Questions
- Should we wait for or put this in
v5? - Any volunteers for taking this ?
Help Needed
None.
Frequently Asked Questions
None
Related Discussions
Couldnt find any.
- Lenguaje dominante
- JavaScript
- Estrellas
- 31.5k
- Forks
- 5.8k
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de docsifyjs/docsify
-
Query parameter values are truncated at a second equals signPosiblemente ocupada @xu91102 la tomó hace 23 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Bullet points beginning with inline math: subsequent text formatting not recognised correctlyAbiertobug Triage
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Cached AJAX responses lose status metadata exposed through vm.route.responsePosiblemente ocupada @xu91102 la tomó hace 23 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
In the Edge browser, the character `{docsify-updated}` is not replacedQuizá libre de nuevo @AmanUllah687 la tomó hace 76 días y no hay ningún pull request abierto. Abiertowait for information
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
docsifyjs/docsify#2681 · 11 comentarios ·
Los mantenedores suelen responder en 2 días
-
Nested/Recursive includesAbiertofeature request Triage
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
docsifyjs/docsify#2643 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de docsifyjs/docsify
Issues similares
-
idnits3
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ietf-tools/idnits#363 ·
Los mantenedores suelen responder en 1 día
-
prototype(verifier_token): map disallowed warning to contraindicated before composite precedence checkPosiblemente ocupada @drk-ram la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
agentrust-io/trace-spec#582 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
TheOdinProject/curriculum#31479 ·
Los mantenedores suelen responder en 1 día
-
chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
SignalK/n2k-signalk#368 ·
Los mantenedores suelen responder en 1 día