From 3292124f0614ee5a687b8c1609da8286c4a34d1e Mon Sep 17 00:00:00 2001 From: Ghislain Antony Vaillant Date: Fri, 31 Mar 2017 09:53:22 +0100 Subject: [PATCH 1/2] Ignore mkdocs site directory [mkdocs](http://www.mkdocs.org/) is rising as an alternative to Sphinx for project's documentation. The default build command puts the generated documentation in a `site` directory at the root of the project which should be ignored. --- Python.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Python.gitignore b/Python.gitignore index 62c1e736..4c5850d3 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -92,3 +92,6 @@ ENV/ # Rope project settings .ropeproject + +# mkdocs documentation +site/ From a5a3ccd7c21255e00b3af2fb9a3a0ce575d6f1e1 Mon Sep 17 00:00:00 2001 From: Ghislain Antony Vaillant Date: Sat, 1 Apr 2017 08:38:52 +0100 Subject: [PATCH 2/2] Exclude the root site folder only --- Python.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index 4c5850d3..ff65a437 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -94,4 +94,4 @@ ENV/ .ropeproject # mkdocs documentation -site/ +/site