diff --git a/tools/pycafe/create_pycafe_links.py b/tools/pycafe/create_pycafe_links.py index 47dd36a13..68c94e798 100644 --- a/tools/pycafe/create_pycafe_links.py +++ b/tools/pycafe/create_pycafe_links.py @@ -89,8 +89,8 @@ def generate_link(directory: str, extra_requirements: Optional[list[str]] = None # Add files to the json_object json_object["files"] = [ { - "name": file["path"].removeprefix(f"{directory}/"), - "url": f"{base_url}/{file['path'].removeprefix(f'{directory}/')}", + "name": file["path"].removeprefix(f"{directory}"), + "url": f"{base_url}{file['path'].removeprefix(f'{directory}')}", } for file in folder_files # Filter out app.py and requirements.txt (as already added above) diff --git a/vizro-core/examples/scratch_dev/README2.md b/vizro-core/examples/scratch_dev/README2.md new file mode 100644 index 000000000..91cdc18cc --- /dev/null +++ b/vizro-core/examples/scratch_dev/README2.md @@ -0,0 +1 @@ +# Also to be deleted \ No newline at end of file