Re: [PATCH v8 02/13] tools: ynl_gen_rst.py: Split library from command line tool

Donald Hunter <[email protected]>
Newsgroups dev.linux.lists.lkmm,dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
Mauro Carvalho Chehab <[email protected]> writes:

> As we'll be using the Netlink specs parser inside a Sphinx
> extension, move the library part from the command line parser.
>
> While here, change the code which generates an index file
> to parse inputs from both .rst and .yaml extensions. With
> that, the tool can easily be tested with:
>
> 	tools/net/ynl/pyynl/ynl_gen_rst.py -x -o Documentation/netlink/specs/foo.rst
>
> Without needing to first generate a temp directory with the
> rst files.
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>

Reviewed-by: Donald Hunter <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.