mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user