How to run dune build @doc with arguments

I have an ocaml project using Dune. I want to generate documentation using Odoc. Currently, running dune build @doc works, but I want to pass in the -short-functors option to Odoc. How do I pass options to Odoc through Dune?

As far as I know, odoc doesn’t have a -short-functors option. That’s an ocamldoc-specific option.

If this is something that’s present in ocamldoc that you need in odoc output, it would be useful to have an issue reported on the odoc tracker so that it’s tracked.