[Doc-SIG] About smart-quotes in translations

Julien Palard julien at palard.fr
Mon Sep 17 10:56:35 EDT 2018


Hi Adrian,

I like this approach too, I can modify my PR, or would you open a PR with your test Adrian? I'll appreciate if you add 'fr' in the exclude list, we just got bitten by this issue too.

--
Julien Palard
https://mdk.fr

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, September 17, 2018 9:37 AM, Adrian Liaw <adrianliaw2000 at gmail.com> wrote:

> Hi Julien,
>
> It works perfectly, thank you so much for creating the PR!
>
> Hi cocoatomo,
>
>> Sphinx now has the option "smartquotes_excludes" in conf.py that disablesmartquotes directly.
>> This option might be better, because this enables more detailed and straightforward configuration.
>
> Thanks for the information, I've tried adding a line of smartquotes_excludes = {'languages': ['ja', 'zh_TW'], 'builders': ['man', 'text']} in the conf.py of my local CPython clone (and removing the docutils.conf) and it works perfectly.  Maybe it's a good idea to adapt this approach.
>
> Best Regards,
> --
> Wey-Han "Adrian" Liaw (@adrianliaw2000)
> https://linkedin.com/in/adrianliaw
> https://github.com/adrianliaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/doc-sig/attachments/20180917/af0e3fd4/attachment.html>


More information about the Doc-SIG mailing list