mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Merge pull request #3379 from d57montes/small-fix-docs-makefile
This commit is contained in:
commit
489bdafee8
|
@ -28,11 +28,7 @@ livehtml:
|
|||
|
||||
# Outputs rst files from django application code
|
||||
apidocs:
|
||||
{%- if cookiecutter.use_docker == 'y' %}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api /app
|
||||
{%- else %}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api ../{{cookiecutter.project_slug}}
|
||||
{%- endif %}
|
||||
sphinx-apidoc -o $(SOURCEDIR)/api $(APP)
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
|
|
Loading…
Reference in New Issue
Block a user