Re: [sphinx-users] Using pipe instead of hyphens in browser tab

2018-07-14 Thread Aaron Carlisle
Hi,

What Komiya was saying is that you can override this with theme templates
see this line in the default theme:
https://github.com/sphinx-doc/sphinx/blob/master/sphinx/themes/basic/layout.html#L124

You can extend the theme and write something like:

{%- if not embedded and docstitle %}
  {%- set titlesuffix = "  "|safe + docstitle|e %}
{%- else %}
  {%- set titlesuffix = "" %}
{%- endif %}

I am not that familiar with SEO but if using "|" is the convention I can
send a PR for you.

Hope this helps,

Aaron Carlisle

On Mon, Jul 9, 2018 at 6:25 PM Barbara Snyder  wrote:

> Renato, I am the doc writer for SignalFx.
>
> Takeshi, there is nothing like this in my template (which I did not
> create). I tried to add it but it isn't working. So it must be a sphinx
> default somewhere. It shows the doc name, then em dash, then the default
> " v documentation".
>
> I tried replacing my layout.html with the default one you linked to, but
> that led to errors like "css_tag undefined" which prevented the build from
> completing.
>
> We are happy to hire someone to fix this for us but have not been able to
> find anyone in prior searches for a contractor to provide various
> customization additions for us. If anyone reading this message believes
> they can help, please contact me directly.
>
> Thanks -- Barbara
>
>
> On Sunday, July 8, 2018 at 2:36:53 AM UTC-7, Komiya Takeshi wrote:
>>
>> Hi Barbara,
>>
>> The hyphen is defined as template variable of basic template.
>> It might be able to override it on your template. Please try it :-)
>>
>> https://github.com/sphinx-doc/sphinx/blob/1140e81df7ee9df1135ef9f35302ffd72d5bd764/sphinx/themes/basic/layout.html#L23-L27
>> 
>>
>> Thanks,
>> Takeshi KOMIYA
>>
>> 2018-07-07 8:14 GMT+09:00 Barbara Snyder :
>>
>>> Hello --
>>>
>>> My SEO folks have asked me to change our implementation at
>>> docs.signalfx.com so the browser tabs show pipes | instead of hyphens.
>>>
>>> So instead of a tab looking like this:
>>>
>>>
>>> 
>>>
>>> It would look like this:
>>>
>>> Concepts | SignalFx 1.0 etc
>>>
>>> I can't find where the styling and content for the tab is specified. Any
>>> help would be appreciated.
>>>
>>> Thanks -- Barbara
>>>
>>> --
>>> 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.
>>>
>>
>> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to sphinx-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Aaron Carlisle

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.


Re: [sphinx-users] Using pipe instead of hyphens in browser tab

2018-07-09 Thread Barbara Snyder
Renato, I am the doc writer for SignalFx.

Takeshi, there is nothing like this in my template (which I did not 
create). I tried to add it but it isn't working. So it must be a sphinx 
default somewhere. It shows the doc name, then em dash, then the default 
" v documentation".

I tried replacing my layout.html with the default one you linked to, but 
that led to errors like "css_tag undefined" which prevented the build from 
completing.

We are happy to hire someone to fix this for us but have not been able to 
find anyone in prior searches for a contractor to provide various 
customization additions for us. If anyone reading this message believes 
they can help, please contact me directly.

Thanks -- Barbara


On Sunday, July 8, 2018 at 2:36:53 AM UTC-7, Komiya Takeshi wrote:
>
> Hi Barbara,
>
> The hyphen is defined as template variable of basic template.
> It might be able to override it on your template. Please try it :-)
>
> https://github.com/sphinx-doc/sphinx/blob/1140e81df7ee9df1135ef9f35302ffd72d5bd764/sphinx/themes/basic/layout.html#L23-L27
>  
> 
>
> Thanks,
> Takeshi KOMIYA
>
> 2018-07-07 8:14 GMT+09:00 Barbara Snyder  >:
>
>> Hello --
>>
>> My SEO folks have asked me to change our implementation at 
>> docs.signalfx.com so the browser tabs show pipes | instead of hyphens.
>>
>> So instead of a tab looking like this:
>>
>>
>> 
>>
>> It would look like this:
>>
>> Concepts | SignalFx 1.0 etc
>>
>> I can't find where the styling and content for the tab is specified. Any 
>> help would be appreciated.
>>
>> Thanks -- Barbara
>>
>> -- 
>> 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.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.


Re: [sphinx-users] Using pipe instead of hyphens in browser tab

2018-07-08 Thread Komiya Takeshi
Hi Barbara,

The hyphen is defined as template variable of basic template.
It might be able to override it on your template. Please try it :-)
https://github.com/sphinx-doc/sphinx/blob/1140e81df7ee9df1135ef9f35302ffd72d5bd764/sphinx/themes/basic/layout.html#L23-L27

Thanks,
Takeshi KOMIYA

2018-07-07 8:14 GMT+09:00 Barbara Snyder :

> Hello --
>
> My SEO folks have asked me to change our implementation at
> docs.signalfx.com so the browser tabs show pipes | instead of hyphens.
>
> So instead of a tab looking like this:
>
>
> 
>
> It would look like this:
>
> Concepts | SignalFx 1.0 etc
>
> I can't find where the styling and content for the tab is specified. Any
> help would be appreciated.
>
> Thanks -- Barbara
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to sphinx-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.


Re: [sphinx-users] Using pipe instead of hyphens in browser tab

2018-07-07 Thread Renato Pontefice
Hi Barbara,
I don’t understand your message.
I drove to signal Fix, but I do not understund what you have to do with it.

What do you have to do with signal fix?

Renato

> Il giorno 07 lug 2018, alle ore 01:14, Barbara Snyder  
> ha scritto:
> 
> Hello --
> 
> My SEO folks have asked me to change our implementation at docs.signalfx.com 
> so the browser tabs show pipes | instead of hyphens.
> 
> So instead of a tab looking like this:
> 
>  
> 
> 
> It would look like this:
> 
> Concepts | SignalFx 1.0 etc
> 
> I can't find where the styling and content for the tab is specified. Any help 
> would be appreciated.
> 
> Thanks -- Barbara
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to sphinx-users@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/sphinx-users 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.