You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I bumped recently into the limitation that you can not to use custom format notebook as parent in the TOC, i.e. if you have a TOC like this
- file: index
- part: The Predictive Modeling Pipelinechapters:
- file: python_scripts/02_numerical_pipelinesections:
- file: python_scripts/02_numerical_pipeline_ex_01
you will get the error Only markdown, ipynb, and rst files are supported in the TOC.
Note this only happens if there is nested sections, so this TOC works fine:
- file: index
- part: The Predictive Modeling Pipelinechapters:
- file: python_scripts/02_numerical_pipeline
Describe the solution you'd like
This is not a show-stopper but being able to use custom notebook format as parent in the TOC would be nice. I would be curious to know whether there is some inherent difficulty in tackling this edge case or whether it is more that nobody has asked about it (until now 😉).
Additional context
To reproduce the problem (in case it helps):
git clone https://github.com/lesteve/scikit-learn-mooc --branch custom-file-toc-limitation
cd scikit-learn-mooc/jupyter-book
jb build .
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Is your feature request related to a problem? Please describe.
We are using
.py
files as custom notebook format as described in https://jupyterbook.org/file-types/jupytext.html#file-types-custom.I bumped recently into the limitation that you can not to use custom format notebook as parent in the TOC, i.e. if you have a TOC like this
you will get the error
Only markdown, ipynb, and rst files are supported in the TOC.
Note this only happens if there is nested sections, so this TOC works fine:
Describe the solution you'd like
This is not a show-stopper but being able to use custom notebook format as parent in the TOC would be nice. I would be curious to know whether there is some inherent difficulty in tackling this edge case or whether it is more that nobody has asked about it (until now 😉).
Additional context
To reproduce the problem (in case it helps):
The text was updated successfully, but these errors were encountered: