System Info
- System info not relevant
- doc at main
- source at main
Information
Tasks
Reproduction
Hi!
The doc "source" links of Accelerate are not sending to the proper place in the source code.
For example, "source" button of https://huggingface.co/docs/accelerate/main/en/accelerator#accelerate.Accelerator.prepare (far right in the capture) redirects to https://github.com/huggingface/accelerate/blob/main/src/accelerate/accelerator.py#L554 which is about 10 lines above the relevant function prepare.

Expected behavior
The source button should send to the correct place in code.
System Info
- System info not relevant - doc at main - source at mainInformation
Tasks
Reproduction
Hi!
The doc "source" links of Accelerate are not sending to the proper place in the source code.
For example, "source" button of https://huggingface.co/docs/accelerate/main/en/accelerator#accelerate.Accelerator.prepare (far right in the capture) redirects to https://github.com/huggingface/accelerate/blob/main/src/accelerate/accelerator.py#L554 which is about 10 lines above the relevant function
prepare.Expected behavior