The comments documenting how nunjucks.FileSystemLoader is instantiated describe the use of options.nunjucks.root which isn't actually used to set up the loader.
This PR removes the error in the documentation and expands the comments to describe how to address both ways that options.nunjucks.loader can be used to pass arguments to nunjucks.FileSystemLoader.
The comments documenting how
nunjucks.FileSystemLoader
is instantiated describe the use ofoptions.nunjucks.root
which isn't actually used to set up the loader.This PR removes the error in the documentation and expands the comments to describe how to address both ways that
options.nunjucks.loader
can be used to pass arguments tonunjucks.FileSystemLoader
.