Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative base-URL is causing some confusion #32

Open
pwuertz opened this issue May 22, 2023 · 0 comments
Open

Relative base-URL is causing some confusion #32

pwuertz opened this issue May 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working stale

Comments

@pwuertz
Copy link

pwuertz commented May 22, 2023

Description

When using a relative base URL base-url = ".", the generated links from index.html to ./package/ are fine, but wheel-links within a subfolder like ./package/index.html still include the subfolder ./package/package-xyz.whl within the link, thus incorrectly referring to locations like package/package/package-xyz.whl.

Steps to Reproduce

Run simple503 . with simple503.toml:

[simple503]
base-url = "."
target = "."
sort = true
copy = false

Generated links to wheel files are off by one subfolder.

Actual result:

Generated links currently resolve to <base>/package/package/package-xyz.whl.

Expected result:

Generated links should resolve to <base>/package/package-xyz.whl.

@pwuertz pwuertz added the bug Something isn't working label May 22, 2023
@stale stale bot added the stale label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants