apidoc now has its own directory
parent
6f0af5dfdf
commit
75be358ff6
|
@ -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__/
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Reference in New Issue