Can I use aliases in the Breadcrumbs or relbar?

31 views
Skip to first unread message

Sharon Kirkham

unread,
Aug 23, 2019, 6:38:18 AM8/23/19
to sphinx-users
Hi all

I'm producing HTML output and most things work great. However I have some long title headings on my pages that I would like to shorten in the breadcrumbs that appear at the top of the child pages. I would like them to match the "alias" that I use in the toc tree is this possible?. Below are my rst files

Regards 
Sharon

This is the main index.rst. It contains the alias for the Test Section that has the long title heading

Kognitio 8.2.3 Documentation Testing
==========================================

This is a test index

.. toctree::
   :maxdepth: 1

   Test section <test/test>


This is the test/test.rst that is the next level down with the long title:

Test Section with a very very long title
========================================

These pages are in the test section

.. toctree::
   :maxdepth: 1

   testpage



This is the page with the breadcrumb:
Test Page
=========

This is the test page.

Here is an image of how it renders. I would like the breadcrumb to be Kognitio 8.2.3 Documentation > Test Section"  

breadcrumb.png






Reply all
Reply to author
Forward
0 new messages