aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/proofs
diff options
context:
space:
mode:
authorThéo Zimmermann2020-03-19 15:51:18 +0100
committerThéo Zimmermann2020-03-19 15:51:27 +0100
commit1be31dea4cfd31522898edc07fee0829fea7c68d (patch)
tree3bb6df49147fbb96603f950d922d153feccc27d7 /doc/sphinx/proofs
parentf5be988da566d0a48c67bd81be6d32376b3ba2a5 (diff)
Adapt to sub-TOC not showing in PDF output.
Diffstat (limited to 'doc/sphinx/proofs')
-rw-r--r--doc/sphinx/proofs/automatic-tactics/index.rst2
-rw-r--r--doc/sphinx/proofs/creating-tactics/index.rst13
-rw-r--r--doc/sphinx/proofs/writing-proofs/index.rst6
3 files changed, 9 insertions, 12 deletions
diff --git a/doc/sphinx/proofs/automatic-tactics/index.rst b/doc/sphinx/proofs/automatic-tactics/index.rst
index e89bde63bc..a219770c69 100644
--- a/doc/sphinx/proofs/automatic-tactics/index.rst
+++ b/doc/sphinx/proofs/automatic-tactics/index.rst
@@ -10,8 +10,6 @@ be used to solve some specific categories of goals, and some
programmable tactics, that the user can instrument to handle some
complex goals in new domains.
-This chapter is divided in several sub-chapters:
-
.. toctree::
:maxdepth: 1
diff --git a/doc/sphinx/proofs/creating-tactics/index.rst b/doc/sphinx/proofs/creating-tactics/index.rst
index 5882f10ec3..1af1b0b726 100644
--- a/doc/sphinx/proofs/creating-tactics/index.rst
+++ b/doc/sphinx/proofs/creating-tactics/index.rst
@@ -13,13 +13,6 @@ this has also highlighted its limits and fragility. The experimental
language :ref:`Ltac2 <ltac2>` is a typed and more principled variant
which is more adapted to building complex tactics.
-.. toctree::
- :maxdepth: 1
-
- ../../proof-engine/ltac
- ../../proof-engine/ltac2
-
-
There are other solutions beyond these two tactic languages to write
new tactics:
@@ -33,3 +26,9 @@ new tactics:
effort and commitment. A tutorial for writing Coq plugins is
available in the Coq repository in `doc/plugin_tutorial
<https://github.com/coq/coq/tree/master/doc/plugin_tutorial>`_.
+
+.. toctree::
+ :maxdepth: 1
+
+ ../../proof-engine/ltac
+ ../../proof-engine/ltac2
diff --git a/doc/sphinx/proofs/writing-proofs/index.rst b/doc/sphinx/proofs/writing-proofs/index.rst
index cc4f7e1305..a279a5957f 100644
--- a/doc/sphinx/proofs/writing-proofs/index.rst
+++ b/doc/sphinx/proofs/writing-proofs/index.rst
@@ -20,9 +20,9 @@ When a proof is complete, the user leaves the proof mode and defers
the verification of the resulting proof term to the :ref:`kernel
<core-language>`.
-This chapter is divided in several sub-chapters, describing the basic
-ideas of the proof mode (during which tactics can be used), and
-several flavors of tactics, including the SSReflect proof language:
+This chapter is divided in several parts, describing the basic ideas
+of the proof mode (during which tactics can be used), and several
+flavors of tactics, including the SSReflect proof language.
.. toctree::
:maxdepth: 1