[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87eg4n29rr.fsf@intel.com>
Date: Tue, 13 Sep 2016 16:45:44 +0300
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: Shuah Khan <shuahkh@....samsung.com>,
Jonathan Corbet <corbet@....net>
Cc: richardcochran@...il.com, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Shuah Khan <shuahkh@....samsung.com>,
Markus Heiser <markus.heiser@...marit.de>
Subject: Re: [PATCH 0/9] Move runnable code (tests) from Documentation to selftests
On Tue, 13 Sep 2016, Shuah Khan <shuahkh@....samsung.com> wrote:
> On 09/13/2016 03:20 AM, Jani Nikula wrote:
>> FWIW, I'm in favor of moving *all* the code away from Documentation, not
>> just tests. Essentially removing the CONFIG_BUILD_DOCSRC config option,
>> and reserving Documentation/Makefile for documentation build. After this
>> series, some of the remaining code belongs under samples, some under
>> tools.
>
> I am planning another patch series to move all the examples and samples
> and tools to their right location.
Great!
>> We could make it possible to include the code samples from samples into
>> the Sphinx built documentation.
>
> I can't say I understand Sphinx, however, it might make sense to include
> samples into Sphinx build. Is this approach different from the way they
> are built under Documentation via Doc Makfiles now?
It's just that by default Sphinx won't allow including files outside of
its root directory, which is Documentation in this case. It just needs
an extension for this.
BR,
Jani.
--
Jani Nikula, Intel Open Source Technology Center
Powered by blists - more mailing lists