linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs/gcov: Convert two tags to ref in dev-tools/gov.rst
@ 2021-04-03 11:37 Wu XiangCheng
  2021-04-07 14:16 ` Peter Oberparleiter
  0 siblings, 1 reply; 3+ messages in thread
From: Wu XiangCheng @ 2021-04-03 11:37 UTC (permalink / raw)
  To: Peter Oberparleiter; +Cc: Jonathan Corbet, linux-doc

Htmldocs does not display the chapter number, convert the two manual
chapter number tags to ref tags.

Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
---
 Documentation/dev-tools/gcov.rst | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/dev-tools/gcov.rst b/Documentation/dev-tools/gcov.rst
index 9e989baae154..5fce2b06f229 100644
--- a/Documentation/dev-tools/gcov.rst
+++ b/Documentation/dev-tools/gcov.rst
@@ -124,6 +124,8 @@ box for setups where kernels are built and run on the same machine. In
 cases where the kernel runs on a separate machine, special preparations
 must be made, depending on where the gcov tool is used:
 
+.. _gcov-test:
+
 a) gcov is run on the TEST machine
 
     The gcov tool version on the test machine must be compatible with the
@@ -143,6 +145,8 @@ a) gcov is run on the TEST machine
     machine. If any of the path components is symbolic link, the actual
     directory needs to be used instead (due to make's CURDIR handling).
 
+.. _gcov-build:
+
 b) gcov is run on the BUILD machine
 
     The following files need to be copied after each test case from test
@@ -211,7 +215,7 @@ Appendix A: gather_on_build.sh
 ------------------------------
 
 Sample script to gather coverage meta files on the build machine
-(see 6a):
+(see :ref:`Separated build and test machines a. <gcov-test>`):
 
 .. code-block:: sh
 
@@ -244,7 +248,7 @@ Appendix B: gather_on_test.sh
 -----------------------------
 
 Sample script to gather coverage data files on the test machine
-(see 6b):
+(see :ref:`Separated build and test machines b. <gcov-build>`):
 
 .. code-block:: sh
 
-- 
2.20.1


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

* Re: [PATCH] docs/gcov: Convert two tags to ref in dev-tools/gov.rst
  2021-04-03 11:37 [PATCH] docs/gcov: Convert two tags to ref in dev-tools/gov.rst Wu XiangCheng
@ 2021-04-07 14:16 ` Peter Oberparleiter
  2021-04-08 17:20   ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Oberparleiter @ 2021-04-07 14:16 UTC (permalink / raw)
  To: Wu XiangCheng; +Cc: Jonathan Corbet, linux-doc

On 03.04.2021 13:37, Wu XiangCheng wrote:
> Htmldocs does not display the chapter number, convert the two manual
> chapter number tags to ref tags.
> 
> Signed-off-by: Wu XiangCheng <bobwxc@email.cn>

Looks sane to me.

Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>

Unfortunately I don't know how documentation updates such as this one
are typically handled...

> ---
>  Documentation/dev-tools/gcov.rst | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/dev-tools/gcov.rst b/Documentation/dev-tools/gcov.rst
> index 9e989baae154..5fce2b06f229 100644
> --- a/Documentation/dev-tools/gcov.rst
> +++ b/Documentation/dev-tools/gcov.rst
> @@ -124,6 +124,8 @@ box for setups where kernels are built and run on the same machine. In
>  cases where the kernel runs on a separate machine, special preparations
>  must be made, depending on where the gcov tool is used:
>  
> +.. _gcov-test:
> +
>  a) gcov is run on the TEST machine
>  
>      The gcov tool version on the test machine must be compatible with the
> @@ -143,6 +145,8 @@ a) gcov is run on the TEST machine
>      machine. If any of the path components is symbolic link, the actual
>      directory needs to be used instead (due to make's CURDIR handling).
>  
> +.. _gcov-build:
> +
>  b) gcov is run on the BUILD machine
>  
>      The following files need to be copied after each test case from test
> @@ -211,7 +215,7 @@ Appendix A: gather_on_build.sh
>  ------------------------------
>  
>  Sample script to gather coverage meta files on the build machine
> -(see 6a):
> +(see :ref:`Separated build and test machines a. <gcov-test>`):
>  
>  .. code-block:: sh
>  
> @@ -244,7 +248,7 @@ Appendix B: gather_on_test.sh
>  -----------------------------
>  
>  Sample script to gather coverage data files on the test machine
> -(see 6b):
> +(see :ref:`Separated build and test machines b. <gcov-build>`):
>  
>  .. code-block:: sh
>  
> 


-- 
Peter Oberparleiter
Linux on Z Development - IBM Germany

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

* Re: [PATCH] docs/gcov: Convert two tags to ref in dev-tools/gov.rst
  2021-04-07 14:16 ` Peter Oberparleiter
@ 2021-04-08 17:20   ` Jonathan Corbet
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-04-08 17:20 UTC (permalink / raw)
  To: Peter Oberparleiter, Wu XiangCheng; +Cc: linux-doc

Peter Oberparleiter <oberpar@linux.ibm.com> writes:

> On 03.04.2021 13:37, Wu XiangCheng wrote:
>> Htmldocs does not display the chapter number, convert the two manual
>> chapter number tags to ref tags.
>> 
>> Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
>
> Looks sane to me.
>
> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
>
> Unfortunately I don't know how documentation updates such as this one
> are typically handled...

I've applied it.

Thanks,

jon

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

end of thread, other threads:[~2021-04-08 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-03 11:37 [PATCH] docs/gcov: Convert two tags to ref in dev-tools/gov.rst Wu XiangCheng
2021-04-07 14:16 ` Peter Oberparleiter
2021-04-08 17:20   ` 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).