From 75be358ff69f83fca740acb082c3dc8071b174ac Mon Sep 17 00:00:00 2001 From: chewingbever Date: Thu, 27 Aug 2020 18:40:54 +0200 Subject: [PATCH] apidoc now has its own directory --- .gitignore | 3 +-- Makefile | 2 +- docs/source/conf.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b4bfba1..b20fe45 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,7 @@ build/ # Docs docs/build -docs/source/*.rst -!docs/source/index.rst +docs/source/apidoc/ # Caches __pycache__/ diff --git a/Makefile b/Makefile index a7e6a75..423af24 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ clean-setup: # =====DOCS===== docs: build-venv docs/source/conf.py docs/source/index.rst - @ "$(VENV)/bin/sphinx-apidoc" -f -o "$(DOCS)/source" "$(SRC)" + @ "$(VENV)/bin/sphinx-apidoc" -f -o "$(DOCS)/source/apidoc" "$(SRC)" @ "$(VENV)/bin/sphinx-build" "$(DOCS)/source" "$(DOCS)/build" diff --git a/docs/source/conf.py b/docs/source/conf.py index 9a8dc9b..e31b07d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,8 +18,8 @@ sys.path.insert(0, os.path.abspath('../..')) # -- Project information ----------------------------------------------------- project = 'Frank' -copyright = '2020, Jef Roosens' author = 'Jef Roosens' +copyright = f'2020, {author}' # noqa: A001,VNE003 # The full version, including alpha/beta/rc tags release = '0.1'