Fix docs/api paths so api docs build (#20240)

Add a 'webdocs' target to docs/api to be consistent
with docsite/
This commit is contained in:
Adrian Likins 2017-01-13 14:35:37 -05:00 committed by GitHub
parent 0381bc170c
commit b3e7794c08

View file

@ -13,8 +13,8 @@ SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
RSTDIR = rst
MODULES_PATH = ../lib
EXCLUDE_PATHS = ../lib/ansible/modules ../lib/ansible/utils/module_docs_fragments ../lib/ansible/compat/six ../lib/ansible/module_utils/six.py
MODULES_PATH = ../../lib
EXCLUDE_PATHS = ../../lib/ansible/modules ../../lib/ansible/utils/module_docs_fragments ../../lib/ansible/compat/six ../../lib/ansible/module_utils/six.py
DOC_PROJECTS = "Ansible API"
# User-friendly check for sphinx-build
@ -75,6 +75,9 @@ html:
.PHONY: docs
docs: clean apidoc html
.PHONY: webdocs
webdocs: clean apidoc html
.PHONY: dirhtml
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml