From: Mauro Carvalho Chehab <mchehab+samsung@kernel•org>
To: Markus Heiser <markus.heiser@darmarit•de>
Cc: Linux Doc Mailing List <linux-doc@vger•kernel.org>,
Mauro Carvalho Chehab <mchehab@infradead•org>,
linux-kernel@vger•kernel.org, Jonathan Corbet <corbet@lwn•net>,
Herbert Xu <herbert@gondor•apana.org.au>,
"David S. Miller" <davem@davemloft•net>,
David Airlie <airlied@linux•ie>, Daniel Vetter <daniel@ffwll•ch>,
Maarten Lankhorst <maarten.lankhorst@linux•intel.com>,
Maxime Ripard <maxime.ripard@bootlin•com>,
Sean Paul <sean@poorly•run>,
Dmitry Torokhov <dmitry.torokhov@gmail•com>,
Yoshinori Sato <ysato@users•sourceforge.jp>,
Rich Felker <dalias@libc•org>, Jaroslav Kysela <perex@perex•cz>,
Takashi Iwai <tiwai@suse•com>,
Thomas Gleixner <tglx@linutronix•de>,
Ingo Molnar <mingo@redhat•com>, Borislav Petkov <bp@alien8•de>,
"H. Peter Anvin" <hpa@zytor•com>,
x86@kernel•org, linux-crypto@vger•kernel.org,
dri-devel@lists•freedesktop.org, linux-input@vger•kernel.org,
netdev@vger•kernel.org, linux-sh@vger•kernel.org,
alsa-devel@alsa-project•org
Subject: Re: [PATCH 8/8] docs: remove extra conf.py files
Date: Mon, 15 Jul 2019 04:57:02 -0300 [thread overview]
Message-ID: <20190715045702.1e2b569b@coco.lan> (raw)
In-Reply-To: <e3ff0a8a-6956-3855-07be-9c126df2da2d@darmarit.de>
Em Mon, 15 Jul 2019 08:16:54 +0200
Markus Heiser <markus.heiser@darmarit•de> escreveu:
> Hi Mauro,
>
> sorry, I havn't tested your patch, but one question ...
>
> Am 14.07.19 um 17:10 schrieb Mauro Carvalho Chehab:
> > Now that the latex_documents are handled automatically, we can
> > remove those extra conf.py files.
>
> We need these conf.py also for compiling books' into HTML. For this
> the tags.add("subproject") is needed. Should we realy drop this feature?
>
> -- Markus --
You're right: adding "subproject" tags is needed for html. Folding this
to patch 7/8 makes both htmldocs and pdfdocs to work with SPHINXDIRS
without the need of a per-subdir conf.py.
Regards,
Mauro
diff --git a/Documentation/sphinx/load_config.py b/Documentation/sphinx/load_config.py
index 75f527ff4c95..e4a04f367b41 100644
--- a/Documentation/sphinx/load_config.py
+++ b/Documentation/sphinx/load_config.py
@@ -51,3 +51,7 @@ def loadConfig(namespace):
execfile_(config_file, config)
del config['__file__']
namespace.update(config)
+ else:
+ config = namespace.copy()
+ config['tags'].add("subproject")
+ namespace.update(config)
Thanks,
Mauro
prev parent reply other threads:[~2019-07-15 7:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-14 15:10 [PATCH 0/8] docs: some improvements when producing PDF files Mauro Carvalho Chehab
2019-07-14 15:10 ` [PATCH 8/8] docs: remove extra conf.py files Mauro Carvalho Chehab
2019-07-15 6:16 ` Markus Heiser
2019-07-15 7:57 ` Mauro Carvalho Chehab [this message]
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=20190715045702.1e2b569b@coco.lan \
--to=mchehab+samsung@kernel$(echo .)org \
--cc=airlied@linux$(echo .)ie \
--cc=alsa-devel@alsa-project$(echo .)org \
--cc=bp@alien8$(echo .)de \
--cc=corbet@lwn$(echo .)net \
--cc=dalias@libc$(echo .)org \
--cc=daniel@ffwll$(echo .)ch \
--cc=davem@davemloft$(echo .)net \
--cc=dmitry.torokhov@gmail$(echo .)com \
--cc=dri-devel@lists$(echo .)freedesktop.org \
--cc=herbert@gondor$(echo .)apana.org.au \
--cc=hpa@zytor$(echo .)com \
--cc=linux-crypto@vger$(echo .)kernel.org \
--cc=linux-doc@vger$(echo .)kernel.org \
--cc=linux-input@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-sh@vger$(echo .)kernel.org \
--cc=maarten.lankhorst@linux$(echo .)intel.com \
--cc=markus.heiser@darmarit$(echo .)de \
--cc=maxime.ripard@bootlin$(echo .)com \
--cc=mchehab@infradead$(echo .)org \
--cc=mingo@redhat$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=perex@perex$(echo .)cz \
--cc=sean@poorly$(echo .)run \
--cc=tglx@linutronix$(echo .)de \
--cc=tiwai@suse$(echo .)com \
--cc=x86@kernel$(echo .)org \
--cc=ysato@users$(echo .)sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be 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