We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cabal haddock-project
1 parent 3143738 commit 40c3d95Copy full SHA for 40c3d95
.github/workflows/build.yml
@@ -106,21 +106,16 @@ jobs:
106
107
- name: Documentation (Generation)
108
run: >
109
- cabal haddock
110
- --builddir=${{ env.cabal-build-dir }}
111
- --enable-documentation
112
- --haddock-hyperlink-source
113
- --haddock-html-location
114
- 'https://hackage.haskell.org/package/$pkg-$version/docs'
+ cabal haddock-project
+ --hackage
+ --output=gh-pages
115
116
- name: Documentation (Staging)
117
if: |
118
github.ref == 'refs/heads/main'
119
&& matrix.os == 'ubuntu-latest'
120
&& matrix.ghc == '9.12'
121
122
- mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
123
-
124
touch gh-pages/.nojekyll
125
126
- name: Documentation (Deployment)
0 commit comments