Last active
September 6, 2015 00:33
-
-
Save shimizukawa/c4fd29b349fba72b2836 to your computer and use it in GitHub Desktop.
Sphinx 英語MLにきた質問 2015/09/06
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YAPSYモジュール短縮語(abbreviation)をモジュールページにリンクしたくて、 | |
それを置換(substitution)記法で表現したいと思っています。 | |
以下のように書いたところエラーになりました。 | |
blah blah |yapsy| blah. | |
.. |yapsy| replace:: `YAPSY <https://yapsy.sourceforge.net/>`_ | |
エラーは以下の内容です。 | |
./controllingoptions.rst:36: ERROR: Substitution definition contains illegal element: | |
<target ids="yapsy" names="yapsy" refuri="https://yapsy.sourceforge.net/"> | |
.. |yapsy| replace:: `YAPSY <https://yapsy.sourceforge.net/>`_ ./controllingoptions.rst:12: ERROR: Undefined substitution referenced: "yapsy". | |
短縮語だけであれば、以下のように書けば正しくビルドできました。 | |
.. |yapsy| replace:: :abbr:`YAPSY (Yet Another Plugin SYstem)` | |
Sphinx-1.3.1で、短縮語をリンクするような置換を書くことはできますか? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
原文と答えはこちら https://groups.google.com/d/msg/sphinx-users/DDO07AA2w-c/s9hwXWVvAAAJ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment