Add navigation breadcrumbs to docs.

This commit is contained in:
carlosgmartin 2025-03-12 16:52:34 -04:00
parent affe2e734e
commit bc43b00d8f
2 changed files with 11 additions and 0 deletions

View File

@ -296,3 +296,13 @@ html[data-theme="light"] .highlight span.gt {
html[data-theme="light"] .highlight span.gr {
color: #ff0000;
}
.header-article-items__start {
display: flex;
flex-direction: row;
gap: 0.5em;
}
.bd-breadcrumbs {
margin-bottom: 0;
}

View File

@ -172,6 +172,7 @@ html_theme_options = {
'repository_url': 'https://github.com/jax-ml/jax',
'use_repository_button': True, # add a "link to repository" button
'navigation_with_keys': False,
'article_header_start': ['toggle-primary-sidebar.html', 'breadcrumbs'],
}
# The name of an image file (relative to this directory) to place at the top