From ddca6d385cff2e1daa5338ce643d80993fa50176 Mon Sep 17 00:00:00 2001 From: "Jason A. Crome" Date: Sun, 30 Jul 2023 22:04:46 -0400 Subject: [PATCH] Document the purpose of the .dancer file --- lib/Dancer2/Manual.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index 11a9eff7a..d0244e24a 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -86,7 +86,11 @@ It creates a directory named after the name of the app, along with a configuration file, a views directory (where your templates and layouts will live), an environments directory (where environment-specific settings live), a module containing the actual guts of your application, and -a script to start it. A default skeleton is used to bootstrap the new +a script to start it. Finally, F<.dancer> indicates the root directory of +your app, making it easier for Dancer2 to determine the various paths it +needs for finding resources and code within your application. + +A default skeleton is used to bootstrap the new application, but you can use the C<-s> option to provide another skeleton. For example: