Skip to content

Commit

Permalink
Merge pull request #74 from akirak/sherlodoc
Browse files Browse the repository at this point in the history
feat(ocaml): Add sherlodoc
  • Loading branch information
akirak authored Feb 26, 2024
2 parents e2106e6 + 42bc20c commit eff82ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-ocaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: akirak
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
pushFilter: '-source$'

- uses: actions/checkout@v4
with:
path: ./tmp
Expand Down
1 change: 1 addition & 0 deletions ocaml/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
opam
odoc
odig
(sherlodoc.override {enableServe = true;})
]);
};
});
Expand Down
3 changes: 3 additions & 0 deletions ocaml/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ sherlodoc-index: odig-odoc
find "$(odig cache path)/odoc" -name '*.odocl' \
| grep -v '__' \
| xargs sherlodoc index

sherlodoc-serve:
sherlodoc serve

0 comments on commit eff82ee

Please sign in to comment.