public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-08-01 11:52 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-08-01 11:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:615482cb1b877b8f2fec9ef64b9be9e0e44a9e24
commit 615482cb1b877b8f2fec9ef64b9be9e0e44a9e24
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
gcc/ada/ChangeLog:
* doc/gnat_rm/index.rst: Fix cross manual refs.
gcc/ChangeLog:
* doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst:
Fix cross manual refs.
* doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst:
Likewise.
gcc/jit/ChangeLog:
* doc/internals/index.rst: Fix cross manual refs.
* doc/topics/contexts.rst: Likewise.
Diff:
---
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
5 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 092380c8f20..14bb3bb7fa9 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-08-01 4:03 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-08-01 4:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8c9dc3e1e9fa2bff1757f13074c495ed629cf43b
commit 8c9dc3e1e9fa2bff1757f13074c495ed629cf43b
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 7a123167a49..ee068f57fa4 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 13:19 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 13:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9820b0db821f604c15707ec76b51c5303b186b4c
commit 9820b0db821f604c15707ec76b51c5303b186b4c
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 7a123167a49..ee068f57fa4 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 12:40 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 12:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f720291c0854e7ec72ba3455fbd65e3ffd9b2e53
commit f720291c0854e7ec72ba3455fbd65e3ffd9b2e53
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 1e212170c42..87cda64329b 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 12:39 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 12:39 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e2d77b6a5e9811168a9bfff0ba87dea2e53a696c
commit e2d77b6a5e9811168a9bfff0ba87dea2e53a696c
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 7a123167a49..ee068f57fa4 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 12:24 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 12:24 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:67a1a5fdd31f9cd369dd173d69a43fbf80164f0a
commit 67a1a5fdd31f9cd369dd173d69a43fbf80164f0a
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 1e212170c42..87cda64329b 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..f29d7248d64 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of :option:`-fdump-tree-vrp <gcc:-fdump-tree-all>`,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 12:23 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 12:23 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9f3934b5f1c4db6f76ac0782200fec05cc30dd36
commit 9f3934b5f1c4db6f76ac0782200fec05cc30dd36
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
gcc/jit/doc/internals/index.rst | 2 +-
gcc/jit/doc/topics/contexts.rst | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 1e212170c42..87cda64329b 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/jit/doc/internals/index.rst b/gcc/jit/doc/internals/index.rst
index 9200181bba4..3f759da49ce 100644
--- a/gcc/jit/doc/internals/index.rst
+++ b/gcc/jit/doc/internals/index.rst
@@ -173,7 +173,7 @@ For example, the following invocation verbosely runs the testcase
(...shows full valgrind report for this test case...)
When running under valgrind, it's best to have configured gcc with
-:option:`--enable-valgrind-annotations`, which automatically suppresses
+:install:option:`--enable-valgrind-annotations`, which automatically suppresses
various known false positives.
Environment variables
diff --git a/gcc/jit/doc/topics/contexts.rst b/gcc/jit/doc/topics/contexts.rst
index b1a7a0af56f..1622ef5211c 100644
--- a/gcc/jit/doc/topics/contexts.rst
+++ b/gcc/jit/doc/topics/contexts.rst
@@ -237,7 +237,7 @@ future activies on a context to the given `FILE *`.
a much simpler executable that performs the equivalent calls into
libgccjit, without needing the client code and its data.
- Typically you need to supply :option:`-Wno-unused-variable` when
+ Typically you need to supply :gcc:option:`-Wno-unused-variable` when
compiling the generated file (since the result of each API call is
assigned to a unique variable within the generated C source, and not
all are necessarily then used).
@@ -252,7 +252,7 @@ future activies on a context to the given `FILE *`.
Parameter "dumpname" corresponds to the equivalent gcc command-line
option, without the "-fdump-" prefix.
- For example, to get the equivalent of :option:`-fdump-tree-vrp1`,
+ For example, to get the equivalent of ``-fdump-tree-vrp1``,
supply ``"tree-vrp1"``:
.. code-block:: c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 1:04 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 1:04 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:96f50242b64ebe446c507d3ecf2de6bf4a2ed480
commit 96f50242b64ebe446c507d3ecf2de6bf4a2ed480
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 3 ++-
.../gcc/gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 1e212170c42..87cda64329b 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..372c2100e51 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,7 @@
+.. _top:
+
GNAT Reference Manual
=====================
-
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references
@ 2022-07-28 0:10 Martin Liska
0 siblings, 0 replies; 9+ messages in thread
From: Martin Liska @ 2022-07-28 0:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b63afc53b3ec1e46d6da263c968ab02b348c005e
commit b63afc53b3ec1e46d6da263c968ab02b348c005e
Author: Martin Liska <mliska@suse.cz>
Date: Thu Jul 28 02:09:54 2022 +0200
sphinx: fix cross manual references
Diff:
---
doc/baseconf.py | 1 -
gcc/ada/doc/gnat_rm/index.rst | 2 ++
.../gcc/gcc-command-options/options-controlling-the-kind-of-output.rst | 2 +-
.../references-for-other-languages.rst | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/baseconf.py b/doc/baseconf.py
index 1e212170c42..87cda64329b 100644
--- a/doc/baseconf.py
+++ b/doc/baseconf.py
@@ -131,7 +131,6 @@ man_pages = []
# FIXME: handle WARNINGs: unknown option issues and cross refs
suppress_warnings = [
'ref.option',
- 'ref.ref'
]
# Use xelatex by default
diff --git a/gcc/ada/doc/gnat_rm/index.rst b/gcc/ada/doc/gnat_rm/index.rst
index 6c2616a0f1c..b0b451130e7 100644
--- a/gcc/ada/doc/gnat_rm/index.rst
+++ b/gcc/ada/doc/gnat_rm/index.rst
@@ -1,6 +1,8 @@
GNAT Reference Manual
=====================
+.. _top:
+
.. only:: not latex
*GNAT, The GNU Ada Development Environment*
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index dab61402b45..798aadb32f0 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
.. option:: -fdump-ada-spec[-slim]
For C and C++ source and include files, generate corresponding Ada specs.
- See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
+ See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
.. option:: -fada-spec-parent={unit}
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index c0434cb4357..fdb6c96358b 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
See :ref:`gnat_rm:top`, for information on standard
conformance and compatibility of the Ada compiler.
-See :ref:`gfortran:standards`, for details
+See :ref:`fortran:standards`, for details
of standards supported by GNU Fortran.
\ No newline at end of file
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-08-01 11:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 11:52 [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references Martin Liska
-- strict thread matches above, loose matches on Subject: below --
2022-08-01 4:03 Martin Liska
2022-07-28 13:19 Martin Liska
2022-07-28 12:40 Martin Liska
2022-07-28 12:39 Martin Liska
2022-07-28 12:24 Martin Liska
2022-07-28 12:23 Martin Liska
2022-07-28 1:04 Martin Liska
2022-07-28 0:10 Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).