Skip to content

Commit 7af2e11

Browse files
authored
remove code nav from bitbucket extension docs (#1152)
See https://sourcegraph.slack.com/archives/C05EMJM2SLR/p1747950678213499?thread_ts=1747950304.392389&cid=C05EMJM2SLR ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
1 parent 3708737 commit 7af2e11

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

docs/integration/bitbucket_server.mdx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ Site admins can [configure Sourcegraph to respect Bitbucket Server / Bitbucket D
2222

2323
We recommend installing the Sourcegraph Bitbucket plugin which adds the following features to your Bitbucket Server / Bitbucket Data Center instance:
2424

25-
- **Native code navigation**: users don't need to install the [Sourcegraph browser extension](#browser-extension) to get hover tooltips, go-to-definition, find-references, and code search while browsing files and viewing pull requests on Bitbucket Server / Bitbucket Data Center.
2625
- **Fast permission syncing** between Sourcegraph and Bitbucket Server / Bitbucket Data Center
2726
- **Webhooks with configurable scope**, which are used by and highly recommended for usage with [batch changes](/batch-changes/)
2827

29-
![Bitbucket Server / Bitbucket Data Center code navigation](https://sourcegraphstatic.com/bitbucket-code-intel-pr-short.gif)
30-
3128
### Installation and requirements
3229

3330
Install the Sourcegraph plugin for Bitbucket from the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/1231975/sourcegraph-for-bitbucket?tab=overview&hosting=datacenter) or see the [bitbucket-server-plugin](https://github.com/sourcegraph/bitbucket-server-plugin) repository for instructions on how to manually install the plugin on your Bitbucket Server / Bitbucket Data Center instance.
@@ -72,12 +69,6 @@ In order to update the plugin, follow the same steps as for installing it, which
7269

7370
When the Sourcegraph instance connected to the Bitbucket Server plugin is updated, so will the code that's fetched by the plugin to enable native code navigation. No manual steps required. (See the [Technical Details](#technical-details) section on how this works.)
7471

75-
### Native code navigation
76-
77-
Once the plugin is installed and the **Sourcegraph URL** is set under **Administration > Add-ons > Sourcegraph**, native code navigation is enabled when browsing code or pull requests on your Bitbucket Server / Bitbucket Data Center instance.
78-
79-
To disable native code navigation, simply set **Sourcegraph URL** to an empty value. Note that this will also disable [Webhooks](#webhooks)!
80-
8172
### Webhooks
8273

8374
Once the plugin is installed, go to **Administration > Add-ons > Sourcegraph** to see a list of all configured webhooks and to create a new one.
@@ -104,22 +95,6 @@ This section provides some technical insight into the Bitbucket Server plugin to
10495

10596
You can find the full source code for the plugin at [github.com/sourcegraph/bitbucket-server-plugin](https://github.com/sourcegraph/bitbucket-server-plugin/).
10697

107-
#### Native code navigation
108-
109-
The Bitbucket Server plugin provides **native code navigation** without users having to install the [Sourcegraph browser extension](/integration/browser_extension).
110-
111-
It does that by fetching the required JavaScript code from the configured Sourcegraph instance and injecting it into the HTML that the Bitbucket Server / Bitbucket Data Center instance serves. See the [`sourcegraph-bitbucket.js`](https://github.com/sourcegraph/bitbucket-server-plugin/blob/master/src/main/resources/js/sourcegraph-bitbucket.js) file for how it does that.
112-
113-
The code that's injected is the code of the [Sourcegraph browser extension](#browser-extension). It is hosted by your Sourcegraph instance in this case and adds the same code navigation functionality to all files and pull requests viewed on Bitbucket Server / Bitbucket Data Center.
114-
115-
The code only talks to the Sourcegraph instance that's configured in the Bitbucket Server plugin configuration. It doesn't add any more load to the Bitbucker Server instance.
116-
117-
No private code, private repository names, usernames, or any other specific data is sent somewhere else. The code will send usage information to the connected private Sourcegraph instance only, so that the site admins can see usage statistics.
118-
119-
If it failed to load or talk to the Sourcegraph instance, messages are logged to the browser console.
120-
121-
When the Sourcegraph instance is updated to a newer version, the embedded browser extension code that provides the native code navigation may also be updated.
122-
12398
#### Webhooks
12499

125100
Bitbucket Server / Bitbucket Data Center natively only [provides **per-repository** webhooks](https://confluence.atlassian.com/bitbucketserver/managing-webhooks-in-bitbucket-server-938025878.html).

0 commit comments

Comments
 (0)