私は最初にテーブルを持っており、SphinxでHTMLにコンパイルするときにクラスを追加したいと思います。 the docsによれば、テーブルの前に.. class::
ディレクティブを追加すると、クラスがテーブルに追加されるはずですが、代わりに定義リストが追加されます。スフィンクスのテーブルにクラスを追加しますか?
テーブルコードは次のとおりです。
になり.. class:: special
== == ==
a b c
1 2 3
== == ==
:私は間違って何をやっている
<dl class="class">
<dt id="special">
<em class="property">class </em><code class="descname">special</code><a class="headerlink" href="#special" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<table border="1" class="docutils">
<colgroup>
<col width="33%" />
<col width="33%" />
<col width="33%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td>a</td>
<td>b</td>
<td>c</td>
</tr>
<tr class="row-even"><td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
?私はSphinx 1.3.1を使用しています
恐縮です! – naught101