tarides / dune-release

Streamlining the release of dune packages to opam
ISC License
114 stars 38 forks source link

Any way to disable docs publication? #472

Open davesnx opened 1 year ago

davesnx commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Thanks for the fast answer @Leonidas-from-XIV

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