From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 899983858D35; Wed, 30 Jun 2021 07:52:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 899983858D35 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 imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 72B022236B; Wed, 30 Jun 2021 07:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1625039575; 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: in-reply-to:in-reply-to:references:references; bh=v7LKUnaMgK06oL3yO6Vl3JkxnPvxIsCo8TNVyuA0E6o=; b=DvC/HT0fugAnckuwHJ7azHEoahgWewO99OKdpIfM/V/RxJQJCI4hkQxgIncm0xGZkBBwwm JkObFCDZ3lAiOW26eiMguHM5u9awere0UiVJfPdG3R8eVpTSzS8hnxcfGGRKdkRP1YxYFg YYKV9fx5VaYGNQIgnR792ds3okBt1/E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1625039575; 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: in-reply-to:in-reply-to:references:references; bh=v7LKUnaMgK06oL3yO6Vl3JkxnPvxIsCo8TNVyuA0E6o=; b=NTVo/bL682va2QwbAWEZqBoUId9zVukYNA5iBhTIsav9Ov0d2tO1bPN/yoI8iUeb6/hkau rGgm5Jm6vzgBszAw== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 47F6211906; Wed, 30 Jun 2021 07:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1625039575; 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: in-reply-to:in-reply-to:references:references; bh=v7LKUnaMgK06oL3yO6Vl3JkxnPvxIsCo8TNVyuA0E6o=; b=DvC/HT0fugAnckuwHJ7azHEoahgWewO99OKdpIfM/V/RxJQJCI4hkQxgIncm0xGZkBBwwm JkObFCDZ3lAiOW26eiMguHM5u9awere0UiVJfPdG3R8eVpTSzS8hnxcfGGRKdkRP1YxYFg YYKV9fx5VaYGNQIgnR792ds3okBt1/E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1625039575; 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: in-reply-to:in-reply-to:references:references; bh=v7LKUnaMgK06oL3yO6Vl3JkxnPvxIsCo8TNVyuA0E6o=; b=NTVo/bL682va2QwbAWEZqBoUId9zVukYNA5iBhTIsav9Ov0d2tO1bPN/yoI8iUeb6/hkau rGgm5Jm6vzgBszAw== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id FBc+ENci3GAwLAAALh3uQQ (envelope-from ); Wed, 30 Jun 2021 07:52:55 +0000 Subject: Re: GCC documentation: porting to Sphinx To: Arnaud Charlet Cc: Joseph Myers , GCC Development , gcc-patches@gcc.gnu.org, David Malcolm References: <8641dc55-5412-fbd7-bafd-13604311f5ad@suse.cz> <5ffe3e32-ece0-a1b4-1fcf-e35177fa80b5@suse.cz> <87489d9a-44e2-411c-3f3a-534d07e78b95@suse.cz> <0866a0ea-c846-ea5e-ac7a-d1c8f106cc45@suse.cz> <20210628102305.GA31328@adacore.com> <20210629155424.GB26232@adacore.com> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: Date: Wed, 30 Jun 2021 09:52:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210629155424.GB26232@adacore.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 07:52:57 -0000 On 6/29/21 5:54 PM, Arnaud Charlet wrote: >>> In particular can you explain the motivation behind all the changes in the >>> gcc/ada/doc directory? >> >> Sure: >> 1) All Sphinx manuals live in a directory where index page is called index.rst. That's why >> I moved e.g. this: gcc/ada/doc/{gnat_rm.rst => gnat_rm/index.rst} >> 2) I moved latex_elements.py to ada_latex_elements.py as it clashes with Sphinx global variable >> you modify in Sphinx config files >> 3) I created a shared Ada config (adabaseconf.py) that extends doc/baseconf.py and sets what >> is shared in between 3 Ada manuals. >> 4) gnu_free_documentation_license.rst is taken from $root/doc/ > > OK, this is really lots of changes, if we could minimize these changes > that would be best (and sorry but posting a link to a tarball also doesn't > help reviews, it was actually better with a link to a git repo previously... All right, ideally please pull my branch: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=log;h=refs/users/marxin/heads/sphinx-v4 which I force push once I rebase it. One can fetch the branch with: $ git fetch origin refs/users/marxin/heads/sphinx-v4 > At least the Ada part itself shouldn't be too big in particular once > simplified so could be posted standalone). Sorry, but the patch is still 400 kB when using zstd -22. Actually, the change is very small if you ignore renames of the 3 files: gcc/ada/gnat-style.texi | 954 gcc/ada/gnat_rm.texi | 29822 gcc/ada/gnat_ugn.texi | 29232 The only significant change is refactoring of the conf.py config. Martin > > Arno >