aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/user-extensions
diff options
context:
space:
mode:
authorClément Pit-Claudel2019-03-10 19:00:21 -0400
committerClément Pit-Claudel2019-03-10 19:00:21 -0400
commit660732f055021bb4ed3d0a4613aac719cb8f3556 (patch)
tree6e5623b6e80e8a356055ad9ea19d63dac6bb39d8 /doc/sphinx/user-extensions
parent200a1712b9948fa7682dc95eeb0a520d6804caaf (diff)
parent9c201fe42142de7332149863d6c1343c2dec8391 (diff)
Merge PR #9654: [sphinx] Add warn option to coqtop directive.
Ack-by: SkySkimmer Ack-by: Zimmi48 Ack-by: vbgl Reviewed-by: cpitclaudel
Diffstat (limited to 'doc/sphinx/user-extensions')
-rw-r--r--doc/sphinx/user-extensions/syntax-extensions.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst
index 4f46a80dcf..e5eb7eb4f5 100644
--- a/doc/sphinx/user-extensions/syntax-extensions.rst
+++ b/doc/sphinx/user-extensions/syntax-extensions.rst
@@ -1115,6 +1115,8 @@ Binding arguments of a constant to an interpretation scope
.. coqtop:: all
Parameter g : bool -> bool.
+ Declare Scope mybool_scope.
+
Notation "@@" := true (only parsing) : bool_scope.
Notation "@@" := false (only parsing): mybool_scope.
@@ -1151,6 +1153,7 @@ Binding types of arguments to an interpretation scope
.. coqtop:: in reset
Parameter U : Set.
+ Declare Scope U_scope.
Bind Scope U_scope with U.
Parameter Uplus : U -> U -> U.
Parameter P : forall T:Set, T -> U -> Prop.
@@ -1575,7 +1578,7 @@ Numeral notations
For example
- .. coqtop:: all
+ .. coqtop:: all warn
Check 90000.