Closed davedawkins closed 1 year ago
You can specify parameters at the command line.
dotnet fsdocs build --parameters root ../
Substitutions/parameters:
root --> ../
That is useful to know, thank you. Just to make sure I'm not missing anything, does it mention root
in that page there, or how to rebase links? If not, then I can submit a doc PR
Tested, that works - thanks again
It's there but not super explicit and there's no examples. It could probably be improved. At the bottom of the templates and substutions section that you were referencing it mentions
For the fsdocs tool, additional substitutions can be specified using --parameters.
The command line tool --help output does a better job documenting it, showing the "--parameters key value" format.
This is how I'm doing it now, to test locally:
in order to have
root
set as shown hereIs there a better way? (reading the source suggests that it will derive
root
from<PackageProjectUrl>
onlyThank you!