From 8730ba1428e358f1f06914b318ed79e49c6353c3 Mon Sep 17 00:00:00 2001 From: Jarkko Saltiola Date: Sun, 17 Aug 2025 18:17:03 +0300 Subject: [PATCH] doc: SrcDirs setting when importing Phel modules --- content/documentation/namespaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/documentation/namespaces.md b/content/documentation/namespaces.md index 9d57c95..6b08d4c 100644 --- a/content/documentation/namespaces.md +++ b/content/documentation/namespaces.md @@ -24,7 +24,7 @@ The call also sets the `*ns*` variable to the given namespace. ### Import a Phel module -Before a Phel module can be used, it has to be imported with the keyword `:require`. Once imported, the module can be accessed by its name followed by a slash and the name of the public function or value. +Before a Phel module can be used, it has to be imported with the keyword `:require`. Once imported, the module can be accessed by its name followed by a slash and the name of the public function or value. Namespaces are indexed from source file directory which is `src/` by default and can changed with [SrcDirs configuration option](/documentation/configuration/#srcdirs) in `phel-config.php`. Given, a module `util` is defined in the namespace `hello-world`.