From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> To: John Snow <jsnow@redhat.com>, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>, "qemu-block@nongnu.org" <qemu-block@nongnu.org> Cc: "kchamart@redhat.com" <kchamart@redhat.com>, "armbru@redhat.com" <armbru@redhat.com>, "aliang@redhat.com" <aliang@redhat.com>, "nsoffer@redhat.com" <nsoffer@redhat.com>, Fam Zheng <fam@euphon.net>, "qemu-stable@nongnu.org" <qemu-stable@nongnu.org>, "eblake@redhat.com" <eblake@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 1/2] Makefile: add nit-picky mode to sphinx-build Date: Mon, 29 Apr 2019 09:17:56 +0000 [thread overview] Message-ID: <5746f6e2-c6bc-23a4-686f-b6943fedbe2c@virtuozzo.com> (raw) In-Reply-To: <20190426221528.30293-2-jsnow@redhat.com> 27.04.2019 1:15, John Snow wrote: > If we add references that don't resolve (or accidentally remove them), > it will be helpful to have an error message alerting us to that. the wording still a bit in conflict with the fact that -n is originally a warning, not error, but I don't really care: Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> > > Turn warnings into errors so we can be alerted to problems in building > the documentation when they arise. > > Signed-off-by: John Snow <jsnow@redhat.com> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 626a04d305..1211e78c91 100644 > --- a/Makefile > +++ b/Makefile > @@ -926,7 +926,7 @@ docs/version.texi: $(SRC_PATH)/VERSION > sphinxdocs: $(MANUAL_BUILDDIR)/devel/index.html $(MANUAL_BUILDDIR)/interop/index.html > > # Canned command to build a single manual > -build-manual = $(call quiet-command,sphinx-build $(if $(V),,-q) -b html -D version=$(VERSION) -D release="$(FULL_VERSION)" -d .doctrees/$1 $(SRC_PATH)/docs/$1 $(MANUAL_BUILDDIR)/$1 ,"SPHINX","$(MANUAL_BUILDDIR)/$1") > +build-manual = $(call quiet-command,sphinx-build $(if $(V),,-q) -W -n -b html -D version=$(VERSION) -D release="$(FULL_VERSION)" -d .doctrees/$1 $(SRC_PATH)/docs/$1 $(MANUAL_BUILDDIR)/$1 ,"SPHINX","$(MANUAL_BUILDDIR)/$1") > # We assume all RST files in the manual's directory are used in it > manual-deps = $(wildcard $(SRC_PATH)/docs/$1/*.rst) $(SRC_PATH)/docs/$1/conf.py $(SRC_PATH)/docs/conf.py > > -- Best regards, Vladimir
WARNING: multiple messages have this Message-ID (diff)
From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> To: John Snow <jsnow@redhat.com>, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>, "qemu-block@nongnu.org" <qemu-block@nongnu.org> Cc: Fam Zheng <fam@euphon.net>, "aliang@redhat.com" <aliang@redhat.com>, "kchamart@redhat.com" <kchamart@redhat.com>, "qemu-stable@nongnu.org" <qemu-stable@nongnu.org>, "armbru@redhat.com" <armbru@redhat.com>, "nsoffer@redhat.com" <nsoffer@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 1/2] Makefile: add nit-picky mode to sphinx-build Date: Mon, 29 Apr 2019 09:17:56 +0000 [thread overview] Message-ID: <5746f6e2-c6bc-23a4-686f-b6943fedbe2c@virtuozzo.com> (raw) Message-ID: <20190429091756.jnXBcFTcqWvroZyXRA6Okpxe-ZAf1tMcf7XqcHHSG54@z> (raw) In-Reply-To: <20190426221528.30293-2-jsnow@redhat.com> 27.04.2019 1:15, John Snow wrote: > If we add references that don't resolve (or accidentally remove them), > it will be helpful to have an error message alerting us to that. the wording still a bit in conflict with the fact that -n is originally a warning, not error, but I don't really care: Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> > > Turn warnings into errors so we can be alerted to problems in building > the documentation when they arise. > > Signed-off-by: John Snow <jsnow@redhat.com> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 626a04d305..1211e78c91 100644 > --- a/Makefile > +++ b/Makefile > @@ -926,7 +926,7 @@ docs/version.texi: $(SRC_PATH)/VERSION > sphinxdocs: $(MANUAL_BUILDDIR)/devel/index.html $(MANUAL_BUILDDIR)/interop/index.html > > # Canned command to build a single manual > -build-manual = $(call quiet-command,sphinx-build $(if $(V),,-q) -b html -D version=$(VERSION) -D release="$(FULL_VERSION)" -d .doctrees/$1 $(SRC_PATH)/docs/$1 $(MANUAL_BUILDDIR)/$1 ,"SPHINX","$(MANUAL_BUILDDIR)/$1") > +build-manual = $(call quiet-command,sphinx-build $(if $(V),,-q) -W -n -b html -D version=$(VERSION) -D release="$(FULL_VERSION)" -d .doctrees/$1 $(SRC_PATH)/docs/$1 $(MANUAL_BUILDDIR)/$1 ,"SPHINX","$(MANUAL_BUILDDIR)/$1") > # We assume all RST files in the manual's directory are used in it > manual-deps = $(wildcard $(SRC_PATH)/docs/$1/*.rst) $(SRC_PATH)/docs/$1/conf.py $(SRC_PATH)/docs/conf.py > > -- Best regards, Vladimir
next prev parent reply other threads:[~2019-04-29 9:18 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-26 22:15 [Qemu-devel] [PATCH v3 0/2] docs/interop/bitmaps: rewrite and modernize doc John Snow 2019-04-26 22:15 ` John Snow 2019-04-26 22:15 ` [Qemu-devel] [PATCH v3 1/2] Makefile: add nit-picky mode to sphinx-build John Snow 2019-04-26 22:15 ` John Snow 2019-04-29 9:17 ` Vladimir Sementsov-Ogievskiy [this message] 2019-04-29 9:17 ` Vladimir Sementsov-Ogievskiy 2019-04-30 22:53 ` John Snow 2019-04-30 22:53 ` John Snow 2019-04-26 22:15 ` [Qemu-devel] [PATCH v3 2/2] docs/interop/bitmaps: rewrite and modernize doc John Snow 2019-04-26 22:15 ` John Snow 2019-04-29 9:30 ` Vladimir Sementsov-Ogievskiy 2019-04-29 9:30 ` Vladimir Sementsov-Ogievskiy 2019-04-29 13:44 ` Kashyap Chamarthy 2019-04-29 13:44 ` Kashyap Chamarthy 2019-04-30 22:56 ` John Snow 2019-04-30 22:56 ` John Snow
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=5746f6e2-c6bc-23a4-686f-b6943fedbe2c@virtuozzo.com \ --to=vsementsov@virtuozzo.com \ --cc=aliang@redhat.com \ --cc=armbru@redhat.com \ --cc=eblake@redhat.com \ --cc=fam@euphon.net \ --cc=jsnow@redhat.com \ --cc=kchamart@redhat.com \ --cc=nsoffer@redhat.com \ --cc=qemu-block@nongnu.org \ --cc=qemu-devel@nongnu.org \ --cc=qemu-stable@nongnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).