From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 7D037385829F; Thu, 28 Jul 2022 00:10:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D037385829F Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/sphinx-v7)] sphinx: fix cross manual references X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/sphinx-v7 X-Git-Oldrev: 63df328a4104c3a1c7fa94aea797bd9ec866a9c5 X-Git-Newrev: b63afc53b3ec1e46d6da263c968ab02b348c005e Message-Id: <20220728001013.7D037385829F@sourceware.org> Date: Thu, 28 Jul 2022 00:10:13 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2022 00:10:13 -0000 https://gcc.gnu.org/g:b63afc53b3ec1e46d6da263c968ab02b348c005e commit b63afc53b3ec1e46d6da263c968ab02b348c005e Author: Martin Liska 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