From c754420911a23ec17c85467fbdfcd2ff6bf7a6e4 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 11 Jun 2021 22:09:29 -0400 Subject: [PATCH 1/3] Unpin sphinx --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 64a9584ff..db26b0422 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -sphinx==3.5 +sphinx sphinx-cjkspace sphinx_copybutton sphinx_rtd_theme From 82d03c1137f8f5454b8114351f829afed2a8efe7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 11 Jun 2021 22:10:29 -0400 Subject: [PATCH 2/3] Fix sphinx warnings --- source/sacio/sacio-in-c.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sacio/sacio-in-c.rst b/source/sacio/sacio-in-c.rst index d2b470f9e..ee657ec20 100644 --- a/source/sacio/sacio-in-c.rst +++ b/source/sacio/sacio-in-c.rst @@ -25,10 +25,10 @@ sacio 函数接口 ``sac.h`` 中 SAC 格式的头段区被定义为 ``SACHEAD`` 类型的结构体, 每一个头段变量都是结构体的成员。\ ``sacio.c`` 定义了一系列用于读写 -SAC 文件的函数,\ :numref:`table:sacio-function` 中列出了 ``sacio`` +SAC 文件的函数,\ :numref:`table-sacio-function` 中列出了 ``sacio`` 提供的函数接口。 -.. _table:sacio-function: +.. _table-sacio-function: .. table:: ``sacio`` 函数列表 From 3386e6ea6e5bee4e526e7d7477290520d924c239 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 11 Jun 2021 22:13:23 -0400 Subject: [PATCH 3/3] Change to tbl --- source/sacio/sacio-in-c.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sacio/sacio-in-c.rst b/source/sacio/sacio-in-c.rst index ee657ec20..a394cb99e 100644 --- a/source/sacio/sacio-in-c.rst +++ b/source/sacio/sacio-in-c.rst @@ -25,10 +25,10 @@ sacio 函数接口 ``sac.h`` 中 SAC 格式的头段区被定义为 ``SACHEAD`` 类型的结构体, 每一个头段变量都是结构体的成员。\ ``sacio.c`` 定义了一系列用于读写 -SAC 文件的函数,\ :numref:`table-sacio-function` 中列出了 ``sacio`` +SAC 文件的函数,\ :numref:`tbl-sacio-function` 中列出了 ``sacio`` 提供的函数接口。 -.. _table-sacio-function: +.. _tbl-sacio-function: .. table:: ``sacio`` 函数列表