File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -788,3 +788,19 @@ configuration. These are:
788788
789789See :doc: `concepts/variables ` for more information on variables supported by
790790Dune.
791+
792+
793+ .. _coq-env :
794+
795+ Coq Environment Fields
796+ ----------------------
797+
798+ The :ref: `dune-env ` stanza has a ``(coq <coq_fields>) `` field with the following
799+ values for ``<coq_fields> ``:
800+
801+ - ``(flags <flags>) ``: The default flags passed to ``coqc ``. The default value
802+ is ``-q ``. Values set here become the ``:standard `` value in the
803+ ``(coq.theory (flags <flags>)) `` field.
804+ - ``(coqdoc_flags <flags>) ``: The default flags passed to ``coqdoc ``. The default
805+ value is ``--toc ``. Values set here become the ``:standard `` value in the
806+ ``(coq.theory (coqdoc_flags <flags>)) `` field.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Fields supported in ``<settings>`` are:
6262- ``(odoc <fields>) `` allows passing options to ``odoc ``. See
6363 :ref: `odoc-options ` for more details.
6464
65- - ``(coq (flags <flags>)) `` allows passing options to Coq. See :ref: `coq-theory `
65+ - ``(coq <coq_fields>) `` allow passing options to Coq. See :ref: `coq-env `
6666 for more details.
6767
6868- ``(formatting <settings>) `` allows the user to set auto-formatting in the
You can’t perform that action at this time.
0 commit comments