add 'toc-tree' for Sphinx

This commit is contained in:
twabiko 2015-08-04 22:40:27 +09:00
parent 59fcc690bc
commit 6340f55102

View File

@ -64,21 +64,26 @@ snippet sid:
snippet tod: snippet tod:
.. todo:: .. todo::
${0} ${0}
snippet tod: snippet lis:
.. list-table:: ${0:Title} .. list-table:: ${0:Title}
:header-rows: 1 :header-rows: 1
:stub-columns: 1 :stub-columns: 1
* - x1,y1 * - x1,y1
- x2,y1 - x2,y1
- x3,y1 - x3,y1
* - x1,y2 * - x1,y2
- x2,y2 - x2,y2
- x3,y2 - x3,y2
* - x1,y3 * - x1,y3
- x2,y3 - x2,y3
- x3,y3 - x3,y3
snippet toc:
.. toctree::
:maxdepth: 2
${0}
# CJK optimize, CJK has no space between charaters # CJK optimize, CJK has no space between charaters
snippet *c snippet *c
\ *${1:Emphasis}*\ ${0} \ *${1:Emphasis}*\ ${0}