doc fix [skip ci]
Fixes #2303: support setting basePath and baseUrl as aliases during runtime.