Subsections without extra (empty) file? #641
Replies: 4 comments 4 replies
-
hmm - you should not need to put things in sub-folders in order to structure them in any particular way in Jupyter Book. Is it not working for you to just structure |
Beta Was this translation helpful? Give feedback.
-
yeah, it looks like I was wrong, it doesn't need to be subfolders, So, in this case, I need to create a file for PDS:
I was looking for a way where I do NOT need a file so to have a PDS "folder" in the TOC, because the nbdev system does not need that file for the sub-notebooks to be nested, but I might just as well create a little intro file for the TOC to work. |
Beta Was this translation helpful? Give feedback.
-
Well, not really, as that issue is about space-saving in the TOC it seems? As I said, I'd like not to be forced to have an extra file named "PDS.md" just to have this layout in the TOC: Instead, I'd like to be able to simply "name" that "PDS" TOC folder in the TOC, and then put my PDS-related notebooks underneath the section part in the TOC. |
Beta Was this translation helpful? Give feedback.
-
So, is it true, that I need to create a basically empty file just to get sub-parts in the TOC? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
First let me thank the providers of these awesome tools. I love to see and share my pretty documentation!
I am developing my packages with nbdev and would like to generate the documentation via the existing notebooks.
Issue:
Subpackages in
nbdev
are indicated via a special comment in the notebook without placing them into subfolders.I would now like to reflect the sub-package structure within the TOC, but it looks like one needs to put notebooks into subfolders for this to work?
Am I missing a trick on how to achieve this?
I tried to fool it by pointing the section name to the current path but it didn't like it:
Any tips would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions