apidoc now has its own directory

develop
Jef Roosens 2020-08-27 18:40:54 +02:00
parent 6f0af5dfdf
commit 75be358ff6
3 changed files with 3 additions and 4 deletions

3
.gitignore vendored
View File

@ -10,8 +10,7 @@ build/
# Docs # Docs
docs/build docs/build
docs/source/*.rst docs/source/apidoc/
!docs/source/index.rst
# Caches # Caches
__pycache__/ __pycache__/

View File

@ -48,7 +48,7 @@ clean-setup:
# =====DOCS===== # =====DOCS=====
docs: build-venv docs/source/conf.py docs/source/index.rst 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" @ "$(VENV)/bin/sphinx-build" "$(DOCS)/source" "$(DOCS)/build"

View File

@ -18,8 +18,8 @@ sys.path.insert(0, os.path.abspath('../..'))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = 'Frank' project = 'Frank'
copyright = '2020, Jef Roosens'
author = 'Jef Roosens' author = 'Jef Roosens'
copyright = f'2020, {author}' # noqa: A001,VNE003
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '0.1' release = '0.1'