All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] docs: automarkup.py: Fix invalid HTML link output and broken URI fragments
@ 2021-12-16 19:27 James Clark
  2021-12-16 19:27 ` [PATCH 1/1] " James Clark
  0 siblings, 1 reply; 5+ messages in thread
From: James Clark @ 2021-12-16 19:27 UTC (permalink / raw)
  To: mchehab+huawei, nfraprado, corbet, linux-doc; +Cc: James Clark, linux-kernel

Hi,

I was looking modify some of the docs and add some links to subsections, but I noticed that this
was broken. I double checked on the kernel.org docs in case it was an issue with my sphinx version.
The commit message goes into more details.

I made a fix, but it does have one small side-effect. The original commit had the
side effect to prettify some of the page links. In the example I gave in the commit message
"L1TF - L1 Terminal Fault" now becomes "Documentation/admin-guide/hw-vuln//l1tf.rst". But this is
true to the rst source:

  :ref:`Documentation/admin-guide/hw-vuln//l1tf.rst <default_mitigations>`.

Technically the bit between the `` and not the <> should be what is displayed. So I think this is
fine. And the original breaking commit only attempted to touchup plain text page links. I don't
think the intention was to modify existing references.

Thanks
James

James Clark (1):
  docs: automarkup.py: Fix invalid HTML link output and broken URI
    fragments

 Documentation/sphinx/automarkup.py | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-05 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 19:27 [PATCH 0/1] docs: automarkup.py: Fix invalid HTML link output and broken URI fragments James Clark
2021-12-16 19:27 ` [PATCH 1/1] " James Clark
2022-01-04 14:17   ` James Clark
2022-01-04 21:58     ` Nícolas F. R. A. Prado
2022-01-05 14:42       ` James Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.