docute
docute copied to clipboard
Adding option `basePath`
basePath defines where your app is located, it defaults to / since most apps are hosted at root path, you can set it to /docs if your app is hosted at https://example.com/docs, when sourcePath is a relative path, it should also be resolved from basePath.
Would that make it possible to run the files from a relative path (e.g. file://).
So, if basePath would be something like .?