Skip to content

stack haddock: How to correctly use --prologue? #6718

Open
@ad-si

Description

@ad-si

Stack version

stack --version
Version 3.5.1, Git revision 86415540dffcb1990e0b503c894dcb913378f5dc aarch64 hpack-0.38.0

Method of installation

  • Via GHCup

Question

If I'm executing stack like this:

stack haddock \
--haddock-arguments \
  '--title=Documentation \
  --theme=/app/theme \
  --odir=/app/docs \
  --prologue=/app/prologue.md'
package-a \
package-b

I get following errors:

…
package-a: multiple -p/--prologue options
…
package-b: multiple -p/--prologue options
…

How do I use it correctly?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions