From 5ce34c593a589582cc48234685af05dbc56a2e74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Gergely?= Date: Mon, 13 Mar 2023 19:01:26 +0100 Subject: [PATCH] Ignore more generated files in gitignore (#1934) Add more of the sphinx generated files, so generating the docs does not add untracked files. Ignore the folder `.venv` typically used for virtual environments. Also sort the ignored file list for easier maintenance. --- .gitignore | 5 +++-- docs/.gitignore | 5 +++++ docs/.sphinx/.gitignore | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 docs/.gitignore create mode 100644 docs/.sphinx/.gitignore diff --git a/.gitignore b/.gitignore index 486f7bdd4..b67a2bce1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +_build +.venv .vscode -build -_build \ No newline at end of file +build \ No newline at end of file diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 000000000..3d870b99d --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1,5 @@ +/_images +/_static +/_templates +/CHANGELOG.md +/RELEASE.md \ No newline at end of file diff --git a/docs/.sphinx/.gitignore b/docs/.sphinx/.gitignore new file mode 100644 index 000000000..243eac16c --- /dev/null +++ b/docs/.sphinx/.gitignore @@ -0,0 +1 @@ +/_toc.yml \ No newline at end of file