Compare commits

..

1 Commits

Author SHA1 Message Date
fa819207db make aom User Guide 2.0 internal
All checks were successful
gl/check check status: success (fa819207db02830d87251ec6ed3d5b712e51f91e)
gl/gate gate status: success (fa819207db02830d87251ec6ed3d5b712e51f91e)
2024-02-27 13:44:34 +00:00
2 changed files with 1 additions and 7 deletions

View File

@ -1,4 +1,5 @@
---
html_location: docs/cc/api-ref
link: /cloud-create/api-ref/
pdf_name: cc-api-ref
rst_location: api-ref/source

View File

@ -246,19 +246,12 @@ class Services(object):
x for x in srv["teams"] if x["permission"] == "write"
]
if "repositories" in srv and environment:
internal_exists = False
for repo in srv["repositories"]:
if (
"environment" in repo
and repo["environment"] == environment
):
srv_res["repository"] = repo["repo"]
if repo["environment"] == "internal":
internal_exists = True
# internal repo does not exist
# service will be left out from metadata.yaml
if not internal_exists:
continue
for doc in self.all_docs:
if (
"html_location" in doc