From 101f560004981cb86f91a42ce6640aa6af73992f Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Tue, 2 Feb 2021 20:41:12 +0100 Subject: [PATCH] fix pypi images --- flash/setup_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash/setup_tools.py b/flash/setup_tools.py index 8e0b57aa0c..c447d1f043 100644 --- a/flash/setup_tools.py +++ b/flash/setup_tools.py @@ -69,7 +69,7 @@ def _load_readme_description(path_dir: str, homepage: str = __homepage__, ver: s github_source_url = os.path.join(homepage, "raw", ver) # replace relative repository path to absolute link to the release # do not replace all "docs" as in the readme we reger some other sources with particular path to docs - text = text.replace("docs/source/_images/", f"{os.path.join(github_source_url, 'docs/source/_images/')}") + text = text.replace("docs/source/_static/images/", f"{os.path.join(github_source_url, 'docs/source/_static/images/')}") # readthedocs badge text = text.replace('badge/?version=stable', f'badge/?version={ver}')