ansys / ansys-sphinx-theme

PyData-based Sphinx theme from the PyAnsys community
https://sphinxdocs.ansys.com
MIT License
22 stars 5 forks source link

Incorrect Formatting for Nested Projects #329

Closed da1910 closed 9 months ago

da1910 commented 9 months ago

Projects within the "Shared Components" section have two parent pages, the root pyansys docs, and the Shared Components docs. This is not correctly rendered with theme version 0.12.5 or with 0.12.2:

image

Available at https://openapi.docs.pyansys.com/index.html also

I expect the correct delimiter between the first two elements, not a single unspaced slash.

html_theme_options = {
    "github_url": "https://github.com/pyansys/openapi-common",
    "show_prev_next": False,
    "show_breadcrumbs": True,
    "additional_breadcrumbs": [
        ("PyAnsys Documentation", "https://docs.pyansys.com"),
        ("Shared Components", "https://shared.docs.pyansys.com")
    ]
}

This is the relevant snippet from our conf.py file

Revathyvenugopal162 commented 9 months ago

Thanks for opening the issue @da1910 , i will look in to it and update the breadcrumbs.