Relative path for conref in templates
Posted: Thu Jul 25, 2019 1:36 am
Our templates are in a /doc/resource/templates folder. We want to include conrefs in the template that won't break no matter where we create files with the template. For example, we typically create files under a /doc/source/product folder and we want to conref text in a /doc/source/common folder.
How can we make this work with the ${makeRelative(base,location)} variable? I've tried using ${currentFileURL} as base with a variety of other variables as location but I can't get this to work. What exactly is base and what is location? Is there something else that I should be doing?
How can we make this work with the ${makeRelative(base,location)} variable? I've tried using ${currentFileURL} as base with a variety of other variables as location but I can't get this to work. What exactly is base and what is location? Is there something else that I should be doing?