How do I set the name of the first item in the breadcrumbs?

177 views
Skip to first unread message

Ranjith Ramachandra

unread,
Jan 21, 2019, 12:23:19 PM1/21/19
to sphinx-users

Hi everyone,


I have a sphinx docs project. I have styled the rtd theme.


I was trying to set the first word in the breadcrumbs. Look at screenshot below




Screenshot 2019-01-21 at 10.08.55 PM.png


How do I change it to something like "Mammoth Help" instead of "docs"? Only way I can think of is to do it with css because I can not find the right variable in the sphinx docs, conf.py nor html_theme_options in the rtd docs. Am I missing something? 





Komiya Takeshi

unread,
Jan 24, 2019, 11:06:28 AM1/24/19
to sphinx...@googlegroups.com
Unfortunately, the  "Docs" string is embedded directly into the theme. It seems no way to change it in proper way.

The way to do that is inherit and customize the theme.

Thanks,
Takeshi KOMIYA

2019年1月22日(火) 2:23 Ranjith Ramachandra <ranj...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
To post to this group, send email to sphinx...@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Ranjith Ramachandra

unread,
Jan 24, 2019, 11:33:18 AM1/24/19
to sphinx...@googlegroups.com
Ah! Okay. Thanks
--
Ranjith Ramachandra
Staff Engineer at mammoth.io

Jeff McKenna

unread,
Jun 4, 2020, 11:11:00 AM6/4/20
to sphinx...@googlegroups.com
Note that this has been added into the 0.5.0rc1 release of sphinx-rtd-theme : well, instead of "Docs" it now defaults to a home icon, which is much better I believe.  Give it a try!  (see https://github.com/readthedocs/sphinx_rtd_theme/pull/774 )  

-jeff



Reply all
Reply to author
Forward
0 new messages