aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-11-11 14:25:46 +0100
committerMartin Liska <mliska@suse.cz>2022-11-11 14:27:24 +0100
commit3b54cc9d04c2efb2c8f9a0b515e638917636630c (patch)
treec09b9edeafb08d5efd7ea0d201cd40a00f3acd9f
parent02698e21de26c7d4217f856ee64436148e0aede7 (diff)
downloadgcc-3b54cc9d04c2efb2c8f9a0b515e638917636630c.zip
gcc-3b54cc9d04c2efb2c8f9a0b515e638917636630c.tar.gz
gcc-3b54cc9d04c2efb2c8f9a0b515e638917636630c.tar.bz2
jit: doc: Use shared Indices and tables
Apart from that, do not use leading .rst names in toctree. ChangeLog: * doc/indices-and-tables.rst: Rename Indexes to Indices. gcc/jit/ChangeLog: * doc/cp/index.rst: Remove trailing .rst in toctree. * doc/cp/intro/index.rst: Likewise. * doc/cp/topics/index.rst: Likewise. * doc/index.rst: Likewise. * doc/intro/index.rst: Likewise. * doc/topics/index.rst: Likewise. * doc/indices-and-tables.rst: New file.
-rw-r--r--doc/indices-and-tables.rst2
-rw-r--r--gcc/jit/doc/cp/index.rst4
-rw-r--r--gcc/jit/doc/cp/intro/index.rst8
-rw-r--r--gcc/jit/doc/cp/topics/index.rst16
-rw-r--r--gcc/jit/doc/index.rst15
-rw-r--r--gcc/jit/doc/indices-and-tables.rst1
-rw-r--r--gcc/jit/doc/intro/index.rst10
-rw-r--r--gcc/jit/doc/topics/index.rst22
8 files changed, 37 insertions, 41 deletions
diff --git a/doc/indices-and-tables.rst b/doc/indices-and-tables.rst
index bf62509..56b3313 100644
--- a/doc/indices-and-tables.rst
+++ b/doc/indices-and-tables.rst
@@ -1,6 +1,6 @@
.. only:: html
- Indexes and tables
+ Indices and tables
==================
:ref:`genindex`
diff --git a/gcc/jit/doc/cp/index.rst b/gcc/jit/doc/cp/index.rst
index 46efb8a..00263b6 100644
--- a/gcc/jit/doc/cp/index.rst
+++ b/gcc/jit/doc/cp/index.rst
@@ -33,5 +33,5 @@ Contents:
.. toctree::
:maxdepth: 2
- intro/index.rst
- topics/index.rst
+ intro/index
+ topics/index
diff --git a/gcc/jit/doc/cp/intro/index.rst b/gcc/jit/doc/cp/intro/index.rst
index e681210..3a6a26c 100644
--- a/gcc/jit/doc/cp/intro/index.rst
+++ b/gcc/jit/doc/cp/intro/index.rst
@@ -21,7 +21,7 @@ Tutorial
.. toctree::
:maxdepth: 2
- tutorial01.rst
- tutorial02.rst
- tutorial03.rst
- tutorial04.rst
+ tutorial01
+ tutorial02
+ tutorial03
+ tutorial04
diff --git a/gcc/jit/doc/cp/topics/index.rst b/gcc/jit/doc/cp/topics/index.rst
index cdf7e55..e659ece 100644
--- a/gcc/jit/doc/cp/topics/index.rst
+++ b/gcc/jit/doc/cp/topics/index.rst
@@ -21,11 +21,11 @@ Topic Reference
.. toctree::
:maxdepth: 2
- contexts.rst
- objects.rst
- types.rst
- expressions.rst
- functions.rst
- locations.rst
- compilation.rst
- asm.rst
+ contexts
+ objects
+ types
+ expressions
+ functions
+ locations
+ compilation
+ asm
diff --git a/gcc/jit/doc/index.rst b/gcc/jit/doc/index.rst
index 0f57596..a354d1c 100644
--- a/gcc/jit/doc/index.rst
+++ b/gcc/jit/doc/index.rst
@@ -33,14 +33,9 @@ Contents:
.. toctree::
:maxdepth: 2
- intro/index.rst
- topics/index.rst
- cp/index.rst
- internals/index.rst
+ intro/index
+ topics/index
+ cp/index
+ internals/index
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`search`
+ indices-and-tables
diff --git a/gcc/jit/doc/indices-and-tables.rst b/gcc/jit/doc/indices-and-tables.rst
new file mode 100644
index 0000000..5cc3191
--- /dev/null
+++ b/gcc/jit/doc/indices-and-tables.rst
@@ -0,0 +1 @@
+.. include:: ../../../doc/indices-and-tables.rst
diff --git a/gcc/jit/doc/intro/index.rst b/gcc/jit/doc/intro/index.rst
index 552a6ed..20a813e 100644
--- a/gcc/jit/doc/intro/index.rst
+++ b/gcc/jit/doc/intro/index.rst
@@ -21,8 +21,8 @@ Tutorial
.. toctree::
:maxdepth: 2
- tutorial01.rst
- tutorial02.rst
- tutorial03.rst
- tutorial04.rst
- tutorial05.rst
+ tutorial01
+ tutorial02
+ tutorial03
+ tutorial04
+ tutorial05
diff --git a/gcc/jit/doc/topics/index.rst b/gcc/jit/doc/topics/index.rst
index 8e843c2..39462d9 100644
--- a/gcc/jit/doc/topics/index.rst
+++ b/gcc/jit/doc/topics/index.rst
@@ -21,14 +21,14 @@ Topic Reference
.. toctree::
:maxdepth: 2
- contexts.rst
- objects.rst
- types.rst
- expressions.rst
- functions.rst
- function-pointers.rst
- locations.rst
- compilation.rst
- compatibility.rst
- performance.rst
- asm.rst
+ contexts
+ objects
+ types
+ expressions
+ functions
+ function-pointers
+ locations
+ compilation
+ compatibility
+ performance
+ asm