-
Notifications
You must be signed in to change notification settings - Fork 7
引用符から鉤括弧への変換に不具合がある #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
日本語で smart quotes を使うのは問題があるので、この機能を無効にすることで対応するつもりでいる。 具体的には、Sphinx プロジェクトのルートディレクトリに次の内容を含む
ref. http://docutils.sourceforge.net/docs/user/config.html#smart-quotes ただし、smart quotes を無効にすると、引用符 ( |
@methane 対応方法について問題無いか確認してもらえますか? |
これ、同じディレクトリで複数言語をビルドしている場合に、日本語だけで smart_quotes:no する方法はありますか? |
方法が1つ見付かりました。
これは括弧についてだけの設定なので、 実験結果repository URL: https://github.com/python-doc-ja/cpython-doc-intl.git 日本語、smart quotes 有効、docutils.conf 無しビルドコマンド: 画面キャプチャフランス語、smart quotes 有効、docutils.conf 無しビルドコマンド: 画面キャプチャ日本語、smart quotes 有効、docutils.conf 有ビルドコマンド: 画面キャプチャフランス語、smart quotes 有効、docutils.conf 有ビルドコマンド: 画面キャプチャ |
Opened a PR on cpython after a full test build: python/cpython#4006 |
問題が全て解決したのでクローズ |
ref. sphinx-doc/sphinx#4142
HTML へのビルドを行うと、この訳文 (https://github.com/python-doc-ja/py36-locale/blob/master/ja/LC_MESSAGES/bugs.po#L122) に含まれる
"Title"
が」Title」
に変換されるという不具合がある。#771 のと類似の事象だが、こちらは段落の文字列なので Sphinx 1.6.4 でも smart quotes による変換対象となってしまう。
The text was updated successfully, but these errors were encountered: