I want to start using Sphinx to document my project. I told Sphinx to use separate source and build directories during sphinx-quickstart
. Now my directory layout is the following:
MyProject/
myproject/
__init__.py
mymodule.py
docs/
source/
.static/
.templates/
conf.py
index.rst
build/
Makefile
Which files should be excluded from a VCS repository for a Sphinx project (i.e., since I use Git, what should I add to my .gitignore
file)? For example, should I ignore the docs/build/
directory so that changes in the HTML pages generated from Sphinx aren't tracked?