lkml.org 
[lkml]   [2022]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/1] docs: automarkup.py: Fix invalid HTML link output and broken URI fragments
    On Fri, Jan 07, 2022 at 10:04:44AM +0000, James Clark wrote:
    >
    >
    > On 06/01/2022 22:25, Jonathan Corbet wrote:
    > > James Clark <james.clark@arm.com> writes:
    > >
    > >> Since commit d18b01789ae5 ("docs: Add automatic cross-reference for
    > >> documentation pages"), references that were already explicitly defined
    > >> with "ref:" and referred to other pages with a path have been doubled.
    > >> This is reported as the following error by Firefox:
    > > [...]
    > >> The fix is to check that nodes in the document to be modified are not
    > >> already references. A reference is counted as any text that is a
    > >> descendant of a reference type node. Only plain text should be converted
    > >> to new references, otherwise the doubling occurs.
    > >
    > > This seems like a good fix. Applied, thanks.
    > >
    > > jon
    > >
    >
    > Thanks Jonathan. Do you have a git repo that these get applied to?
    > I wasn't able to find it on https://git.kernel.org/

    Yeah, it's not listed there. His tree lives at git://git.lwn.net/linux . I can
    see your patch in the docs-next branch.

    \
     
     \ /
      Last update: 2022-01-07 17:34    [W:3.154 / U:2.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site