Re: [sphinx-users] Beginners Question on auto doc and scripts in the folder.

2021-04-27 Thread Sambid Wasti
So i just resolved the issue. It looks like the sphinx-apidoc ignores folders without the __init__.py. As soon as i created that, it imported. I found the solution here: https://chadrick-kwag.net/sphinx-apidoc-ignoring-some-modules-packages/ On Tuesday, April 27, 2021 at 4:25:13 PM UTC-4 Sambid

Re: [sphinx-users] Beginners Question on auto doc and scripts in the folder.

2021-04-27 Thread Sambid Wasti
Hi Takeshi Komiya, Thank you. This did point me in the right direction but I am running into few issues. Lets say i have a folder name 'father', and two sub folders, 'child1' and 'child2'. 'child1' is the python package with scripts. 'child2' is additional scripts thats not part of the

Re: [sphinx-users] Beginners Question on auto doc and scripts in the folder.

2021-04-25 Thread Komiya Takeshi
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 : > > Hi all, > > I am a new user of Sphinx documentation. Most of my

[sphinx-users] Beginners Question on auto doc and scripts in the folder.

2021-04-23 Thread Sambid Wasti
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::