From a72ab9007eb50d6f1d8b60e7668e84125d697141 Mon Sep 17 00:00:00 2001 From: Jason Novinger Date: Mon, 1 Jun 2026 07:31:51 -0500 Subject: [PATCH] Fixes #22310: Restore tracked placeholder in project-static/docs to prevent staticfiles warning (#22337) --- .gitignore | 6 ++++-- netbox/project-static/docs/.gitkeep | 0 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 netbox/project-static/docs/.gitkeep diff --git a/.gitignore b/.gitignore index 42f47b8b0..abb09fa71 100644 --- a/.gitignore +++ b/.gitignore @@ -14,8 +14,10 @@ yarn-error.log* # AI tooling .claude/settings.local.json -# Documentation generated by the upgrade/build workflow -/netbox/project-static/docs/ +# Documentation generated by the upgrade/build workflow. +# Keep the placeholder so the directory exists in a fresh checkout. +/netbox/project-static/docs/* +!/netbox/project-static/docs/.gitkeep # Static files collected by Django /netbox/static/ diff --git a/netbox/project-static/docs/.gitkeep b/netbox/project-static/docs/.gitkeep new file mode 100644 index 000000000..e69de29bb