Explorar el Código

Fixes #22310: Restore tracked placeholder in project-static/docs to prevent staticfiles warning (#22337)

Jason Novinger hace 1 mes
padre
commit
a72ab9007e
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      .gitignore
  2. 0 0
      netbox/project-static/docs/.gitkeep

+ 4 - 2
.gitignore

@@ -14,8 +14,10 @@ yarn-error.log*
 # AI tooling
 # AI tooling
 .claude/settings.local.json
 .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
 # Static files collected by Django
 /netbox/static/
 /netbox/static/

+ 0 - 0
netbox/project-static/docs/.gitkeep