pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
601 stars 314 forks source link

Breadcrumbs cannot deal with numbered sections correctly #1650

Closed Charlie-XIAO closed 8 months ago

Charlie-XIAO commented 8 months ago

When section is numbered, e.g.

.. toctree::
   :numbered:

the title would become <span class="section-number">#. </span>Actual Title. Directly truncating this string to 15 characters makes it a mess, as shown below.

image

The change in #1583 should solve this as a side effect, but seems that it got stuck somewhere.

drammock commented 8 months ago

Duplicate of #1624