[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7bac8111-d18c-4edc-0722-66e6312daab9@gmail.com>
Date: Fri, 10 Jun 2022 10:58:09 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
"Maciej W. Rozycki" <macro@...am.me.uk>,
Miguel Ojeda <ojeda@...nel.org>, linux-kernel@...r.kernel.org,
Akira Yokosawa <akiyks@...il.com>
Subject: Re: [PATCH 2/5] docs/doc-guide: Mention make variable SPHINXDIRS
On Thu, 09 Jun 2022 09:26:17 -0600,
Jonathan Corbet wrote:
> Akira Yokosawa <akiyks@...il.com> writes:
[...]
>> --- a/Documentation/doc-guide/sphinx.rst
>> +++ b/Documentation/doc-guide/sphinx.rst
>> @@ -151,6 +151,10 @@ If the theme is not available, it will fall-back to the classic one.
>>
>> The Sphinx theme can be overridden by using the ``DOCS_THEME`` make variable.
>>
>> +There is another make variable ``SPHINXDIRS``, which is useful when test
>> +building a subset of documentation. Again, see the documentation section
>> +of ``make help`` for the details.
>
> This should definitely be documented, it's kind of sad that we never did
> that. Rather than redirect readers to type a "make" command, though,
> why not just tell them how to use it here?
Good point.
I have updated the hunk as follows:
+There is another make variable ``SPHINXDIRS``, which is useful when test
+building a subset of documentation. For example, you can build documents
+under ``Documentation/doc-guide`` by running
+``make SPHINXDIRS=doc-guide htmldocs``.
+The documentation section of ``make help`` will show you the list of
+subdirectories you can specify.
Thoughts?
Thanks, Akira
>
> Thanks,
>
> jon
Powered by blists - more mailing lists