def baseURL():
    if neuroptikon.runningFromSource:
        basePath = os.path.join(neuroptikon.rootDir, 'documentation', 'build', 'Documentation')
    else:
        basePath = os.path.join(neuroptikon.rootDir, 'documentation')