From 65ef6371141abada8d5f9421d4f84d9bc9fb1836 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Fri, 7 Jun 2024 11:22:03 +0200 Subject: [PATCH] docs: document .gitignore crawling behavior --- docs/pages/filesystem-routing/+Page.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pages/filesystem-routing/+Page.mdx b/docs/pages/filesystem-routing/+Page.mdx index ce84463eea..a29b250f1d 100644 --- a/docs/pages/filesystem-routing/+Page.mdx +++ b/docs/pages/filesystem-routing/+Page.mdx @@ -77,7 +77,9 @@ In other words: all your `+` files need to liv > You can use soft symlinks (`$ ln -s`) to link outside directories into `root` and thus make them crawlable. -> You can use the `filesystemRoutingRoot` setting to get lot of flexibility, as shown for example at . +If you use Git then Vike doesn't crawl and skips all directories defined by your `.gitignore` files. + +You can use the `filesystemRoutingRoot` setting to get lot of flexibility, as shown for example at . ## See also