aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2022-02-07 18:17:18 +0100
committerumarcor <unai.martinezcorral@ehu.eus>2022-02-07 18:41:31 +0100
commit76b17599cb66d757e1ced79a8a786c924e409a26 (patch)
tree8aa7f1bbf11fcf70e2cb0e530a040f3efb159094 /doc
parentd275c83869d154f2f6529f1e64391f90de9ee64b (diff)
downloadghdl-76b17599cb66d757e1ced79a8a786c924e409a26.tar.gz
ghdl-76b17599cb66d757e1ced79a8a786c924e409a26.tar.bz2
ghdl-76b17599cb66d757e1ced79a8a786c924e409a26.zip
doc: move toctrees to a file
Diffstat (limited to 'doc')
-rw-r--r--doc/index.rst66
-rw-r--r--doc/toc.rst65
2 files changed, 66 insertions, 65 deletions
diff --git a/doc/index.rst b/doc/index.rst
index 8cddac6bf..58c5fcb16 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -129,68 +129,4 @@ GHDL
.. rubric:: 23.10.2015 - GHDL 0.33 was released.
-.. toctree::
- :caption: Introduction
- :hidden:
-
- about
- getting
- contribute
- licenses
-
-.. raw:: latex
-
- \part{Usage}
-
-.. toctree::
- :caption: GHDL usage
- :hidden:
-
- quick_start/index
- using/InvokingGHDL
- using/Simulation
- using/Synthesis
- using/CommandReference
- using/ImplementationOfVHDL
- using/ImplementationOfVITAL
-
-.. raw:: latex
-
- \part{Development}
-
-.. toctree::
- :caption: Development
- :hidden:
-
- development/Directories
- Building GHDL <development/building/index>
- Python Interfaces <pyGHDL/pyGHDL>
- ghw/index
- development/Debugging
- development/CodingStyle
- development/Scripts
-
-.. raw:: latex
-
- \part{Internals}
-
-.. toctree::
- :caption: Internals
- :hidden:
-
- internals/index
- internals/Frontend
- internals/AST
- internals/RTI
- gnatdoc/index
-
-.. raw:: latex
-
- \part{Index}
-
-.. toctree::
- :caption: Index
- :hidden:
-
- genindex
- py-modindex
+.. include:: toc.rst
diff --git a/doc/toc.rst b/doc/toc.rst
new file mode 100644
index 000000000..51c52fbf6
--- /dev/null
+++ b/doc/toc.rst
@@ -0,0 +1,65 @@
+.. toctree::
+ :caption: Introduction
+ :hidden:
+
+ about
+ getting
+ contribute
+ licenses
+
+.. raw:: latex
+
+ \part{Usage}
+
+.. toctree::
+ :caption: GHDL usage
+ :hidden:
+
+ quick_start/index
+ using/InvokingGHDL
+ using/Simulation
+ using/Synthesis
+ using/CommandReference
+ using/ImplementationOfVHDL
+ using/ImplementationOfVITAL
+
+.. raw:: latex
+
+ \part{Development}
+
+.. toctree::
+ :caption: Development
+ :hidden:
+
+ development/Directories
+ Building GHDL <development/building/index>
+ Python Interfaces <pyGHDL/pyGHDL>
+ ghw/index
+ development/Debugging
+ development/CodingStyle
+ development/Scripts
+
+.. raw:: latex
+
+ \part{Internals}
+
+.. toctree::
+ :caption: Internals
+ :hidden:
+
+ internals/index
+ internals/Frontend
+ internals/AST
+ internals/RTI
+ gnatdoc/index
+
+.. raw:: latex
+
+ \part{Index}
+
+.. toctree::
+ :caption: Index
+ :hidden:
+
+ genindex
+ py-modindex