.. 各種Sphinx拡張 documentation master file, created by sphinx-quickstart on Fri Jul 3 05:11:33 2015. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. 各種Sphinx拡張 / Sphinx Extensions ================================== 自作のSphinx拡張をここに配置しています / Here's my extension lists. sphinx_html5_basic_theme_ 現在のSphinxによるHTML出力は4.01準拠ですが、これをHTML5対応にするための土台を提供しています。 html5_basicのほかにhtml5_sphinxdocも用意しています。 gosyu使用例_ や 姫踊子草_ で実用例をご覧になれます。 HTML5 versions of html theme 'basic' and 'sphinxdoc'. Examples are shown at gosyu使用例_ or 姫踊子草_ (written in Japanese). unicode_ids_ 現在のSphinxではURLを強引にASCII文字列の範囲に捻じ曲げてしまうところをページ名・ページ内リンク ともに日本語を維持するように修正する拡張です。 gosyu使用例_ や 姫踊子草_ で実用例をご覧になれます。 Force Sphinx to make the url with non-English characters, both url of pages and anchors in pages. Examples are shown at gosyu使用例_ or 姫踊子草_ (written in Japanese). yogosyu_ 現在のSphinxではできない、用語集内の五十音配置を実現するための拡張です。 :code:`.. index::` を :code:`.. yogosyu::` に置き換え、またいくつかの設定を行うことで実現します。 総合索引 :file:`genindex.html` 内も五十音の行毎に並べ直す :file:`user_ordered_index_patch` もあります。 姫踊子草_ で実用例をご覧になれます。 Make general index(:file:`genindex.html`) sorted by user defined order, especially non-English languages. Example is shown at 姫踊子草_ (written in Japanese). gosyu_ yogosyuと同じ目的で作られた拡張ですが、Sphinx側が用意している独自索引の設置機能を利用しています。 :code:`.. gosyu::` で定義した各用語は総合索引ではなく独自の索引ファイルに収まります。 その代わり、いくらかSphinxやdocutilsの変化に強くなっています。 gosyu使用例_ で実用例をご覧になれます。 The another implementation of yogosyu above. Using domain index feature defined by Sphinx. This means more stable than yogosyu against future changes of Sphinx or docutils. Example is shown at gosyu使用例_ (written in Japanese). sortorder_ yogosyuおよびgosyuの土台となるPythonモジュールです。pipでそれらを設置した時は自動的に追加されます。 Base module of yogosyu and gosyu above. Automatically installed when you use pip with them. .. _sphinx_html5_basic_theme: ./html5_basic_theme/index.html .. _unicode_ids: ./unicode_ids/index.html .. _yogosyu: ./yogosyu/index.html .. _gosyu: ./gosyu/index.html .. _sortorder: ./sortorder/index.html .. _gosyu使用例: ./gosyu使用例/index.html .. _姫踊子草: https://h12u.com/hmo2/manual/index.html 古い版 / Older version ====================== - `PyPI公開以前の用語集拡張 / Old Yogosyu and etc <./user_defined_sort_order/index.html>`_ - `2015-03-16 version <./Yogosyu_20150316.zip>`_, for Sphinx 1.3 - `2013-12-17 version <./Yogosyu_20131217.zip>`_ - `2013-12-14 version <./Yogosyu_20131214.zip>`_ - 古いページ / Old pages .. toctree:: index_en index_ja