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

Any way to disable docs publication? #472

Open
davesnx opened this issue Jun 5, 2023 · 2 comments
Open

Any way to disable docs publication? #472

davesnx opened this issue Jun 5, 2023 · 2 comments

Comments

@davesnx
Copy link

davesnx commented Jun 5, 2023

Hi,

I'm using dune-release to publish a package that already have some website/documentation under gh-pages, when I run dune-release it pushes to the branch overriding the website artifacts with odoc artifacts.

I would like to disable the odoc generation somehow without losing the documentation field under opam.

@Leonidas-from-XIV
Copy link
Member

Hi @davesnx. You can try to call dune-release publish distrib instead of dune-release publish, that should avoid the documentation being pushed.

With the new package documentation on ocaml.org we should probably disable the documentation pushing by default, since it is clearly inferior to those.

@davesnx
Copy link
Author

davesnx commented Jun 5, 2023

Thanks for the fast answer @Leonidas-from-XIV

I will try in the next release to publish the distribution only, Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants