Replies: 3 comments 5 replies
-
Heya yeh toctree has a glob option https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-toctree |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your response. When I tried .. toctree:: It didn't render any of my .md files in current dir. Also, I cannot do it for .md files in documentation folder .. toctree:: However, .. toctree:: works. Could you please suggest how to fix this? |
Beta Was this translation helpful? Give feedback.
-
Are you getting any error messages? Check the value of
If there isn't a reason that you require the index file to be in rst format, it can also be in markdown. index.md
index.rst
|
Beta Was this translation helpful? Give feedback.
-
I am currently adding the .md files one by one in index.rst under toctree so that they would be rendered in the html. Is there a way to add them all without listing them like so?
Beta Was this translation helpful? Give feedback.
All reactions