From nobody Mon Feb 9 06:26:32 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1596455753; cv=none; d=zohomail.com; s=zohoarc; b=lBx3TJY/RO3c0VtlCLutzByt/dLBFUVMdwRWUZ26rTwR1BR6iVeRQ6WxSbAT9CA6MwScPNoiX31XIgLbSbabfAqFaS24zwTZ744x4GcW9WimjYTf/ENoJatI6m7bPyeyeFIj8g6nwZ4AUWG4eUASgEy8J1jHvgIrJicRyM7GOgY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596455753; 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=Np8TZ7T9+MJrhAHQVWfcDk/+HVFAm2IsNRZnv8ih4vs=; b=Piv7o5CFcXAWL9qD6yzTqHLdVwAy2eHwHYh0jgDvEnz2mQTxy8uGaVE9lBsX5k0cVdJrC7mV8Mz6P4riHyvlE3SxzzKYJ4baxF6iyrxpWTOpaRCm9XH9y9CDmrk8hNje2/RRXVByt1wumbp2RUHbUi87sMK9vLVVRZGxkQdFLbU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1596455753725321.13706411022997; Mon, 3 Aug 2020 04:55:53 -0700 (PDT) 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-369-EeOHvG2rP-WDr4eB2J-P6Q-1; Mon, 03 Aug 2020 07:55:50 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B454C18C63C0; Mon, 3 Aug 2020 11:55:44 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9470E5D98D; Mon, 3 Aug 2020 11:55:44 +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 64AF39A115; Mon, 3 Aug 2020 11:55:44 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 073BruSg029576 for ; Mon, 3 Aug 2020 07:53:56 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0BE5E74F58; Mon, 3 Aug 2020 11:53:56 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5FBEF74F45 for ; Mon, 3 Aug 2020 11:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596455752; 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=Np8TZ7T9+MJrhAHQVWfcDk/+HVFAm2IsNRZnv8ih4vs=; b=IuXltnUuE90SPZ8Xb0g3sgalVmIlSizTI0YdBDyZa+z7UkxqaZFhtPYlOiSA13e9tPrzZN spdATSRe6z0HVigoBhsTQdfGy0ogfihH74ejvyCYQn9zcB0E1v7l0kuVsuXXr1mq4f7Wf7 oFJt3VFsQ5LjWU1DLt0XM0olv2LAWao= X-MC-Unique: EeOHvG2rP-WDr4eB2J-P6Q-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/7] docs: build: Don't include stylesheet in intermediate html files generated from RST Date: Mon, 3 Aug 2020 13:53:43 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com 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.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" 'docutils' add a stylesheet to the output html file for direct consumption. Since we use the html files just as an intermediate step which is post-processed to add our own stylesheet and drop the docutils one in the process we can ask 'rst2html' to not add any for a intermediate file with less garbage. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/manpages/meson.build | 2 +- docs/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build index e9d9ac8069..97133adf3a 100644 --- a/docs/manpages/meson.build +++ b/docs/manpages/meson.build @@ -99,7 +99,7 @@ foreach data : docs_man_files html_in_file, input: rst_file, output: html_in_file, - command: [ rst2html_prog, '--strict', '@INPUT@' ], + command: [ rst2html_prog, '--stylesheet=3D', '--strict', '@INPUT@' ], capture: true, ) diff --git a/docs/meson.build b/docs/meson.build index 2f06e8eace..a98147f7fd 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -188,7 +188,7 @@ docs_admin_api_xml =3D docs_api_generated[3] docs_rst2html_gen =3D generator( rst2html_prog, output: '@BASENAME@.html.in', - arguments: [ '--strict', '@INPUT@' ], + arguments: [ '--stylesheet=3D', '--strict', '@INPUT@' ], capture: true, ) --=20 2.26.2