AnswerDotAI / AnswerDotAI/nbdev
Sidebar has issues pass second level
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5.3k
- Forks
- 513
- Ø Merge
- 2 T. 30 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
So I've tried to make a sidebar on a project that has more then a single level (i.e. folder structure as `project/nbs/one/two`) and experiencing issue where the second level files are not grouped together, as shown here:
```
sidebar:
contents:
- index.ipynb
- 00_core.ipynb
- section: a
contents:
- a/one.ipynb
- a/two.ipynb
- section: b
contents:
- a/b/four.ipynb
- section: a
contents:
- section: b
contents:
- a/b/three.ipynb
```
The older version (2.0.7) works ok, and produces correct result:
```
sidebar:
contents:
- index.ipynb
- 00_core.ipynb
- README.md
- section: a
contents:
- a/one.ipynb
- a/two.ipynb
- section: b
contents:
- a/b/four.ipynb
- a/b/three.ipynb
```
Looks like [this](https://github.com/fastai/nbdev/pull/927/files) PR solved the issue https://github.com/fastai/nbdev/issues/922 but introduced this one.
Beitragsleitfaden
Rechercherichtung
Reproduziere die verschachtelte Sidebar-Konfiguration aus dem Issue und vergleiche ihre Ausgabe mit nbdev 2.0.7. Sieh dir PR #927 und Issue #922 wegen der zugehörigen Änderung an. Als erledigt gilt die Aufgabe, wenn die Einträge der beiden Ebenen unter einem Abschnitt gruppiert sind und a/b/three.ipynb sowie a/b/four.ipynb wie gezeigt zusammen erscheinen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook, python
- Bereich
- documentation
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100