linux-next: build warnings after merge of the jc_docs tree
Subsystems (3)
Hi all,
After merging the jc_docs tree, today's linux-next build (htmldocs) produced these warnings:
Documentation/translations/zh_CN/admin-guide/README.rst:3: WARNING: undefined label: linux kernel release 5.x (if the link has no caption the label must precede a section header) Documentation/translations/zh_CN/admin-guide/unicode.rst:3: WARNING: undefined label: documentation/admin-guide/unicode.rst (if the link has no caption the label must precede a section header)
Introduced by commit
550c8399d017 ("docs/zh_CN: Add zh_CN/admin-guide/README.rst")
Signature · 2 lines
Cheers, Stephen Rothwell
PATCH 1/1 docs/zh_CN: fix original link unknown document warning
fix original link unknown document warning in zh_CN/admin-guide/README.rst and admin-guide/unicode.rst which introduced by commit:
550c8399d017 ("docs/zh_CN: Add zh_CN/admin-guide/README.rst")
---
Sorry for the inconvenience. This is a fix patch. Or I could re-submit the two original patches if you need.
Documentation/translations/zh_CN/admin-guide/README.rst | 2 +- Documentation/translations/zh_CN/admin-guide/unicode.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/translations/zh_CN/admin-guide/README.rst +1 -1
@@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: :ref:`Documentation/admin-guide/README.rst <Linux kernel release 5.x>` +:Original: :doc:`../../../admin-guide/README` :译者:
Documentation/translations/zh_CN/admin-guide/unicode.rst +1 -1
@@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: :ref:`Documentation/admin-guide/unicode.rst` +:Original: :doc:`../../../admin-guide/unicode` :译者:
Signature · 1 line
2.20.1
Jonathan Corbet
maintainerRe: [PATCH] docs/zh_CN: fix original link unknown document warning
Quoted 20 lines · Wu XiangCheng
fix original link unknown document warning in
zh_CN/admin-guide/README.rstandadmin-guide/unicode.rstwhich introduced by commit:
550c8399d017("docs/zh_CN: Addzh_CN/admin-guide/README.rst")Reported-by Stephen Rothwell <[email protected]>Signed-off-by Wu XiangCheng <[email protected]>---
Sorry for the inconvenience. This is a fix patch. Or I could re-submit the two original patches if you need.Documentation/translations/zh_CN/admin-guide/README.rst | 2 +- Documentation/translations/zh_CN/admin-guide/unicode.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Documentation/translations/zh_CN/admin-guide/README.rst +0
-0
Documentation/translations/zh_CN/admin-guide/README.rst line 3
Quoted 4 lines
Documentation/translations/zh_CN/admin-guide/README.rst +1
-1@@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: :ref:`Documentation/admin-guide/README.rst <Linux kernel release 5.x>` +:Original: :doc:`../../../admin-guide/README`
It seems even better to just let automarkup do its thing:
:Original: Documentation/admin-guide/README.rst
I'll just put in a quick fix along those lines.
Thanks,
jon