Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: use cabal's predefined __HADDOCK_VERSION__ macro instead of custom __HADDOCK__ macro. #58

Merged
merged 17 commits into from
Nov 30, 2024

Conversation

david-davies
Copy link
Collaborator

I was reading through the cabal docs, and found they automatically define the CPP macro __HADDOCK_VERSION__ during cabal haddock.
I think it is better to use this as it requires less effort to ensure haddock is supplied the right arguments.
I've replaced all uses of our custom __HADDOCK__ macro to use the predefined __HADDOCK_VERSION__, and have updated the github action to respect this. (The github action basically is the original one before we added the __HADDOCK__ macro).

@david-davies david-davies requested a review from j-mie6 November 30, 2024 08:26
@j-mie6 j-mie6 merged commit 266e808 into main Nov 30, 2024
16 checks passed
@j-mie6 j-mie6 deleted the small-docs branch November 30, 2024 09:54
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.

2 participants