Instead of re-publishing a copy of the syntax-highlighted source code with the documentation, I would like to instead link to the source code as hosted on BitBucket via the --source-entity-line option.
There doesn't appear to be a way to pass in options to haddock from the stack command, in contrast with the mechanism --test-arguments that is able to forward arbitrary options to a test program.
Instead of re-publishing a copy of the syntax-highlighted source code with the documentation, I would like to instead link to the source code as hosted on BitBucket via the
--source-entity-lineoption.There doesn't appear to be a way to pass in options to
haddockfrom thestackcommand, in contrast with the mechanism--test-argumentsthat is able to forward arbitrary options to a test program.