mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-13 17:42:26 +03:00
change path in docs Makefile to use APP variable
This commit is contained in:
parent
115e52867a
commit
ce5223fe59
|
@ -29,9 +29,9 @@ livehtml:
|
||||||
# Outputs rst files from django application code
|
# Outputs rst files from django application code
|
||||||
apidocs:
|
apidocs:
|
||||||
{%- if cookiecutter.use_docker == 'y' %}
|
{%- if cookiecutter.use_docker == 'y' %}
|
||||||
sphinx-apidoc -o $(SOURCEDIR)/api /app
|
sphinx-apidoc -o $(SOURCEDIR)/api $(APP)
|
||||||
{%- else %}
|
{%- else %}
|
||||||
sphinx-apidoc -o $(SOURCEDIR)/api ../{{cookiecutter.project_slug}}
|
sphinx-apidoc -o $(SOURCEDIR)/api $(APP)
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
|
|
Loading…
Reference in New Issue
Block a user