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

Fix local haddock generation #203

Closed
kejace opened this issue Feb 1, 2020 · 0 comments
Closed

Fix local haddock generation #203

kejace opened this issue Feb 1, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kejace
Copy link
Member

kejace commented Feb 1, 2020

We seem to be running into this: polysemy-research/polysemy-zoo#55

hs-abci-sdk         > <command line>: Could not find module ‘Polysemy.Plugin’
hs-abci-sdk         > Use -v to see a list of the files searched for.

One potential fix would be to have a custom Setup.hs like here: https://github.com/achirkin/easytensor/blob/4cc9a381ad09c7a013a121cc02231f0ac2de649d/dimensions/Setup.hs

However, for hs-abci-sdk, we already have a custom Setup.hs so some work is required.

If we decide to only use haddock for pushing docs to the website (#190), then a workaround is to do what's suggested in the issue polysemy-research/polysemy-zoo#55 by temporarily disabling the plugins while building docs. This is is easy to put into the docs script.

@kejace kejace added the documentation Improvements or additions to documentation label Feb 1, 2020
kejace added a commit to kejace/hs-abci that referenced this issue Feb 1, 2020
kejace added a commit to kejace/hs-abci that referenced this issue Feb 1, 2020
kejace added a commit to kejace/hs-abci that referenced this issue Feb 1, 2020
kejace added a commit to kejace/hs-abci that referenced this issue Feb 1, 2020
@kejace kejace closed this as completed in ab6477b Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant