]> git.baikalelectronics.ru Git - kernel.git/commit
docs: Allow multiple automarkup functions
authorNícolas F. R. A. Prado <nfraprado@protonmail.com>
Fri, 11 Sep 2020 13:34:33 +0000 (13:34 +0000)
committerJonathan Corbet <corbet@lwn.net>
Wed, 16 Sep 2020 17:09:51 +0000 (11:09 -0600)
commit4acb43f1d3dfadfb260da1956b94a78aae729c7c
tree0225ee341d2ab983f25695ca3596de7ce80439a1
parent8bd2e4d94b591597c2ca1bc2260f86af2a907bd8
docs: Allow multiple automarkup functions

The automarkup script previously matched expressions and substituted
them with markup to enable automatic cross-reference all in the same
function.

Split the expression matching iteration and the markup substitution into
different functions to make it easier to add new regular expressions and
functions to treat each of them.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@protonmail.com>
Link: https://lore.kernel.org/r/20200911133339.327721-2-nfraprado@protonmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx/automarkup.py