Skip to content

Commit 05ddeab

Browse files
author
Nathan
committed
Add documentation
1 parent 7ee4880 commit 05ddeab

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

doc/api.odocl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Zxcvbn

opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ homepage: "https://github.com/cryptosense/ocaml-zxcvbn"
55
bug-reports: "https://github.com/cryptosense/ocaml-zxcvbn/issues"
66
license: "BSD-2"
77
dev-repo: "https://github.com/cryptosense/ocaml-zxcvbn.git"
8+
doc: "https://cryptosense.github.io/ocaml-zxcvbn/doc"
89
build: [
910
[ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" ]
1011
]

src/zxcvbn.mli

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
(** Bindings to the zxcvbn password strength estimation library *)
2+
13
module Match : sig
24
type typ =
35
| Non_match
@@ -25,4 +27,5 @@ module Match : sig
2527
[@@deriving eq, ord, show]
2628
end
2729

30+
(** Return the overall password entropy estimation and the list of match *)
2831
val matches : string -> float * Match.t list

0 commit comments

Comments
 (0)