Compare commits

..

1 Commits

Author SHA1 Message Date
b7f7786e67 add aom User Guide 2.0
All checks were successful
gl/check check status: success (b7f7786e675d1ba45258d33ce1dfaa96abced44f)
gl/gate gate status: success (b7f7786e675d1ba45258d33ce1dfaa96abced44f)
2024-02-27 11:09:03 +00:00
3 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,4 @@
--- ---
environment: internal
hc_location: usermanual2/aom hc_location: usermanual2/aom
html_location: docs/aom/umn2 html_location: docs/aom/umn2
link: /application-operations-management/umn2/ link: /application-operations-management/umn2/

View File

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

View File

@ -246,19 +246,12 @@ class Services(object):
x for x in srv["teams"] if x["permission"] == "write" x for x in srv["teams"] if x["permission"] == "write"
] ]
if "repositories" in srv and environment: if "repositories" in srv and environment:
internal_exists = False
for repo in srv["repositories"]: for repo in srv["repositories"]:
if ( if (
"environment" in repo "environment" in repo
and repo["environment"] == environment and repo["environment"] == environment
): ):
srv_res["repository"] = repo["repo"] 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: for doc in self.all_docs:
if ( if (
"html_location" in doc "html_location" in doc