Keras docs source code links point to 404
Hi @grofte ,

This is already brought to the Docs team notice and they are working on fixing it.

However if you are looking for source code of https://github.com/keras-team/keras/tree/v2.13.1/keras/src/engine/training.py#L70-L3991 then remove `src/` from the URL address and it works fine.This is just a temporary workaround. The problem exists in TF2.13 due to some internal movements.

If you want to access older versions you can still access without any problem. For example please look for TF2.12v API docs [here](https://www.tensorflow.org/versions/r2.12/api_docs/python/tf).
 Okay, I didn't find the `docs-bug` label when I was searching before creating this issue. 

W.r.t. the older API documentation I am aware that it still exists. The links from vers. 2.10 and down work fine so I could open them and edit the address bar. But that doesn't change that both the 2.11 and 2.12 links point to https://www.tensorflow.org/api_docs/python/tf  
The release note links are fine though. I don't know why those two are wrong. @grofte ,

I am not sure I am getting your problem wrt 2.12 avd 2.11 versions. I can see the links are working fine for these versions.

https://www.tensorflow.org/versions/r2.12/api_docs/python/tf

https://www.tensorflow.org/versions/r2.11/api_docs/python/tf ![v2 11 and v2 12](https://github.com/tensorflow/tensorflow/assets/7976840/906263ab-3f8b-4151-9f16-c321f2c57380)
![v2 10](https://github.com/tensorflow/tensorflow/assets/7976840/5a1982ee-b9ba-42d5-b376-19be230e3919)

On the versions page https://www.tensorflow.org/versions Hi @grofte ,

Please check this.

<img width="1456" alt="Screenshot 2023-08-01 at 10 19 36 AM" src="https://github.com/tensorflow/tensorflow/assets/116063290/5cb513b0-4d1d-44d1-b2b3-10dc07cc4c0e">
 It's still the same. The link right next to where it says "release notes" is wrong for r2.12 and r2.11 Hi @grofte ,

I have checked all the 3 nos of marked release notes (2.13, 2.12 and 2.11 respectively) in the below snapshot and its working fine and pointing to Release notes of respective version.


<img width="1456" alt="Screenshot 2023-08-01 at 10 19 36 AM" src="https://github.com/tensorflow/tensorflow/assets/116063290/fb12ad64-5a59-4450-855a-21c77c62b6e7">
 This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61429">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61429">No</a>
 I give up. I noticed that the release note links of 2.14v and 2.13v both are pointing to 2.12v release notes.Submitting an internal fix for this. @grofte ,

The fix has been merged and now I can see correct links for each version release notes. Could you please verify and close the issue now?

Thank you! If I click r2.13, r2.12, or r2.11 they still lead to the 2.14 API documents.

If I click r2.11 it leads to 

https://www.tensorflow.org/api_docs/python/tf

but it should lead to

https://www.tensorflow.org/versions/r2.11/api_docs/python/tf  Hi @grofte ,

Are you referring to the below link marked ?

<img width="1331" alt="Screenshot 2023-10-18 at 8 13 37 PM" src="https://github.com/tensorflow/tensorflow/assets/116063290/e2022620-4f4f-4fe6-878e-cfaf10ff0c23">



 It is redirecting to Tf2.13.v link attached below.

https://www.tensorflow.org/versions/r2.13/api_docs/python/tf

Please confirm.
 ![image](https://github.com/tensorflow/tensorflow/assets/7976840/bd5aa265-9d7e-4378-a658-0743b3bf722f)

These three point to current version of docs (which is wrong). The ones not underlined point to the relevant version of the docs. I expect that once version 2.15 is released the same problem will happen for 2.14,  i.e. that it will not point to the docs for version 2.14 but instead still point to current docs. Hi @grofte ,

The issue being addressed in #62389. I have submitted a fix for this today. Will update you once it merged. Thanks! @grofte,
There was an internal issue raised for tracking the same issue and it got resolved now. Could you please try to access any Keras in the Tensorflow.org page, now it is able to re-direct to correct source code. Please check and confirm if it is working in your case.
https://www.tensorflow.org/api_docs/python/tf/keras/Model
https://github.com/keras-team/keras/blob/v3.3.3/keras/src/models/model.py#L32-L548

Thank you!


Example:

if I go here https://www.tensorflow.org/api_docs/python/tf/keras/Model

and click source code I get to a 404 here https://github.com/keras-team/keras/tree/v2.13.1/keras/src/engine/training.py#L70-L3991

And it's the same no matter what version of the API docs I click from.  
Speaking of, if you go to https://www.tensorflow.org/versions then the 2.12 and 2.11 links don't point to those versions of the API docs. They go to the current versions. Unless you use the links in the left side bar - those are still okay. Except that there's no link to the current version - which is 2.13.