Skip to content

Test haddock documentation using doctest#21

Merged
fpringle merged 7 commits into
mainfrom
fpringle/doctests
Apr 30, 2026
Merged

Test haddock documentation using doctest#21
fpringle merged 7 commits into
mainfrom
fpringle/doctests

Conversation

@fpringle
Copy link
Copy Markdown
Owner

@fpringle fpringle commented Apr 30, 2026

Closes #17.

Using doctest we can test the examples in our Haddock comments.
I originally tried to run the doctests as part of the CICD (tried both doctest and doctest-parallel), but it kept failing. So now it's a pre-push git hook.

Also closes #4 and #5.

@fpringle fpringle force-pushed the fpringle/doctests branch from 4227445 to de8156d Compare April 30, 2026 20:41
@fpringle fpringle force-pushed the fpringle/doctests branch from de8156d to 7265070 Compare April 30, 2026 20:56
@fpringle fpringle linked an issue Apr 30, 2026 that may be closed by this pull request
@fpringle fpringle merged commit ac056ae into main Apr 30, 2026
20 checks passed
@fpringle fpringle deleted the fpringle/doctests branch April 30, 2026 21:22
@fpringle fpringle mentioned this pull request Apr 30, 2026
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

Successfully merging this pull request may close these issues.

Fix incorrect GHCI outputs in docs Better documentation in RenderOpts

1 participant