Skip to contentSkip to conversation

linux-next: build warnings after merge of the jc_docs tree

PATCH In review Stephen Rothwell 3 participants 3 messages Mar 10, 2021 – Mar 15, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index 939aee115e48..99b708a416d8 100644
@@ -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
index ef7f3cb2c02e..814f9ecf562b 100644
@@ -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
maintainer
#2 lore raw

Re: [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.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 +0 -0
index 939aee115e48..99b708a416d8 100644

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