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

Add a 'webdocs' target to docs/api to be consistent
with docsite/
pull/20248/head
Adrian Likins 8 years ago committed by GitHub
parent 0381bc170c
commit b3e7794c08

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

Loading…
Cancel
Save