Describe the problem
Hello! Sorry the issue is a little confusing, but that's maybe because I am new to this, and because I am myself a little confused.
I was having a strange issue that nbsphinx was getting stuck on a notebook and breaking the build of my docs. So I decided to try myst_nb instead, and magically the notebook was rendering perfectly. However, because myst_nb also supports .md files, I had a clash with my use of m2r2, which I used to mdinclude my readme from an outside folder into the index.rst. However myst_nb doesn't support mdinclude, and moreover doesn't seem to support the syntax to achieve that from myst_parser described e.g. here: https://myst-parser.readthedocs.io/en/latest/sphinx/use.html#include-rst-files-into-a-markdown-file (or at least it doesn't work for me!). Then I decided to try myst_parser instead of myst_nb, hoping it would allow me to include notebooks and also include the readme file. However it breaks on my notebook just like nbsphinx did!
Link to your repository or website
https://github.com/open2c/coolpuppy
Steps to reproduce
Not sure how to reproduce it, since I don't know what's wrong with my notebook that nbsphinx and myst_parser break when parsing it, but it's in docs/source/Examples/Walkthough_API.ipynb
The version of Python you're using
3.8.10
Your operating system
Ubuntu 20.04
Versions of your packages
myst-nb 0.12.3
myst-parser 0.13.7
sphinx 3.5.4
Additional context
No response
Describe the problem
Hello! Sorry the issue is a little confusing, but that's maybe because I am new to this, and because I am myself a little confused.
I was having a strange issue that
nbsphinxwas getting stuck on a notebook and breaking the build of my docs. So I decided to trymyst_nbinstead, and magically the notebook was rendering perfectly. However, becausemyst_nbalso supports .md files, I had a clash with my use ofm2r2, which I used tomdincludemy readme from an outside folder into the index.rst. Howevermyst_nbdoesn't support mdinclude, and moreover doesn't seem to support the syntax to achieve that frommyst_parserdescribed e.g. here: https://myst-parser.readthedocs.io/en/latest/sphinx/use.html#include-rst-files-into-a-markdown-file (or at least it doesn't work for me!). Then I decided to trymyst_parserinstead ofmyst_nb, hoping it would allow me to include notebooks and also include the readme file. However it breaks on my notebook just likenbsphinxdid!Link to your repository or website
https://github.com/open2c/coolpuppy
Steps to reproduce
Not sure how to reproduce it, since I don't know what's wrong with my notebook that
nbsphinxandmyst_parserbreak when parsing it, but it's in docs/source/Examples/Walkthough_API.ipynbThe version of Python you're using
3.8.10
Your operating system
Ubuntu 20.04
Versions of your packages
myst-nb 0.12.3
myst-parser 0.13.7
sphinx 3.5.4
Additional context
No response