From nobody Sun Feb 8 17:36:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1574434066; cv=none; d=zohomail.com; s=zohoarc; b=PfjPOzz7HHDZMhcjTBC2POsxwnLrjRRD8zzLGLKxGUdBSPnvJgDtLg1svE7GrHKWpXrFnVkXueT9OjEjOoL3HCa5JxURAmjtZHp1M3RbRgt2o+nsQiq6YE9pLASWtO/n4x6kIZc4yLVADsoFYkt1rN0RpkZNJBp/uoxFHKGi2Mk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574434066; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ZkMkTRQsho6Jw26sZtMG9xBX50VtvFQj0pba8FI2pyk=; b=ZMj6bkpK/7yRCgQMmZcolIo4KW5KKWSE7tTIx/gShQRoxRNx/eQjbtYnHiWJM/WnNRYS1K6vKvU2LLZt6Hy5OVOS/rdadgKie9pQZXxu4Vu/DLFuXOmqKWS9oMuppui2ZVMz0KVC2uDH3aQITUxl0rOwEL6dwXZlxm6VS6Yt37E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1574434066002688.9013695807853; Fri, 22 Nov 2019 06:47:46 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-298-g9Ya1FT6NHGnVgGhp9Ob5w-1; Fri, 22 Nov 2019 09:47:42 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8B34018B9FCA; Fri, 22 Nov 2019 14:47:37 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5B93863BD0; Fri, 22 Nov 2019 14:47:37 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E69E218089CE; Fri, 22 Nov 2019 14:47:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xAMElZVi018086 for ; Fri, 22 Nov 2019 09:47:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7BF5F1036C8E; Fri, 22 Nov 2019 14:47:35 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-49.ams2.redhat.com [10.36.112.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id C31D110375D9; Fri, 22 Nov 2019 14:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574434064; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ZkMkTRQsho6Jw26sZtMG9xBX50VtvFQj0pba8FI2pyk=; b=PNDHreWgVWfmWeXIKvgqkyCICieFDegO6pZ/J1SjWnqHHEsl6hGNym9iIXqWzaUyOCS7e8 XVDcsxg0nlaGRh5SQQz6WyJMTNz8kv8iY7SNoDwNN4Bd0qvOj9eajmyUvIoAGXKQNajgMG pSUDwLkP2N2ydYZxtTC6e/DBBrIaThk= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Fri, 22 Nov 2019 14:46:52 +0000 Message-Id: <20191122144702.3780548-6-berrange@redhat.com> In-Reply-To: <20191122144702.3780548-1-berrange@redhat.com> References: <20191122144702.3780548-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 05/15] docs: generate permalinks correctly for rst2html output X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: g9Ya1FT6NHGnVgGhp9Ob5w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The rst2html output generates the links for headings in a slightly different way than we do for docs written in HTML, so we must match another scenario when generating back links. rst2html will also use

tags for both the document title and the first level of section titles, so we must expand the matching to allow for this too. Signed-off-by: Daniel P. Berrang=C3=A9 --- docs/libvirt.css | 1 + docs/page.xsl | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/libvirt.css b/docs/libvirt.css index e927a084a7..399404ca54 100644 --- a/docs/libvirt.css +++ b/docs/libvirt.css @@ -419,6 +419,7 @@ a.headerlink { visibility: hidden; } =20 +h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, diff --git a/docs/page.xsl b/docs/page.xsl index 70dfec6df6..f8f7ff8cf9 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -176,12 +176,15 @@ =20 - + + + + =20 --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list