Hi, How about using sphinx-apidoc? It generates reST files from python scripts by searching directories. https://www.sphinx-doc.org/en/master/man/sphinx-apidoc.html
Thanks, Takeshi KOMIYA 2021年4月24日(土) 0:45 Sambid Wasti <wa...@cua.edu>: > > Hi all, > > I am a new user of Sphinx documentation. Most of my learning has been through > various tutorials. I had few questions which i have not been able to find > answers. > > Currently, I have a code.rst file where i have few automodules. > > ..automodule:: testsphinx > :members: > > ..automodule:: testsphinx1 > :members: > > and so on. > > My question is is there a way to automodule all the scripts in the folder? Is > there a autofolder? Currently, there are multiple scripts in a folder. At the > moment I am manually finding scripts and generating the automodule segment > for each. Is there a way to automate it? I am still struggling with this so i > havent reached to documenting classes properly but I would assume that i will > have to manually write auto-class. > > There was also the sphinx-autogen that generates a rst file. I am not 100% > sure how that works or if i can use that at the moment. > > Any help is appreciated. > -Sam > > > -- > 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/d8a18cac-46ab-4e04-b147-27222b69cd66n%40googlegroups.com. -- 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/CAFmkQAM%2By%2BWmBwVFvjmqSw%3DJoJAOGkNG_CE3%3DCEHVYZetS7HOA%40mail.gmail.com.