From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Swaraj Gaikwad <swarajgaikwad1925@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Jonathan Corbet <corbet@lwn.net>,
"open list:CPU FREQUENCY SCALING FRAMEWORK"
<linux-pm@vger.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>
Cc: skhan@linuxfoundation.org, david.hunter.linux@gmail.com
Subject: Re: [PATCH] Documentation: pm: fix duplicate hyperlink target errors
Date: Wed, 29 Oct 2025 17:55:01 +0700 [thread overview]
Message-ID: <aQHyhU78m-9RPQ8q@archie.me> (raw)
In-Reply-To: <20251029134737.42229-1-swarajgaikwad1925@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2802 bytes --]
On Wed, Oct 29, 2025 at 01:47:37PM +0000, Swaraj Gaikwad wrote:
> Fix reST warnings in
> Documentation/admin-guide/pm/intel_pstate.rst caused by missing explicit
> hyperlink labels for section titles.
>
> Before this change, the following errors were printed during
> `make htmldocs`:
>
> Documentation/admin-guide/pm/intel_pstate.rst:401:
> ERROR: Indirect hyperlink target (id="id6") refers to target
> "passive mode", which is a duplicate, and cannot be used as a
> unique reference.
> Documentation/admin-guide/pm/intel_pstate.rst:517:
> ERROR: Indirect hyperlink target (id="id9") refers to target
> "active mode", which is a duplicate, and cannot be used as a
> unique reference.
> Documentation/admin-guide/pm/intel_pstate.rst:611:
> ERROR: Indirect hyperlink target (id="id15") refers to target
> "global attributes", which is a duplicate, and cannot be used as
> a unique reference.
> ERROR: Duplicate target name, cannot be used as a unique reference:
> "passive mode", "active mode", "global attributes".
Hmm... I don't see these warnings when I build htmldocs by:
$ make SPHINXOPTS='-j 1' htmldocs
My environment uses docutils 0.21.2 and Sphinx 8.2.3, though. What are yours?
> diff --git a/Documentation/admin-guide/pm/intel_pstate.rst b/Documentation/admin-guide/pm/intel_pstate.rst
> index 26e702c7016e..9cdd9dad6516 100644
> --- a/Documentation/admin-guide/pm/intel_pstate.rst
> +++ b/Documentation/admin-guide/pm/intel_pstate.rst
> @@ -62,6 +62,8 @@ a certain performance scaling algorithm. Which of them will be in effect
> depends on what kernel command line options are used and on the capabilities of
> the processor.
>
> +.. _Active Mode:
> +
> Active Mode
> -----------
>
> @@ -94,6 +96,8 @@ Which of the P-state selection algorithms is used by default depends on the
> Namely, if that option is set, the ``performance`` algorithm will be used by
> default, and the other one will be used by default if it is not set.
>
> +.. _Active Mode With HWP:
> +
> Active Mode With HWP
> ~~~~~~~~~~~~~~~~~~~~
>
> @@ -192,6 +196,8 @@ This is the default P-state selection algorithm if the
> :c:macro:`CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE` kernel configuration option
> is not set.
>
> +.. _Passive Mode:
> +
> Passive Mode
> ------------
>
> @@ -432,6 +438,8 @@ the ``energy_model`` directory in ``debugfs`` (typlically mounted on
> User Space Interface in ``sysfs``
> =================================
>
> +.. _Global Attributes:
> +
> Global Attributes
> -----------------
>
>
The diff LGTM, nevertheless.
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-10-29 10:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 13:47 Swaraj Gaikwad
2025-10-29 10:55 ` Bagas Sanjaya [this message]
2025-10-29 17:01 ` Randy Dunlap
2025-10-29 20:40 ` Rafael J. Wysocki
2025-10-30 0:04 ` Swaraj Gaikwad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aQHyhU78m-9RPQ8q@archie.me \
--to=bagasdotme@gmail.com \
--cc=corbet@lwn.net \
--cc=david.hunter.linux@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=swarajgaikwad1925@gmail.com \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®