mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +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
|
# Outputs rst files from django application code
|
||||||
apidocs:
|
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}}
|
|
||||||
{%- 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
|
||||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user