Skip to content

Commit ba367cd

Browse files
Merge pull request #27044 from carlosgmartin:add_breadcrumbs_to_docs
PiperOrigin-RevId: 736283028
2 parents 12c0987 + bc43b00 commit ba367cd

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/_static/style.css

+10
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,13 @@ html[data-theme="light"] .highlight span.gt {
296296
html[data-theme="light"] .highlight span.gr {
297297
color: #ff0000;
298298
}
299+
300+
.header-article-items__start {
301+
display: flex;
302+
flex-direction: row;
303+
gap: 0.5em;
304+
}
305+
306+
.bd-breadcrumbs {
307+
margin-bottom: 0;
308+
}

docs/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def _do_not_evaluate_in_jax(
172172
'repository_url': 'https://github.com/jax-ml/jax',
173173
'use_repository_button': True, # add a "link to repository" button
174174
'navigation_with_keys': False,
175+
'article_header_start': ['toggle-primary-sidebar.html', 'breadcrumbs'],
175176
}
176177

177178
# The name of an image file (relative to this directory) to place at the top

0 commit comments

Comments
 (0)