Skip to content

Commit

Permalink
Mark internal (unstable) libraries as such
Browse files Browse the repository at this point in the history
Add an internal description in the synopsis and also a comment in the ocamldoc
  • Loading branch information
rgrinberg committed Apr 10, 2018
1 parent 1488359 commit bd52821
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ocaml-config/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
((name ocaml_config)
(public_name jbuilder.ocaml_config)
(libraries (stdune usexp))
(synopsis "Interpret the output of 'ocamlc -config'")))
(synopsis "[Internal] Interpret the output of 'ocamlc -config'")))
4 changes: 3 additions & 1 deletion src/ocaml-config/ocaml_config.mli
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(** Represent the output of [ocamlc -config] *)
(** Represent the output of [ocamlc -config].
This library is internal to jbuilder and guarantees no API stability. *)

open Stdune

Expand Down
2 changes: 2 additions & 0 deletions src/stdune/caml/caml.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(** This library is internal to jbuilder and guarantees no API stability. *)

module Filename = Filename
module String = String
module Char = Char
Expand Down
2 changes: 1 addition & 1 deletion src/stdune/caml/jbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(library
((name caml)
(public_name jbuilder.caml)
(synopsis "Wrapped version of the OCaml stdlib")))
(synopsis "[Internal] Wrapped version of the OCaml stdlib")))
2 changes: 1 addition & 1 deletion src/stdune/jbuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
((name stdune)
(public_name jbuilder.stdune)
(synopsis "Standard library of Dune")
(synopsis "[Internal] Standard library of Dune")
(libraries (caml unix))))
1 change: 1 addition & 0 deletions src/usexp/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(library
((name usexp)
(synopsis "[Internal] S-expression library")
(public_name jbuilder.usexp)))

(rule
Expand Down
4 changes: 3 additions & 1 deletion src/usexp/usexp.mli
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(** Parsing of s-expressions *)
(** Parsing of s-expressions.
This library is internal to jbuilder and guarantees no API stability.*)

module Atom : sig
type t = private A of string [@@unboxed]
Expand Down

0 comments on commit bd52821

Please sign in to comment.