From 1be31dea4cfd31522898edc07fee0829fea7c68d Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Thu, 19 Mar 2020 15:51:18 +0100 Subject: Adapt to sub-TOC not showing in PDF output. --- doc/sphinx/proofs/automatic-tactics/index.rst | 2 -- doc/sphinx/proofs/creating-tactics/index.rst | 13 ++++++------- doc/sphinx/proofs/writing-proofs/index.rst | 6 +++--- 3 files changed, 9 insertions(+), 12 deletions(-) (limited to 'doc/sphinx/proofs') 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 ` 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 `_. + +.. 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 `. -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 -- cgit v1.2.3