Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Honor nested path in tagspath #569
This is a first cut on fixing #563.
This change addreses the need by:
TODO: the getPathToRoot should honor uirExtension prefix.
referenced this pull request
Nov 13, 2018
so i figured out what is causing the failure, haven't found solution yet.
Problem is that somehow the paths used in the config are from the actual filesystem but the paths used in paths during tags rendering are on the virtual storage somehow. Resulting in the relative path calculation being confused.
somewhere the paths are not setup right.
that's normal behaviour. The tests are mostly integration tests which simulate a jbake project within a temporary folder.
In this case the source, template and asset folder points to the location where the fixtures are. And the destination points to the temporary folder.
The destination is per default relative to the project structure. But it is possible to put the output where ever you want. The cli let you specify the destination somewhere else too.
As an addition, you do not deploy the source, just the output. So everything you do with paths during the rendering or better when the sourcefiles get converted from the concrete engines, should refer to the output path as it is the document root of your homepage.