mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-15 18:42:27 +03:00
remove if else block in docs makefile
This commit is contained in:
parent
ce5223fe59
commit
51c149f137
|
@ -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 $(APP)
|
|
||||||
{%- 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