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 366F73839C7C; Thu, 3 Jun 2021 12:26:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 366F73839C7C 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 C4639219E2; Thu, 3 Jun 2021 12:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1622723182; 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=Vhl/XjjYz50PJyaRB2tVjGTYrayiQBpVPazAyu0Ypt4=; b=xFIsz7fFYIJUaXSc0iBoqtNdpktF8vM73XfAGHIrZGyX1UEA22XoqmwFakzFxTutML0TCp 4GI9Dl3JPGU7IqFvNglo6PJiV1OGEgXMueqJ+3b5tjuB+kVI9yrweyW21H42N4jAqVQvlm k8Q5Hw8m9MoBaTKxCIzFjpEJoGbir10= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1622723182; 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=Vhl/XjjYz50PJyaRB2tVjGTYrayiQBpVPazAyu0Ypt4=; b=TZ299jJYXtp5t5hjmuNSwbHBoFGZzGF0lXwnTXPGtbn6Jy2dcfBLdhwb0V8qDAg9YPYZPH LNpMMbwqCnIzx5Bg== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 9626F118DD; Thu, 3 Jun 2021 12:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1622723182; 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=Vhl/XjjYz50PJyaRB2tVjGTYrayiQBpVPazAyu0Ypt4=; b=xFIsz7fFYIJUaXSc0iBoqtNdpktF8vM73XfAGHIrZGyX1UEA22XoqmwFakzFxTutML0TCp 4GI9Dl3JPGU7IqFvNglo6PJiV1OGEgXMueqJ+3b5tjuB+kVI9yrweyW21H42N4jAqVQvlm k8Q5Hw8m9MoBaTKxCIzFjpEJoGbir10= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1622723182; 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=Vhl/XjjYz50PJyaRB2tVjGTYrayiQBpVPazAyu0Ypt4=; b=TZ299jJYXtp5t5hjmuNSwbHBoFGZzGF0lXwnTXPGtbn6Jy2dcfBLdhwb0V8qDAg9YPYZPH LNpMMbwqCnIzx5Bg== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id 5+lSI27KuGCSFQAALh3uQQ (envelope-from ); Thu, 03 Jun 2021 12:26:22 +0000 Subject: Re: GCC documentation: porting to Sphinx To: Joseph Myers , Joel Sherrill Cc: GCC Development , gcc-patches@gcc.gnu.org References: <1446990946.2994.192.camel@surprise> <1a22bc37-3d48-132f-a3d5-219471cd443c@suse.cz> <3a2a573b-5185-fff5-f9da-6e5e39953ad6@suse.cz> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <08e6fd33-75f1-9449-571c-c31fe64284a1@suse.cz> Date: Thu, 3 Jun 2021 14:26:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 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: Thu, 03 Jun 2021 12:26:34 -0000 On 6/2/21 6:44 PM, Joseph Myers wrote: > On Wed, 2 Jun 2021, Joel Sherrill wrote: > >> For RTEMS, we switched from texinfo to Sphinx and the dependency >> on Python3 for Sphinx has caused a bit of hassle. Is this going to be >> an issue for GCC? > > What Sphinx (and, thus, Python) versions does the GCC manual build work > with? I've just tried version 1.7.6 which we use for libgccjit and it's fine: https://gcc.gnu.org/onlinedocs/jit/ About Python version: I'm not planning supporting Python2, it's dead 10 years already. > Can it work with e.g. any Sphinx versions from the past five years, > or are there newer Sphinx features that are critical for the GCC manuals? The mentioned version is 3 years and I expect even older releases would work. No, I don't rely on any new feature. I would recommend testing the build. You can simply clone: https://github.com/marxin/texi2rst-generated and simply run 'make html' or 'make latexpdf'. Basic dependencies are mentioned here: https://github.com/marxin/texi2rst-generated#requirements Martin > I've seen a need for frequent Sphinx updates being a pain when building > other software using Sphinx for its manual. > >> Also we rely on TexLive for PDF output and that's a bit of a pain to >> install. Tex was incorrectly packaged on some RHEL/CentOS versions. > > This is nothing new, since building PDF manuals from Texinfo sources also > needs TeX. >