From 9638da43e9f189e1ac46ab8857dd37f907c4d347 Mon Sep 17 00:00:00 2001 From: aries Date: Wed, 24 Jul 2019 01:50:56 +0000 Subject: [PATCH] Add text about gitignore --- docs/config/static_dir.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config/static_dir.md b/docs/config/static_dir.md index 1326a5a17..5fb38c3de 100644 --- a/docs/config/static_dir.md +++ b/docs/config/static_dir.md @@ -13,6 +13,8 @@ Alternatively, you can overwrite this value in your configuration to use a diffe This document is written assuming `instance/static/`. +Or, if you want to manage your custom file in git repository, basically remove the `instance/` entry from `.gitignore`. + ## robots.txt By default, the `robots.txt` that ships in `priv/static/` is permissive. It allows well-behaved search engines to index all of your instance's URIs.