Skip to content

Commit

Permalink
Adjust haddock module hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
owestphal authored Jul 26, 2023
1 parent 109272c commit 644f2bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/haddock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
shell: bash
run: |
shopt -s globstar && \
shopt -s extglob && \
stack exec haddock -- ./src/**/!(Internal)/*.hs --html --odir docs
stack exec haddock -- ./src/**/*.hs $(for m in src/**/Internal/*.hs; do echo -n " --hide $m" | sed -r -e 's|/|.|g' -e 's|.src.||' -e 's|.hs||'; done) --html --odir docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 644f2bd

Please sign in to comment.