CentOSにSphinxを入れる。
なにかいいドキュメント作成ツールはないものかと
探していたところSphinxというツールにたどりついたので
とりあえず試しに入れてみました。
Mac OS X, Linuxへのインストール — Python製ドキュメンテーションビルダー、Sphinxの日本ユーザ会
Macの場合は
$ sudo port install py27-sphinx
だけです。
CentOSの場合はもう少し手順を踏む必要があります。
まず、必要に応じてepelのリポジトリを有効にする必要があります。
$ rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
$ yum install -y python-pip python-setuptools Trying other mirror. epel | 4.4 kB 00:00 epel/primary_db | 5.1 MB 00:01 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python-pip.noarch 0:1.3.1-4.el6 will be installed ---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed --> Finished Dependency Resolution
$ pip-python install sphinx
でインストール完了します。
ただ渡しの場合は
The C extension could not be compiled, speedups are not enabled.
というよくわからない警告が発生していました。
警告なので問題なくインストールできているみたいのなですが
調査が必要かなぁとも思います。
何かわかれば追記します。