Skip to content

Commit

Permalink
use old command
Browse files Browse the repository at this point in the history
  • Loading branch information
owestphal committed Aug 7, 2023
1 parent 196e3de commit 1bfa60c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/haddock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ jobs:
- name: Build Haddock
shell: bash
run: |
stack haddock --haddock-arguments="--odir docs"
shopt -s globstar && \
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 --pretty-html --hyperlinked-source --quickjump \
--title="IOTasks" \
--prologue=haddock/prologue \
--odir docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit 1bfa60c

Please sign in to comment.