Skip to content

Commit 84a21c8

Browse files
authored
Merge pull request #121 from jasalt/doc-require-srcdirs
doc: SrcDirs setting when importing Phel modules
2 parents bbb5650 + 8730ba1 commit 84a21c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/documentation/namespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The call also sets the `*ns*` variable to the given namespace.
2424

2525
### Import a Phel module
2626

27-
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.
27+
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`.
2828

2929
Given, a module `util` is defined in the namespace `hello-world`.
3030

0 commit comments

Comments
 (0)