From patchwork Fri Nov 29 14:02:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 180484 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1601300ile; Fri, 29 Nov 2019 06:03:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzKO3jYPmjgLTnzpPx292cQt0M/lsMB6IX4sfooSK2OTupF8yK9qkukD7YtuxDXIiVYvF4O X-Received: by 2002:ae9:c30e:: with SMTP id n14mr16130675qkg.24.1575036201983; Fri, 29 Nov 2019 06:03:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575036201; cv=none; d=google.com; s=arc-20160816; b=Xpp5oG1yz3MFe1P5hitnnGCTCyzwRfZmlrkxZiERmFSdofo7kw9t6CJOByCViXRYil m8EEAaXXjKo6G/Mdq/I5xugXEre26Oeeftql9T4C2qgb41VxceeHWEFlgr4oP0uENVIA xIaUuopRU25c9zTXUboRKhLiBG1CFyAB7Cx8+0tTvPcxUPrE8e0ztFm2PQH2/9iFJqVy VvCxhSqX4K/gh6BCS7tTNKvQPnuzGScsZ6tnp/Gww+Jc3CGAePl6kDP4uaNE2e1huvRf YoJ8QCybc4MLghhzijHLc2Y2T3M6Wkq+IJcUB6XIhe7Y+Hbi7ALmFe8Dr0zntc08rtWj 2igQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Bl/q66EQnB/Vpv+0jM7P6EssXQ6U7FEXGyqS8D7LPwk=; b=W36OowuZOYogKwTELryPj5lPmLr/G3K+HqQ8PRv6iI/2xlumYpJN5U+5G0wEFyAL+p epTVD6WWARzIOgTmb1Ri4KlZKpt6Mr8PI/NcNa9jkm+f+jQi9hqa2lKVuNEhwu4JM3ys c8y8gzyrAg7mJIEKm8l+Ujm3uYdBU0HyLxfVq8EcMlRFmYlHt23jXzaEBM5UTpn2GJY7 D2If0O485iNNUniNxADYcWCsUqbXN+uKrvHRJI9dU1Kp/ZWJvD0mAyenGP+R9AbyfnH8 8eUCN1akgm/1L4rJYAPkozytO26vvFMhEgPOFgYB8i6Z2kFP37v5/obQHOkHT4lWuCrD qlcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=n2sU53h1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b19si5646694qtq.190.2019.11.29.06.03.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Nov 2019 06:03:21 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=n2sU53h1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:59488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iagrg-0002GI-AG for patch@linaro.org; Fri, 29 Nov 2019 09:03:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37121) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iagqt-00028G-EU for qemu-devel@nongnu.org; Fri, 29 Nov 2019 09:02:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iagqn-0003NB-75 for qemu-devel@nongnu.org; Fri, 29 Nov 2019 09:02:31 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:39942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iagqm-0003I2-UZ for qemu-devel@nongnu.org; Fri, 29 Nov 2019 09:02:25 -0500 Received: by mail-wr1-x434.google.com with SMTP id c14so10716892wrn.7 for ; Fri, 29 Nov 2019 06:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bl/q66EQnB/Vpv+0jM7P6EssXQ6U7FEXGyqS8D7LPwk=; b=n2sU53h1JPh4ueANeHRgmU8jWPm7UL0w7WWkdFZ8WFvzmpuXpGNlh5l+MIffaGR5xk HF5zPpxZW1oMvwgNRYRLuHIZow6Flsdgnp0uJ0pt7j9Of2xkHMzKN7IzVK02OoaXGgGr oixjlf1p/pKUgwtw53CILGiDFIvAg2N+WUXegg3mi5TeCyCBJ5BYF5nenOk/BfGJONu0 rQ916JbNRPLxUMViPlEo5yB+xrIAnOu/DBAmqrE0ZByl9rtm5qhQdhuHhcNXZkiStN7L HSVhuf8HcH3EQyvtnI/84b+lIvnfiAdSfQpayt60fpUpJr5vzqv+VvF9jn5Q+BbjeRa3 GYUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=Bl/q66EQnB/Vpv+0jM7P6EssXQ6U7FEXGyqS8D7LPwk=; b=Kt67rsqJDLxZrnr9BZZMIzZBc1Zq0StqtloTfAmiN+sxngLViDd1irmIhIIntTnxNW R6ONaPGUIDvET9aVsw/vAMoxcK2q7V8P5H4LmXovyqiFHMthF9LcR5rAehtXXw5dV0VN Evu4yUTDzdohsaoDsCQXPVkW3dvBCIopdYosLH+uNFGjUvCkFiJn6z9fKGacH3N0I1Ud VJP+ZEupPPoqCkor9xRzT0YvqfYlM17nmx16usBLg3J5KaEW+otKy2gsRnXLuSDo1iz7 3xqDM7gAZ6hdvDKVPu/+btaalEUuHEJkPsEDqTcjyNVfon8tEsHTQQHZ/XzM8CBCNa8W /6TQ== X-Gm-Message-State: APjAAAUdHpzU/IyMOGaHT3M93jFCrs/YDZo3N9ADA4PYZFEm2Ux+yKWS 5m0XxrnRhjCRJR7Uamzc/K1jaQCC X-Received: by 2002:adf:db86:: with SMTP id u6mr57316160wri.318.1575036141866; Fri, 29 Nov 2019 06:02:21 -0800 (PST) Received: from donizetti.redhat.com ([2001:b07:6468:f312:56e1:adff:fed9:caf0]) by smtp.gmail.com with ESMTPSA id e7sm14190030wrp.43.2019.11.29.06.02.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2019 06:02:21 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 3/8] docs/conf.py: Enable use of kerneldoc sphinx extension Date: Fri, 29 Nov 2019 15:02:12 +0100 Message-Id: <20191129140217.17797-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191129140217.17797-1-pbonzini@redhat.com> References: <20191129140217.17797-1-pbonzini@redhat.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::434 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell Signed-off-by: Peter Maydell Message-Id: <20190521122519.12573-4-peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini --- docs/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.21.0 diff --git a/docs/conf.py b/docs/conf.py index b7edb0666b..259c6049da 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ needs_sphinx = '1.3' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['qmp_lexer'] +extensions = ['kerneldoc', 'qmp_lexer'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -216,3 +216,8 @@ texinfo_documents = [ +# We use paths starting from qemu_docdir here so that you can run +# sphinx-build from anywhere and the kerneldoc extension can still +# find everything. +kerneldoc_bin = os.path.join(qemu_docdir, '../scripts/kernel-doc') +kerneldoc_srctree = os.path.join(qemu_docdir, '..')