Re: About smart-quotes in translations
Julien Palard via Doc-SIG <[email protected]> Mon, 17 Sep 2018 14:56:35 +0000
| Newsgroups | gmane.comp.python.documentation |
|---|---|
| Message-ID | <PRFpQlSGn_M5HnlxmWbdzU9tn6NvF5Eji6s5ePw7Yg3PLoACJYPeDa3BHraGvK08Il9V1IZwTL1jDxp-F_PVe7aRc4ohdqNWdT8ir71qgpE=@palard.fr> |
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 <[email protected]> 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 _______________________________________________ Doc-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/doc-sig