linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning
@ 2020-05-31 18:35 Lukas Bulwahn
  2020-06-03  7:36 ` Alex Shi
  2020-06-08 15:25 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Bulwahn @ 2020-05-31 18:35 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Harry Wei, Alex Shi, Wang Wenhu, Lukas Bulwahn, Chucheng Luo,
	linux-kernel

Documentation generation warns:

  Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
  WARNING: undefined label: debugfs_index

Use doc reference for files rather than introducing a label to refer to.
This resolves the warning above.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
Jonathan, please pick this quick warning fix.

applies on your doc-next and next-20200529

 Documentation/translations/zh_CN/filesystems/debugfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/translations/zh_CN/filesystems/debugfs.rst b/Documentation/translations/zh_CN/filesystems/debugfs.rst
index f8a28793c277..822c4d42fdf9 100644
--- a/Documentation/translations/zh_CN/filesystems/debugfs.rst
+++ b/Documentation/translations/zh_CN/filesystems/debugfs.rst
@@ -2,7 +2,7 @@
 
 .. include:: ../disclaimer-zh_CN.rst
 
-:Original: :ref:`Documentation/filesystems/debugfs.txt <debugfs_index>`
+:Original: :doc:`../../../filesystems/debugfs`
 
 =======
 Debugfs
-- 
2.17.1


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

* Re: [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning
  2020-05-31 18:35 [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning Lukas Bulwahn
@ 2020-06-03  7:36 ` Alex Shi
  2020-06-08 15:25 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Shi @ 2020-06-03  7:36 UTC (permalink / raw)
  To: Lukas Bulwahn, Jonathan Corbet, linux-doc
  Cc: Harry Wei, Wang Wenhu, Chucheng Luo, linux-kernel



在 2020/6/1 上午2:35, Lukas Bulwahn 写道:
> Documentation generation warns:
> 
>   Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
>   WARNING: undefined label: debugfs_index

It's due to debugfs.txt changed to debugfs.rst.

> 
> Use doc reference for files rather than introducing a label to refer to.
> This resolves the warning above.

Anyway this fix is also fine for me.

Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>

> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
> Jonathan, please pick this quick warning fix.
> 
> applies on your doc-next and next-20200529
> 
>  Documentation/translations/zh_CN/filesystems/debugfs.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/translations/zh_CN/filesystems/debugfs.rst b/Documentation/translations/zh_CN/filesystems/debugfs.rst
> index f8a28793c277..822c4d42fdf9 100644
> --- a/Documentation/translations/zh_CN/filesystems/debugfs.rst
> +++ b/Documentation/translations/zh_CN/filesystems/debugfs.rst
> @@ -2,7 +2,7 @@
>  
>  .. include:: ../disclaimer-zh_CN.rst
>  
> -:Original: :ref:`Documentation/filesystems/debugfs.txt <debugfs_index>`
> +:Original: :doc:`../../../filesystems/debugfs`
>  
>  =======
>  Debugfs
> 

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

* Re: [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning
  2020-05-31 18:35 [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning Lukas Bulwahn
  2020-06-03  7:36 ` Alex Shi
@ 2020-06-08 15:25 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2020-06-08 15:25 UTC (permalink / raw)
  To: Lukas Bulwahn
  Cc: linux-doc, Harry Wei, Alex Shi, Wang Wenhu, Chucheng Luo, linux-kernel

On Sun, 31 May 2020 20:35:56 +0200
Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote:

> Documentation generation warns:
> 
>   Documentation/translations/zh_CN/filesystems/debugfs.rst:5:
>   WARNING: undefined label: debugfs_index
> 
> Use doc reference for files rather than introducing a label to refer to.
> This resolves the warning above.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
> Jonathan, please pick this quick warning fix.

Applied, thanks.

jon

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

end of thread, other threads:[~2020-06-08 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 18:35 [PATCH] doc: zh_CN: use doc reference to resolve undefined label warning Lukas Bulwahn
2020-06-03  7:36 ` Alex Shi
2020-06-08 15:25 ` 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).