{# Enhanced breadcrumbs for scientific documentation navigation #}
{# Standard breadcrumb trail #} {# Module hierarchy for API docs #} {% if pagename.startswith('api/solarwindpy.') %}
{% set module_name = pagename.replace('api/', '').replace('.rst', '') %} {% set module_parts = module_name.split('.') %} Module: {% for i in range(module_parts|length) %} {% set partial_module = '.'.join(module_parts[:i+1]) %} {% if i < module_parts|length - 1 %} {{ module_parts[i] }} . {% else %} {{ module_parts[i] }} {% endif %} {% endfor %}
{% endif %} {# Quick action buttons #}