Skip to contentSkip to conversation

.gitignore: docs: ignore sphinx_*/ directories

PATCH New Mauro Carvalho Chehab 1 participant 1 message Aug 26, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore: docs: ignore sphinx_*/ directories

The default way of building documentation is to use Sphinx toolchain installed via pip, inside the Kernel tree main directory. That's what's recommended by:

scripts/sphinx-pre-install

As it usually provides a better version of this package than the one installed, specially on LTS distros.

So, add the directories created by running the commands suggested by the script.

---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)
.gitignore +3 -0
index 162bd2b67bdf..d01cda8e1177 100644
@@ -152,3 +152,6 @@ x509.genkey
 
 # Clang's compilation database file
 /compile_commands.json
+
+# Documentation toolchain
+sphinx_*/
Signature · 1 line
2.26.2