Skip to content

Commit ace3e77

Browse files
committed
Link to Sourcegraph for crate_details "Source" tab
1 parent a46af5d commit ace3e77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: templates/header/package_navigation.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ <h1 id="crate-title">
4949
</a>
5050
</li>
5151

52-
{# The source view tab #}
52+
{# The view tab #}
5353
<li class="pure-menu-item">
54-
<a href="/crate/{{ crate_path | safe }}/source/"
54+
<a href="https://sourcegraph.com/crates/{{ metadata.name }}@v{{ metadata.version }}"
5555
class="pure-menu-link{% if active_tab == 'source' %} pure-menu-active{% endif %}">
5656
{{ "folder-open" | far(fw=true) }}
5757
<span class="title"> Source</span>

0 commit comments

Comments
 (0)