From patchwork Fri Nov 11 13:27:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 18738 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp739609wru; Fri, 11 Nov 2022 05:28:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Z5sEflNigCbk/Rxe7eUFWj+2CmLIME8gYVDNIVcDF+KwDgn+zt89rrmUj4/uTxN0i+Uu+ X-Received: by 2002:a17:907:1749:b0:78d:4f05:6ba7 with SMTP id lf9-20020a170907174900b0078d4f056ba7mr1819727ejc.590.1668173295869; Fri, 11 Nov 2022 05:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668173295; cv=none; d=google.com; s=arc-20160816; b=Ud4m/RH//HUFCfRFtqGJSFb4TFZzPIQhIBAEegBauBJAMb4fgc2YMjVZYn5/OI5/q4 aWHBFKtJqTDKQpotFCi+iu92ypPuwneWc3dHGuei8HMs3Qp6kDg+km+gL5vHRlIWreA7 9PBiyeYs2NG5XxoyrEscGHWKZP1DbGq0pxJ45e03fY9ZNM0uLuM1z/kKoWEnIpHtrByl JO56Eg1wQ+QwGCZOT57RJf+ZpUYO8cDBJTNaRtn6fVhdZEROi8vPp4NlgynRxNQAt8eF HTolJIGOOcLlEH7F/J7XuIbZBvQrArCNYEJ9OaXrJX4ie/O2SGgw3jaq4jYNi+2VH5IH oyeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=Ln5czBm/qRVP7Uy6ipGjebBFNaMsTVLljGA6s1S3fzw=; b=ZiXEyzkCYfnmWKTYEmnQfw/X+U9UxFCJ8baCQLBmNWtw48lSivy7QZAQOBot7wavW5 8Oc/g9/PCrgSeWbSvUzN43C9JdvY/pphHoLRdcVw2dSBEVZro/W16ENDRZMKKJAfYJ/8 uRJHd9OfZC+Cyy1hVEMbZphvsItyCXbdmGB7yiuX7Ye3NCS9uqKymRUWL5RRxHMnycgO OOzibROHitLiRU2W91Dc7gc0zU5f/FQ2fAFkgo6IZoU41WsLhvJTANW023RFEo8J3qHR UxjwJsTcSLYU1gxW6l/IfJJ76thvwcGWLStMFdTedlDFgZwBP63SDfKk36k6j55dwdaV aILA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=COJSjXmM; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id dp14-20020a170906c14e00b007ae6f13645dsi2129462ejc.498.2022.11.11.05.28.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 05:28:15 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=COJSjXmM; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 28E873847825 for ; Fri, 11 Nov 2022 13:27:49 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 72B83385558F for ; Fri, 11 Nov 2022 13:27:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 72B83385558F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 62970225C4; Fri, 11 Nov 2022 13:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668173242; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ln5czBm/qRVP7Uy6ipGjebBFNaMsTVLljGA6s1S3fzw=; b=COJSjXmM6t/MrEviFCPEgrAkdYb5ZIrI1R11rf0q6qBL0HSbpt2bS8XGPQkleGBkPMapVS If/tUPGSuIKBSpEmNDV7nYMiyO690UdRoVD0ieJa1//+aRLm3KnR6LkocGS2Fjmk7z7qLh Jn4wiTGujXnO7crkBHiknGpH7QHYJuw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668173242; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ln5czBm/qRVP7Uy6ipGjebBFNaMsTVLljGA6s1S3fzw=; b=yfSC/S/v7BpI5SJ6Url8TC2bc/TmD+jh2FHBZBRSvNqiORH488TXFyIichn4FHesdojRRg Nbwmf5hsL461OVBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 53C6D13273; Fri, 11 Nov 2022 13:27:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id BYSjE7pNbmMFbAAAMHmgww (envelope-from ); Fri, 11 Nov 2022 13:27:22 +0000 Message-ID: <15f3ae52-5c7b-c49e-fe92-2152fcc1359c@suse.cz> Date: Fri, 11 Nov 2022 14:27:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] jit: doc: Use shared Indices and tables To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: David Malcolm X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749206482002195876?= X-GMAIL-MSGID: =?utf-8?q?1749206482002195876?= 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. --- doc/indices-and-tables.rst | 2 +- gcc/jit/doc/cp/index.rst | 4 ++-- gcc/jit/doc/cp/intro/index.rst | 8 ++++---- gcc/jit/doc/cp/topics/index.rst | 16 ++++++++-------- gcc/jit/doc/index.rst | 15 +++++---------- gcc/jit/doc/indices-and-tables.rst | 1 + gcc/jit/doc/intro/index.rst | 10 +++++----- gcc/jit/doc/topics/index.rst | 22 +++++++++++----------- 8 files changed, 37 insertions(+), 41 deletions(-) create mode 100644 gcc/jit/doc/indices-and-tables.rst diff --git a/doc/indices-and-tables.rst b/doc/indices-and-tables.rst index bf62509bd14..56b33139280 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 46efb8a516f..00263b6fe72 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 e6812101c6f..3a6a26c943e 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 cdf7e55a6c8..e659ece3fb1 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 0f575966303..a354d1c1501 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 00000000000..5cc3191ee47 --- /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 552a6ed4417..20a813e7a96 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 8e843c207fc..39462d9e828 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