Add cross-repo code navigation docs.
This patch documents the expected behavior of the cross-repository code navigation feature for Python, including a screenshot of the associated UI. Do not merge/publish until this feature is GA'd at Universe. Part of https://github.com/orgs/github/projects/1799.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
@@ -67,6 +67,12 @@ If you don't see the results you expect from a precise code navigation query, yo
|
||||
|
||||
If your precise results appear inaccurate, you can file a support request.
|
||||
|
||||
## Cross-repository precise code navigation
|
||||
|
||||
Languages that support precise code navigation support cross-repo requests. Thanks to cross-repo code navigation and the GitHub dependency graph, jump-to-definition requests for functions or variables defined in libraries used in your projects behave just like requests for entities defined in that project. By importing a function or variable from a third-party library hosted on Github, and then issuing a jump-to-definition request for that function or variable, you can click on the cross-repo result to its definition in the defining third-party library.
|
||||
|
||||

|
||||
|
||||
## Troubleshooting code navigation
|
||||
|
||||
If code navigation is enabled for you but you don't see links to the definitions of functions and methods:
|
||||
|
||||
Reference in New Issue
Block a user