Nevermind, I found my issue. I was missing __init__.py files in my 
subdirectories. I had previously added these on a different branch I was 
working on that wasn't merged yet instead of adding them to the current 
branch I was working on. Thanks anyways!

On Monday, May 13, 2019 at 4:56:19 PM UTC-5, Joshua Sullivan wrote:
>
> I would like to maintain my project directory structure with autodoc, but 
> I can't seem to find the configuration options to do so. Basically I have 
> my project and I have chosen not to create seperate build and source 
> directories. Under my main project directory, I have a bunch of 
> subdirectories and python files. When I use autodoc with sphinx it is 
> currently creating a seperate HTML file for every single file like it 
> should, but it is placing the file individually within the build folder 
> instead of maintaining a similar directory structure to the one my project 
> has. 
>
> I would like my build folder and in turn my HTML index page to look like 
> the following:
>
>    - Project name
>       - folder 1
>          - folder one
>             - file 1
>             - file 2
>          - folder two
>             - file 1
>             - file 2
>          - file 1
>          - file 2
>       - Folder 2
>       - ...
>    
> Where as currently it looks like:
>
>    - Project name
>       - file 1
>       - file 2
>       - file 1
>       - file 2
>       - file 1 
>       - file 2
>    
> How can I make it so that it maintains my project directory structure 
> within my build folder as well as on the HTML page so that I can easily 
> find the files I am looking for?
>
> Any help would be greatly appreciated!! 
>
> Thanks
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/46347927-f9c1-4e0f-9136-4f823cbe1f15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to