'Recommended way of including Sphinx documentation in a remote repo

I'm wondering what is the best way to incorporate documentation created with Sphynx, in a remote repository in GitHub.

Should I commit all the files in the build and source folder?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source