Answer a question

I want to take advantage of GitHub's code navigation features on the browser but I am getting this error message at the top of the Python code:

Code navigation is available for this repository but data for this commit does not exist.

When it works successfully it says:

You're using code navigation to jump to definitions or references.

Could somebody help me understand what this message means?

Answers

Considering Code Navigation was released in limited public beta for select repositories earlier this year, and available on Python repositories since last November, it is possible your repository (assuming it has commits) was not yet scanned, especially if it is fairly recent.

Plus, the help page mentions:

Code navigation works for active branches.
If the feature is enabled for you but you don't see links to the definitions of functions and methods, push to the branch and try again.


Q1 2022: precise code navigation is now also active for Java, Javascript and Typescript.

See github/roadmap issue 371.

Logo

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!

更多推荐