# Re: \[PATCH 4/7\] docs: adm1177: fix a broken reference

- From: Guenter Roeck \<linux@roeck-us.net\>
- Date: 2020-02-22 15:48:32 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2020/02/8524072
- Thread: https://ratatoskr.run/linux-doc/2020/02/5871818/t.md

```text
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
>

```
