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:
parent
0381bc170c
commit
b3e7794c08
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue