Skip to content

Commit

Permalink
Correct doc conf
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinehumbert committed Mar 3, 2021
1 parent 96739ea commit 0db9d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -44,7 +44,7 @@ def setup(app):
source_dir = os.path.dirname(__file__)
api_dir = os.path.join(source_dir, 'api')
shutil.rmtree(api_dir, ignore_errors=True)
projects_sources_dir = get_distribution(project).location
projects_sources_dir = os.path.normpath(os.path.join(source_dir, '..', '..', 'src'))
for package_name in find_packages(projects_sources_dir):
sphinx.ext.apidoc.main(
['--implicit-namespaces', '-f', '-e', '-o', api_dir, os.path.join(projects_sources_dir, package_name)]
Expand Down

0 comments on commit 0db9d11

Please sign in to comment.