サードパーティのテーマ¶
サードパーティのテーマもあります。
Read the Docs theme for Sphinx¶
readthedocs.org用に作られたテーマです。 pipでインストールできます。
> pip install sphinx_rtd_theme
pipでインストールしたら、プロジェクトのルートディレクトリにあるconf.pyのhtml_themeのところを下記のように書き換えます。
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
このテーマにすると、このような表示になります。
