From 5de0a1d09b8644466513020ba76a6fc3d7f4293b Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 5 Jun 2024 15:42:56 -0700 Subject: [PATCH] azure-mgmt-core shouldn't use mgmt docs build --- eng/tox/run_sphinx_apidoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tox/run_sphinx_apidoc.py b/eng/tox/run_sphinx_apidoc.py index 4ec6bed60899..3db7eecea057 100644 --- a/eng/tox/run_sphinx_apidoc.py +++ b/eng/tox/run_sphinx_apidoc.py @@ -25,7 +25,7 @@ generate_mgmt_script = os.path.join(root_dir, "doc/sphinx/generate_doc.py") def is_mgmt_package(pkg_name): - return "mgmt" in pkg_name or "cognitiveservices" in pkg_name + return pkg_name != "azure-mgmt-core" and ("mgmt" in pkg_name or "cognitiveservices" in pkg_name) def copy_existing_docs(source, target): for file in os.listdir(source):