소스 검색

Update TOC

shalvah 5 년 전
부모
커밋
a2abb4b635
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      docs/conf.py

+ 1 - 0
docs/conf.py

@@ -58,6 +58,7 @@ master_doc = 'index'
 def setup(app):
     app.add_config_value('recommonmark_config', {
         'auto_toc_tree_section': 'Contents',
+        'auto_toc_maxdepth': 2,
         'enable_eval_rst': True,
     }, True)
     app.add_transform(AutoStructify)