Skip to content

Commit

Permalink
Document doc-json
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Jul 18, 2023
1 parent 187b597 commit d8d6a31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion doc/reference/aliases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,14 @@ used instead. For example, if the following is present in ``tests/dune``,
@doc
^^^^

This alias builds documentation for public libraries.
This alias builds documentation for public libraries as HTML pages.

@doc-json
^^^^^^^^^

This alias builds documentation for public libraries as JSON files. These are
produced by ``odoc``'s option ``--as-json`` and can be consumed by external
tools.

@doc-private
^^^^^^^^^^^^
Expand Down
1 change: 0 additions & 1 deletion src/dune_engine/alias.ml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ let install = make_standard Name.install

let doc = make_standard (Name.of_string "doc")

(** XXX is there anything to do to make a new standard alias? document it? *)
let doc_json = make_standard (Name.of_string "doc-json")

let private_doc = make_standard (Name.of_string "doc-private")
Expand Down

0 comments on commit d8d6a31

Please sign in to comment.