r/pythontips • • Apr 22 '21

Python3_Specific How to document multiple python projects in single project

I have multiple projects hosted on GitHub and I want to create a sphinx project that pulls docs from all those projects to a centralized location. Any ideas on how to go about this or examples?

30 Upvotes

3 comments sorted by

4

u/Gnlfbz Apr 22 '21

You could create a new get repo that uses all of the other repos as get submodules. They all get pulled into one spot and then you create the docs from there.

2

u/grindilife Apr 22 '21

You can see if swagger suites you, it’s not ideal, but it works

2

u/thlimythnake Apr 23 '21

Check out git submodules. They allow you to link your projects without manually making local copies of the files