Skip to content

Commit

Permalink
Solve the whitespace missing bug (apache#708)
Browse files Browse the repository at this point in the history
This commit attempts to resolve this issue: apache/airflow#24962
When there are more than 2 menu items, the documentation only shows whitespace after '/' in the current page, not in any parent pages.
  • Loading branch information
Akshay-samsung authored Dec 5, 2022
1 parent 33e8002 commit b4efb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_airflow_theme/sphinx_airflow_theme/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ _('Home') }}</a></li>
{% for doc in parents %}
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
<li class="breadcrumb-item"><a href="{{ doc.link|e }}"> {{ doc.title }}</a></li>
{% endfor %}
<li class="breadcrumb-item"><a href="{{ pagename.split('/')[-1] }}{{ file_suffix }}"> {{ title }}</a></li>
{% endblock %}
Expand Down

0 comments on commit b4efb1d

Please sign in to comment.