From a3edaa16e6346d93a69835a77c76b1f1b54172f3 Mon Sep 17 00:00:00 2001 From: Christopher Lorton Date: Mon, 28 Oct 2024 10:34:53 -0700 Subject: [PATCH] fix sphinx warning --- docs/index.rst | 1 - docs/reference/index.rst | 7 ------- docs/reference/laser_core.rst | 9 --------- docs/source/modules.rst | 4 ++-- tox.ini | 2 +- 5 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 docs/reference/index.rst delete mode 100644 docs/reference/laser_core.rst diff --git a/docs/index.rst b/docs/index.rst index 05e3ad6..d8b8bde 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,7 +9,6 @@ Contents installation usage migration - reference/index contributing authors changelog diff --git a/docs/reference/index.rst b/docs/reference/index.rst deleted file mode 100644 index 57e0926..0000000 --- a/docs/reference/index.rst +++ /dev/null @@ -1,7 +0,0 @@ -Reference -========= - -.. toctree:: - :glob: - - laser_core* diff --git a/docs/reference/laser_core.rst b/docs/reference/laser_core.rst deleted file mode 100644 index 2f4bc2b..0000000 --- a/docs/reference/laser_core.rst +++ /dev/null @@ -1,9 +0,0 @@ -laser-core -========== - -.. testsetup:: - - from laser_core import * - -.. automodule:: laser_core - :members: diff --git a/docs/source/modules.rst b/docs/source/modules.rst index 06216c1..06b39b5 100644 --- a/docs/source/modules.rst +++ b/docs/source/modules.rst @@ -1,5 +1,5 @@ -src -=== +laser_core +========== .. toctree:: :maxdepth: 4 diff --git a/tox.ini b/tox.ini index 0142a6c..a4e7505 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,7 @@ usedevelop = true deps = -r{toxinidir}/docs/requirements.txt commands = - sphinx-apidoc -f -o docs/source src + sphinx-apidoc -f -o docs/source src/laser_core sphinx-build {posargs:-E} -b html docs dist/docs sphinx-build -b linkcheck docs dist/docs