From patchwork Wed Dec 18 12:02:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 181992 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp587349ile; Wed, 18 Dec 2019 04:35:01 -0800 (PST) X-Google-Smtp-Source: APXvYqxEkBVFf+KayaWQyyBUnFw1yMy2TtHKwjh8knUqYjM/IxXpJuD6C/cUyZtCItZd8AYYbeVS X-Received: by 2002:a9d:7cd0:: with SMTP id r16mr2484575otn.50.1576672501447; Wed, 18 Dec 2019 04:35:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576672501; cv=none; d=google.com; s=arc-20160816; b=vlHgZ9kmZAkzqwV0c4jdgzHwIcliY7ZTLrt3a107l+gEZxE66grJsRR3pFGEn2Nxwa QExBowDpiYrylbafYsMbS5S62l6wG1spP7vjGOKAHgZmJ5id3qsVfwxqsGNJJZN6dJ9b kkzND7gKJ2+Tx0FfyuNyBwwmmQMPGtIGx9KRn3DV8OVdFQcRgJKFdZq1WTzy7ZFC41Bs 6fJEISgVXyYdP5oGqGBEQZIFuX2zI+t2VT7rI7cmFh6epzBkTNqNyXIpUvHiZrbtsecw k3ra25klBR1xf9Gm1KZblf1haemfmRMUhQXfr/zrx64l6PPFjeJLwWDMykIvmSSXweVv wdlQ== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=uGE6rR1IJJ9r/VKOprUnSz1PtFT2C2MrjAAe7zPzb4Q=; b=CHXkX8r1QHQulb8Gom9z5+/c8w8wpTey44guF5/QbMOtIyAdoGglplaS3xchjZd8bC QsNNUWyW2JitMmUtnm0Kyg4omtahKiuYrf0H+bgIa1rRo3wagNfuCkuwjK63dwJSOOis WgSHUu+cEum2E1hcQ4iPvn/8Eu8x51lb55zLu6h3Z6oGdbvBC0D1/XTHWh1pxY7QUfEa FGDBlRnK0+ygXc/p9ssGKQRztIMDmJhTyPdUtdyY3PpddN+xA3+lfVhxgPihIkhMEChJ PviyltUezyEBIS5iEp9ze9kkqGwvgILxP3Tk2Tod5AX4xqv2EhuOhVr29Q9Sw+Zl0IS/ /XEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iS90RVAv; 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 185si1231278oie.52.2019.12.18.04.35.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2019 04:35:01 -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=iS90RVAv; 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]:53547 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihYXc-0007yo-8m for patch@linaro.org; Wed, 18 Dec 2019 07:35:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55743) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihY3o-0007Fm-OU for qemu-devel@nongnu.org; Wed, 18 Dec 2019 07:04:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihY3m-00038J-J0 for qemu-devel@nongnu.org; Wed, 18 Dec 2019 07:04:11 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:55126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihY3m-00034S-Bw for qemu-devel@nongnu.org; Wed, 18 Dec 2019 07:04:10 -0500 Received: by mail-wm1-x331.google.com with SMTP id b19so1554986wmj.4 for ; Wed, 18 Dec 2019 04:04:10 -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; bh=uGE6rR1IJJ9r/VKOprUnSz1PtFT2C2MrjAAe7zPzb4Q=; b=iS90RVAv5i5quMQlaS/MzeNOfPVYMasCfz6tWH9PE7j+cHYtkiYtH9WDC7ImeL9MpE g4cs9OyVIZxs2Bp/vdz7LM0khhTZU4zJuJgbbknoK9EWuDxc8mfjHWeJkY3bYGLU3BQM gVSf8ORmVcuwIcdQVUkz7T47o/rNqVyx9zzprblgU2lMOF7GWhMUoCBWAKRLJbO4eyfT +uHdbHqznKNBO5LQGoPYqAsY/FFecaia/GxpD04Vu7ZwPKe9KQS3R4q7oxCXFdtLwWdi pwjAXJklZvCPDCHKzg6fOrRxTovHqC0OafJVWwpmJDEtT+eGlxUsTe5hUASjhLvzvRl/ tKEg== 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; bh=uGE6rR1IJJ9r/VKOprUnSz1PtFT2C2MrjAAe7zPzb4Q=; b=ltR8H83DL4ZZC2DOg90hfArDlTzs3O7i6PQp5590jc3bWYYRsJEUzhh3cfxcTZvQdt 2nbVVz/uM4jgqQqUtzphNRsLO5bvuFf3qI+7LchuWb/tBTbJ3PD3o++QQlo09qvv/7pP I46pigzKIUzAU+7jGirCtorCnjYjlRIuNREKQbAgD4aUzDhh2Bg0tmsEgf+miKqCgRdk 9ZDLw8sovd7WXVOkt4hhF8wKcmX2iYLTspKsgYv+c59Hzmu4/kYEqSqgJkuhg8ncfGef RnIVfC71KbWvr0j6IWadxPHVboQPBf+zZ/Abk/ZLS0xnRu7HZBDememNR5m6S8QqAIVA 60FA== X-Gm-Message-State: APjAAAXkokJ7BeCSIQQUZKWJXxW7x3HvAEAIu2kErwjbUosvXplvI+g2 DLjWjgZZXNAwsAvyKPl+JawJ2wjV X-Received: by 2002:a1c:9602:: with SMTP id y2mr2831196wmd.23.1576670649194; Wed, 18 Dec 2019 04:04:09 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id n67sm2236838wmf.46.2019.12.18.04.04.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Dec 2019 04:04:08 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 66/87] docs/conf.py: Enable use of kerneldoc sphinx extension Date: Wed, 18 Dec 2019 13:02:32 +0100 Message-Id: <1576670573-48048-67-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1576670573-48048-1-git-send-email-pbonzini@redhat.com> References: <1576670573-48048-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 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 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(-) -- 1.8.3.1 diff --git a/docs/conf.py b/docs/conf.py index b7edb06..259c604 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, '..')