Re: [PATCH 1/8] docs: kernel-doc: Get rid of xml_escape() and friends

From: Jonathan Corbet
Date: Fri Feb 09 2018 - 08:32:39 EST


On Fri, 09 Feb 2018 11:09:27 +0200
Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx> wrote:

> On Wed, 07 Feb 2018, Jonathan Corbet <corbet@xxxxxxx> wrote:
> > XML escaping is a worry that came with DocBook, which we no longer have any
> > dealings with. So get rid of the useless xml_escape()/xml_unescape()
> > functions. No change to the generated output.
>
> I think this will break at least the -docbook output option, perhaps
> also -html and -html5 options. If you think it's okay to break them,
> would it not be better to just axe those off first?
>
> I guess this boils down to, is kernel-doc the script a general purpose
> tool, or just a very specific part of the kernel documentation build
> process?
>
> FWIW I think the latter, and why don't you throw docbook/html support
> out already!

See commit b05142675310 :)

Thanks,

jon