r/pythontips • u/revlentOne • 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
2
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
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.