Skip to content

Commit

Permalink
update documenmts
Browse files Browse the repository at this point in the history
  • Loading branch information
jzstark committed Mar 8, 2024
1 parent f2381ea commit c7dbf43
Show file tree
Hide file tree
Showing 2,078 changed files with 26,626 additions and 28,066 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,13 @@ jobs:
- name: OCaml Deps
run: opam install ocaml-compiler-libs alcotest conf-openblas ctypes dune-configurator stdio npy odoc

# @TODO: the doc for submodules, e.g. Matrix.S, are not generated
# Currently rely on manually update docs into the /docs directory
- name: Build doc
run: opam exec -- dune build @doc --verbose

- name: inspect
run: |
ls _build/default/_doc/_html/owl/Owl
ls _build/default/_doc/_html/owl/Owl_dense_matrix
ls _build/default/_doc/_html/
run: |
opam exec -- dune build @doc
cp docs/*.js _build/default/_doc/_html/
cp docs/*.css _build/default/_doc/_html/
# cat docs/mathjax.js docs/highlight.pack.js >> _build/default/_doc/_html/highlight.pack.js
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ uninstall:
.PHONY: doc
doc:
dune build @doc
cat docs/mathjax.js docs/highlight.pack.js >> _build/default/_doc/_html/highlight.pack.js
# cat docs/mathjax.js docs/highlight.pack.js >> _build/default/_doc/_html/highlight.pack.js
cp -r _build/default/_doc/_html/* docs

.PHONY: distclean cleanall
Expand Down
2,771 changes: 0 additions & 2,771 deletions docs/highlight.pack.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>index</title>
<link rel="stylesheet" href="./odoc.css"/>
<link rel="stylesheet" href="./odoc.support/odoc.css"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
</head>
Expand Down
1 change: 0 additions & 1 deletion docs/mathjax.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
634 changes: 634 additions & 0 deletions docs/odoc.support/highlight.pack.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit c7dbf43

Please sign in to comment.