Skip to content

Commit 309bb95

Browse files
committed
for categories that have an examples page, breadcrumb is updated to link there. otherwise it will link to /python/#category
1 parent 493aa23 commit 309bb95

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

_data/display_as.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ signal-analysis:
1111
reference: '#signal-analysis'
1212
text: Signal Analysis
1313
file_settings:
14-
reference: '#fundamentals'
14+
reference: 'plotly-fundamentals'
1515
text: Plotly Fundamentals
1616
basic:
17-
reference: '#basic-charts'
17+
reference: 'basic-charts'
1818
text: Basic
1919
statistical:
20-
reference: '#statistical-charts'
20+
reference: 'statistical-charts'
2121
text: Statistical
2222
scientific:
23-
reference: '#scientific-charts'
23+
reference: 'scientific-charts'
2424
text: Scientific
2525
financial:
2626
reference: '#financial-charts'
2727
text: Financial
2828
maps:
29-
reference: '#maps'
29+
reference: 'maps'
3030
text: Maps
3131
3d_charts:
32-
reference: '#3d-charts'
32+
reference: '3d-charts'
3333
text: 3D
3434
multiple_axes:
35-
reference: '#multiple-axes-subplots-and-insets'
35+
reference: 'subplot-charts'
3636
text: Subplots
3737
transforms:
3838
reference: '#transforms'

_includes/breadcrumb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% assign langue = 'javascript' %}
4545
{% endif %}
4646
<li class="--breadcrumb-item">
47-
<a href="/{{ display_as.reference | prepend: langue }}">
47+
<a href="/{{ display_as.reference | prepend: "/" | prepend: langue }}">
4848
<span>{{ display_as.text }}</span>
4949
</a>
5050
</li>

0 commit comments

Comments
 (0)