mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-19 17:41:53 +00:00
change path in docs Makefile to use APP variable
This commit is contained in:
parent
115e52867a
commit
ce5223fe59
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ livehtml:
|
|||
# Outputs rst files from django application code
|
||||
apidocs:
|
||||
{%- if cookiecutter.use_docker == 'y' %}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api /app
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api $(APP)
|
||||
{%- else %}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api ../{{cookiecutter.project_slug}}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api $(APP)
|
||||
{%- endif %}
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
|
|
|
|||
Loading…
Reference in a new issue