diff mbox series

[4/7] docs: adm1177: fix a broken reference

Message ID 8d37f465888656224855a21f5bb01edb1ca66cf3.1582361738.git.mchehab+huawei@kernel.org (mailing list archive)
State Accepted
Headers show
Series None | expand

Commit Message

Mauro Carvalho Chehab Feb. 22, 2020, 9 a.m. UTC
This reference was missing the .rst extension. This would be OK
if it were using the :doc: directive. So, switch to it.

As a side effect, this will create cross-reference links at
html output.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/hwmon/adm1177.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Guenter Roeck Feb. 22, 2020, 3:48 p.m. UTC | #1
On 2/22/20 1:00 AM, Mauro Carvalho Chehab wrote:
> This reference was missing the .rst extension. This would be OK
> if it were using the :doc: directive. So, switch to it.
> 
> As a side effect, this will create cross-reference links at
> html output.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

Applied.

Thanks,
Guenter

> ---
>   Documentation/hwmon/adm1177.rst | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/Documentation/hwmon/adm1177.rst b/Documentation/hwmon/adm1177.rst
> index c81e0b4abd28..471be1e98d6f 100644
> --- a/Documentation/hwmon/adm1177.rst
> +++ b/Documentation/hwmon/adm1177.rst
> @@ -20,8 +20,7 @@ Usage Notes
>   -----------
>   
>   This driver does not auto-detect devices. You will have to instantiate the
> -devices explicitly. Please see Documentation/i2c/instantiating-devices for
> -details.
> +devices explicitly. Please see :doc:`/i2c/instantiating-devices` for details.
>   
>   
>   Sysfs entries
>
diff mbox series

Patch

diff --git a/Documentation/hwmon/adm1177.rst b/Documentation/hwmon/adm1177.rst
index c81e0b4abd28..471be1e98d6f 100644
--- a/Documentation/hwmon/adm1177.rst
+++ b/Documentation/hwmon/adm1177.rst
@@ -20,8 +20,7 @@  Usage Notes
 -----------
 
 This driver does not auto-detect devices. You will have to instantiate the
-devices explicitly. Please see Documentation/i2c/instantiating-devices for
-details.
+devices explicitly. Please see :doc:`/i2c/instantiating-devices` for details.
 
 
 Sysfs entries