Re: [PATCH RFC] docs: automarkup: linkify git revs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vegard Nossum <vegard.nossum@xxxxxxxxxx> writes:

> There aren't a ton of references to commits in the documentation, but
> they do exist, and we can use automarkup to linkify them to make them
> easier to follow.
>
> Use something like this to find references to commits:
>
>   git grep -P 'commit.*[0-9a-f]{8,}' Documentation/
>
> Also fix a few of these to standardize on the exact format that is
> already used in changelogs.
>
> Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx>
> ---
>  Documentation/arch/x86/boot.rst           |  2 +-
>  Documentation/bpf/btf.rst                 |  6 ++----
>  Documentation/doc-guide/sphinx.rst        |  9 +++++++++
>  Documentation/livepatch/callbacks.rst     |  4 ++--
>  Documentation/networking/snmp_counter.rst | 16 ++++++----------
>  Documentation/sphinx/automarkup.py        | 20 +++++++++++++++++++-
>  6 files changed, 39 insertions(+), 18 deletions(-)

That seems to work nicely.  Applied, thanks.

jon




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux