* linux-next: build warnings after merge of the jc_docs tree
@ 2021-03-10 3:20 Stephen Rothwell
2021-03-10 8:33 ` [PATCH] docs/zh_CN: fix original link unknown document warning Wu XiangCheng
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2021-03-10 3:20 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Wu XiangCheng, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 607 bytes --]
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")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] docs/zh_CN: fix original link unknown document warning
2021-03-10 3:20 linux-next: build warnings after merge of the jc_docs tree Stephen Rothwell
@ 2021-03-10 8:33 ` Wu XiangCheng
2021-03-15 19:09 ` Jonathan Corbet
0 siblings, 1 reply; 3+ messages in thread
From: Wu XiangCheng @ 2021-03-10 8:33 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Stephen Rothwell, Linux Kernel Mailing List, Linux Next Mailing List
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")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
---
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(-)
diff --git a/Documentation/translations/zh_CN/admin-guide/README.rst b/Documentation/translations/zh_CN/admin-guide/README.rst
index 939aee115e48..99b708a416d8 100644
--- a/Documentation/translations/zh_CN/admin-guide/README.rst
+++ b/Documentation/translations/zh_CN/admin-guide/README.rst
@@ -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`
:译者:
diff --git a/Documentation/translations/zh_CN/admin-guide/unicode.rst b/Documentation/translations/zh_CN/admin-guide/unicode.rst
index ef7f3cb2c02e..814f9ecf562b 100644
--- a/Documentation/translations/zh_CN/admin-guide/unicode.rst
+++ b/Documentation/translations/zh_CN/admin-guide/unicode.rst
@@ -1,6 +1,6 @@
.. include:: ../disclaimer-zh_CN.rst
-:Original: :ref:`Documentation/admin-guide/unicode.rst`
+:Original: :doc:`../../../admin-guide/unicode`
:译者:
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs/zh_CN: fix original link unknown document warning
2021-03-10 8:33 ` [PATCH] docs/zh_CN: fix original link unknown document warning Wu XiangCheng
@ 2021-03-15 19:09 ` Jonathan Corbet
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-03-15 19:09 UTC (permalink / raw)
To: Wu XiangCheng
Cc: Stephen Rothwell, Linux Kernel Mailing List, Linux Next Mailing List
Wu XiangCheng <bobwxc@email.cn> writes:
> 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")
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
> ---
> 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(-)
>
> diff --git a/Documentation/translations/zh_CN/admin-guide/README.rst b/Documentation/translations/zh_CN/admin-guide/README.rst
> index 939aee115e48..99b708a416d8 100644
> --- a/Documentation/translations/zh_CN/admin-guide/README.rst
> +++ b/Documentation/translations/zh_CN/admin-guide/README.rst
> @@ -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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-15 19:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 3:20 linux-next: build warnings after merge of the jc_docs tree Stephen Rothwell
2021-03-10 8:33 ` [PATCH] docs/zh_CN: fix original link unknown document warning Wu XiangCheng
2021-03-15 19:09 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).