[PATCH] docs/powerpc: add htm.rst to toctree to fix warning

Kriish Sharma posted 1 patch 2 months ago
Documentation/arch/powerpc/index.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/powerpc: add htm.rst to toctree to fix warning
Posted by Kriish Sharma 2 months ago
The htm.rst file was not included in any toctree, leading to a Sphinx
warning when building documentation.

Include it in Documentation/arch/powerpc/index.rst to fix the warning.

Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
---
 Documentation/arch/powerpc/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/arch/powerpc/index.rst b/Documentation/arch/powerpc/index.rst
index 0560cbae5fa1..ae0280383315 100644
--- a/Documentation/arch/powerpc/index.rst
+++ b/Documentation/arch/powerpc/index.rst
@@ -36,7 +36,7 @@ powerpc
     vas-api
     vcpudispatch_stats
     vmemmap_dedup
-
+    htm
     features
 
 .. only::  subproject and html
-- 
2.34.1
Re: [PATCH] docs/powerpc: add htm.rst to toctree to fix warning
Posted by Jonathan Corbet 2 months ago
Kriish Sharma <kriish.sharma2006@gmail.com> writes:

> The htm.rst file was not included in any toctree, leading to a Sphinx
> warning when building documentation.
>
> Include it in Documentation/arch/powerpc/index.rst to fix the warning.
>
> Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
> ---
>  Documentation/arch/powerpc/index.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/arch/powerpc/index.rst b/Documentation/arch/powerpc/index.rst
> index 0560cbae5fa1..ae0280383315 100644
> --- a/Documentation/arch/powerpc/index.rst
> +++ b/Documentation/arch/powerpc/index.rst
> @@ -36,7 +36,7 @@ powerpc
>      vas-api
>      vcpudispatch_stats
>      vmemmap_dedup
> -
> +    htm
>      features

Thanks...but we already have two conflicting versions of this fix headed
upstream, so a third is probably not needed :)

jo