Marked as resolved. Can Sphinx add custom style to a certain kind of
links? Regex matching doesn't look like a effective solution to me.
$(document).ready(function() {
$("a[href^='http']").attr('target','_blank');
});
On Sun, Dec 14, 2014 at 5:57 AM, Takayuki Shimizukawa
<[email protected]> wrote:
> Hi,
> Please refer https://bitbucket.org/birkenfeld/sphinx/issue/1634/
>
> On Sat Dec 13 2014 at 21:46:23 anatoly techtonik <[email protected]>
> wrote:
>>
>> On Saturday, September 29, 2012 10:58:43 PM UTC+3, Michelle Wetzler wrote:
>>>
>>> I want to do the same thing as Alyssa. I think users will prefer to open
>>> additional doc pages in new tabs so that they do not lose their spot in our
>>> guide. They might not know the key command to open links in new tabs.
>>>
>>> I would use target="_blank" in HTML to do this. Is there still no way to
>>> do it in Sphinx?
>>
>>
>> I am third that. Need external links from docs to be opened in new window.
>>
>>> On Thursday, July 2, 2009 2:16:48 AM UTC-7, Georg Brandl wrote:
>>>>
>>>> links with an explicit "new window" target are deprecated in HTML; it
>>>> should be the choice of the user where to open the link.
>>
>> Brought them back after 5 years.
>>
>> https://stackoverflow.com/questions/4198788/is-it-alright-use-to-target-blank-in-html5
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sphinx-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sphinx-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sphinx-users/NnZVh2X79co/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
--
anatoly t.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.