From 1a5a7a1378d77b945c87ddf5fd1816c654e276dd Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 25 May 2015 06:36:54 -0400 Subject: [PATCH] ignore and clean files generated by Sphinx --- .gitignore | 7 +++---- doc/Makefile | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 54c7439f0..e78d314ca 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,9 @@ .*.swp blivet*.tar.gz blivet*.tar.bz2 -doc/blivet.devicelibs.rst -doc/blivet.formats.rst -doc/blivet.rst -doc/modules.rst +doc/*.rst +!doc/index.rst +!doc/intro.rst doc/_build po/*.gmo po/*.po diff --git a/doc/Makefile b/doc/Makefile index 2fc38ee92..9b78832b3 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -8,7 +8,7 @@ SPHINXAPIDOC = sphinx-apidoc PAPER = BUILDDIR = _build SOURCEDIR = ../blivet -MODULE_NAMES = blivet.rst blivet.devicelibs.rst blivet.formats.rst modules.rst +MODULE_NAMES = blivet.rst blivet.devicelibs.rst blivet.devices.rst blivet.formats.rst blivet.tasks.rst modules.rst # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 @@ -43,6 +43,7 @@ help: clean: -rm -rf $(BUILDDIR)/* + -rm -f $(addprefix ./, $(MODULE_NAMES)) apidoc: -rm $(addprefix ./, $(MODULE_NAMES))