From 7acbdb9d16077ebfbe352397c72a69294068b48c Mon Sep 17 00:00:00 2001 From: felix Date: Thu, 2 Nov 2023 12:16:57 +0100 Subject: [PATCH] Fix doc settings. --- Makefile | 2 +- docs/conf.py | 2 +- docs/reference.rst | 2 +- tests/test_version.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9bd56b4..78a4553 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ build-and-publish: build publish ## Build and publish. .PHONY: docs-test docs-test: ## Test if documentation can be built without warnings or errors - @poetry run sphinx docs/ docs/_build -W + @poetry run python3 -m sphinx docs/ docs/_build -W .PHONY: docs docs: ## Build and serve the documentation diff --git a/docs/conf.py b/docs/conf.py index f4e1a64..3dc295b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,7 @@ """Sphinx configuration.""" -project = "glue" +project = "Heisskleber" author = "Felix Weiler" copyright = f"2023, {author}" diff --git a/docs/reference.rst b/docs/reference.rst index ffa458f..b7c5c5c 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -5,5 +5,5 @@ Reference package 1 ------------- -.. automodule:: glue +.. automodule:: heisskleber :members: diff --git a/tests/test_version.py b/tests/test_version.py index df54b4e..411bd58 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -2,6 +2,6 @@ import heisskleber -def test_glue_version() -> None: +def test_heisskleber_version() -> None: """Test that the glue version is correct.""" assert heisskleber.__version__ == "0.1.0"