nested subfolders are not found by 'jupyter-book toc' if no files are in each level
See original GitHub issuemy folder structure was something like
- mybook
- notebooks
- chapter1
- notebook1.ipynb
- notebook2.ipynb
running jupyter-book toc mybook
didn’t find the notebooks.
Once I added an ipynb
file into the notebooks folder, it worked.
Not sure if that’s intentional.
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Structure the Table of Contents - Jupyter Book
This is a YAML file (called _toc.yml ) that defines a structure that Jupyter Book uses to create the order and nesting of...
Read more >sphinx_external_toc - PyPI
This extension facilitates a top-down approach to defining the site-map structure, within a single YAML file. ToC graphic. It also allows for documents...
Read more >How-to and FAQ — Data Science Study - GitHub Pages
If you have a Google account, you can use Google Analytics to collect some ... to a certain output (but Jupyter Book does...
Read more >Jupyter books in Azure Data Studio - WickTech Blog
Jupyter Book : A collection of SQL, PowerShell, and Python-based ... URL will result in a Missing file error when the book is...
Read more >Jupytext documentation
Jupytext includes an extensions for Jupyter Notebook that adds a Jupytext section in the File menu. If the extension was not automatically ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK - a couple quick thoughts:
when I clone and try to build your book, I also get error/warnings but different ones. Mine are:
and I think that’s because many of your content files don’t have titles inside them. Right now the
title:
field of thetoc.yml
file will over-ride the title in the navigation bar, but it doesn’t set the title…you’re still expected to have the title in the page itself. This feels confusing to me now that I see it…For the errors you’re reporting, I do suspect it might be an issue with (I’m assuming) windows. I actually run Windows myself so I can give it a shot probably tomorrow (I use WSL, so even though I have windows, I don’t have a development environment set up in it)
One thing that comes to mind - I feel like we should ask people to put
/
in their_toc.yml
files regardless of the OS. If we make the behavior of/
change between OS’s (at least when it comes to file paths) then we might be opening up a can of worms with CI/CD systems on repositories that were built with windowsIn case you want to have a look: https://github.com/amueller/Machine_Learning_in_Python
I removed the index files and I had the same problem btw. I wonder if there’s a path issue, I’m on the OS that uses backslashs.