Have you tried the globbing feature of toctree? https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree
On Wednesday, July 10, 2024 at 1:51:20 PM UTC-7 Mona Jalal wrote: > Hi, > > Our current problem is > > 1- we need all our .md files inside source folder > > 2- we prefer not to list our .md files under toctree but we would want the > sphinx to automatically capture all of them > > > I am sing myst_parser and am able to list multiple .md files under toctree > directive and those will be rendered in html after `make html` command. > However, when I use > .. include:: README.md > :parser: myst_parser.sphinx_ > > > in the same rst file (index.rst) that I used the toctree, the README.md > doesn't get rendered. > > > Any tips will be really appreciated. > > I am new to Markdown integration to Sphinx and based on my limited > research, myst_parser was suggested for this integration. > > > Thank you, > > Mona Jalal > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/3f35d0d1-4c10-4341-8137-8c71fc83a0fcn%40googlegroups.com.