How to use GitHub code navigation from browser?

浪子不回头ぞ 提交于 2020-12-29 09:32:04

问题


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?


回答1:


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.




回答2:


Private Repositories are not currently being indexed for Code Navigation. Currently, Code Navigation indexing is being performed on Public Repositories and will be rolled out to Private Repositories over time.



来源:https://stackoverflow.com/questions/59256113/how-to-use-github-code-navigation-from-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!