Kenji Suzuki
kenji****@gmail*****
2011年 10月 7日 (金) 10:51:57 JST
Kenji です。 On Fri, 7 Oct 2011 08:53:33 +0900 Fumito Mizuno <ounzi****@gmail*****> wrote: > 水野です。 > > html2rest.py を少しいじりました。 > ■ python -> php へ変更 > ■ 元のHTMLで<code>で括ってあるので、pre -> code へ変更 > > ● コード (Kenjiさんのものをフォークして書き換えた) > https://gist.github.com/1269027 > 32: CODEBLOCK = '.. sourcecode:: php' > 224: def start_code(self, attrs): > 232: def end_code(self): > > ● date helper に適用してみたサンプル > http://php-web.net/ci_sample/ja.html > http://codeigniter.sourceforge.jp/kenji/html/helpers/date_helper.html さらに少し改良しました。 https://github.com/codeigniter-jp/html2sphinx/commit/156a9d56f9596c6dfe028b0613270a1bbe54dc4a http://codeigniter.sourceforge.jp/kenji/html/helpers/date_helper.html も更新しました。 それから、rst への変換ですが、目標はなるべく本家の rst に形式を合わせる ことです。そのように修正をお願いします。 > みなさん // Kenji