From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id D186C3857C43 for ; Mon, 13 Nov 2023 16:09:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D186C3857C43 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D186C3857C43 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::335 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699891758; cv=none; b=PI/iN8bBPz4cpjuH06/nnbfetzG3K9aEkNuXC1kbXNG6j7jxx5sSBLx0BjA5wqSClvEScZY1rQGGp1ELr2qyFmRKSe01t8i/90iZmhjuPst7pQzx5ql7fyxo06cLWV28qqOKVzZ29kk+ZuhR/RwwM+Te5HLdYxixbsqOMrjs/o0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699891758; c=relaxed/simple; bh=edbH6iiIzU3yDJTjvVcRKOgshyPeHahln1hPYUe+pC0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=S98CnJ9mOqLjmOkznCKjlvlP8ukC73WhD3ztLGWkA+XCuCt2ZiENsy7uYJWcJhn1u7PDJyC50LKNLfsHcg6LtBXb3bMLzW6C8YFdcLwH55jbobs98Htf99VGQEnGSSY2sHPZUwCQ4F+mNsv03mespqyAxzMgEzFqWIjsYI2Z1Co= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4084e49a5e5so39926525e9.3 for ; Mon, 13 Nov 2023 08:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1699891755; x=1700496555; darn=gcc.gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=ctN/dgfIm63fElYAbNFncbrscGVG8P8nutP7RLUFF14=; b=cfqyULLKlTuHBdQl64wUIwzmxbKK7YaqpGCX21SQigZKNb2B8rSfkv+WhVzHVw7PXU QxZnwW5PMeSdNwHnSdC/d9vvnEgRT1n5VFs8udYdeV1iSZ7Xg3WRvjCvdTG2l5WC0mIO aA1FcYzExUNqGIYDkeLN8XWI9UWwVIpr6S623sYLqn/i7YWQ3KCINwsJfwdGOf1jkOiq 4Mold40qZGoCh0I0HbPMn9W8XGTqYdlckSaNdv0aDkuDTv5c6l76ZOC6lNpNuA1tIXG1 WYKr8ji5JPSW+YHOC+y4YIiIifEP64rX5RHMu9TgDLlXPMjcKJ5W8o7J1e3pX6g1g83P 6wTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699891755; x=1700496555; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ctN/dgfIm63fElYAbNFncbrscGVG8P8nutP7RLUFF14=; b=OwogxZVpkqwaNQB/2g3X7ZZrij5d9tWkT2hjNLDyqsYKmaV0HGhgClCmZ9RRGi4Apb 7YTLXYBXAzzoT2++5/gllO91oxbTyoUIRGRk6MTx03V/6QoHQBDCmPR+cDDQ4LEq4CMq XGYqkFeWHUb8QmrTwBK+MG+tecVYQ5NwH5t5q6uQjbLGnKt+o9+Te0mJK5lHdmMWzxzp 0jwIUuVqoAGzc1z/YT+E0/dBzyNiTM8VCI0QWNUxq684PWWOWC/28WEa7DuirtJG3ULM nERxgSQBp77YAnexKGSectFv5TAEPqRDek7oqdZ4NmfDE0khplRqiDwZY3kA8barZGN5 Zw3g== X-Gm-Message-State: AOJu0YymwJTtjDzWm0ibAcKyPn0/pOGYlSfKMgpWEVE/Lxbq0E3BL2K0 HjW4MLL4UyeXRkA1VuLgQ99qJ95RnDyjyy44or2FiA== X-Google-Smtp-Source: AGHT+IHg98ksMH9NeICiNvKW4kShYkQmzjjc4x0vHyw+lWbEPIhu8tmuJ0sPGlSQq7B/YmQgKM2xGA== X-Received: by 2002:a05:600c:2109:b0:405:3955:5872 with SMTP id u9-20020a05600c210900b0040539555872mr5807688wml.18.1699891755372; Mon, 13 Nov 2023 08:09:15 -0800 (PST) Received: from poulhies-Precision-5550 (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id i10-20020a05600c354a00b004053e9276easm14483919wmq.32.2023.11.13.08.09.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 08:09:14 -0800 (PST) References: <20231110214246.3087291-1-dmalcolm@redhat.com> <20231110214246.3087291-3-dmalcolm@redhat.com> <8734x9aj3m.fsf@adacore.com> <24d0411f5e8494cf3c6b58bd1b259bf07fcfa858.camel@redhat.com> User-agent: mu4e 1.10.1; emacs 28.1 From: Marc =?utf-8?Q?Poulhi=C3=A8s?= To: David Malcolm Cc: Joseph Myers , gcc-patches@gcc.gnu.org Subject: Re: [PATCH 2/3] Add generated .opt.urls files Date: Mon, 13 Nov 2023 17:02:09 +0100 In-reply-to: <24d0411f5e8494cf3c6b58bd1b259bf07fcfa858.camel@redhat.com> Message-ID: <87y1f18wk5.fsf@adacore.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: David Malcolm writes: > > The new regenerate-opt-urls.py script only parsed > buildir/gcc/HTML/gcc-14.0.0/gcc/Option-Index.html > looking for anchors for options via a regex. > > Looking at my build, I don't see any generated Ada HTML docs, so maybe > I messed this up? Does the generated HTML from the generated Ada > texinfo go somewhere else? (and, in particular, does it have its own > index?) > > Perhaps this script could also deal directly with Sphinx-generated > HTML? I investigated a bit... The Ada part doesn't handle the html target, so it's expected you don't have anything to parse. The online docs are generated using a different script, not using these makefiles. I'll see if I can fix the html target for ada, so that your script doesn't need to be changed :) >> We are generating the texinfo files >> from sphinx, so maybe we could adjust the script to also match what >> the >> sphinx generator produces? > > It *might* be as simple as pointing it at the option index for the > generated HTML for Ada. That's worth a try, when/if I can fix the HTML target. Marc