diff --git a/_config.yml b/_config.yml index 3545848..4d8466a 100644 --- a/_config.yml +++ b/_config.yml @@ -33,3 +33,9 @@ only_build_toc_files: true html: use_issues_button: true use_repository_button: true + +sphinx: + config: + bibtex_reference_style: author_year # or label, super, \supercite + numfig_format: {'figure': '图 %s', 'table': '表 %s', + 'code-block': '代码片段 %s', 'section': '章节 %s'} diff --git a/_toc.yml b/_toc.yml index bfd1687..9b0df3f 100644 --- a/_toc.yml +++ b/_toc.yml @@ -5,6 +5,7 @@ format: jb-book root: index parts: - caption: 数据处理与计算 + numbered: 2 chapters: - file: ch-numpy/index sections: diff --git a/docs/ch-numpy/index.html b/docs/ch-numpy/index.html index d6032af..f7dd133 100644 --- a/docs/ch-numpy/index.html +++ b/docs/ch-numpy/index.html @@ -9,7 +9,7 @@ - NumPy — Python 数据科学实战 + 1. NumPy — Python 数据科学实战 @@ -65,7 +65,7 @@ - + @@ -169,21 +169,21 @@

数据处理与计算