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

dune-release gets confused about a documentation link pointing to index.html #464

Open
lukstafi opened this issue Mar 30, 2023 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@lukstafi
Copy link

With the check command, I was getting:
opam field doc cannot be parsed by dune-release.
The field was this:
doc: "https://lukstafi.github.io/ppx_minidebug/ppx_minidebug/index.html"
With the actual release, I was getting:
cp: cannot create directory 'ppx_minidebug/index.html': No such file or directory
Problem went away when I removed the /index.html suffix in the documentation stanza of dune-project.

@Leonidas-from-XIV
Copy link
Member

Hmm, yes indeed, check probably error out with a better error. That's a bug for sure.

Want to submit a PR to fix it? It should be reasonably easy.

@Leonidas-from-XIV Leonidas-from-XIV added bug Something isn't working good first issue Good for newcomers labels Mar 30, 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 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants