forked from infra/otc-metadata
add new tools
This commit is contained in:
parent
8358d28942
commit
a092056387
@ -89,14 +89,14 @@ documents:
|
|||||||
title: User Guide
|
title: User Guide
|
||||||
type: umn
|
type: umn
|
||||||
- html_location: docs/cce/api-ref
|
- html_location: docs/cce/api-ref
|
||||||
link: /api-ref/cloud-container-service/
|
link: /api-ref/cloud-container-engine/
|
||||||
pdf_name: cce-api-ref
|
pdf_name: cce-api-ref
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: cce
|
service_type: cce
|
||||||
title: API Reference
|
title: API Reference
|
||||||
type: api-ref
|
type: api-ref
|
||||||
- html_location: docs/cce/umn
|
- html_location: docs/cce/umn
|
||||||
link: /umn/cloud-container-service/
|
link: /umn/cloud-container-engine/
|
||||||
pdf_name: cce-umn
|
pdf_name: cce-umn
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: cce
|
service_type: cce
|
||||||
@ -324,12 +324,6 @@ documents:
|
|||||||
service_type: ecs
|
service_type: ecs
|
||||||
title: Developer Guide
|
title: Developer Guide
|
||||||
type: dev
|
type: dev
|
||||||
- environment: internal
|
|
||||||
link: /not_present/elastic-cloud-server/
|
|
||||||
rst_location: docs/ecs/hld
|
|
||||||
service_type: ecs
|
|
||||||
title: HLD
|
|
||||||
type: hld
|
|
||||||
- html_location: docs/ecs/umn
|
- html_location: docs/ecs/umn
|
||||||
link: /umn/elastic-cloud-server/
|
link: /umn/elastic-cloud-server/
|
||||||
pdf_name: ecs-umn
|
pdf_name: ecs-umn
|
||||||
@ -855,10 +849,10 @@ services:
|
|||||||
service_type: cbr
|
service_type: cbr
|
||||||
- repositories:
|
- repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/cloud-container-service
|
repo: docs/cloud-container-engine
|
||||||
type: gitea
|
type: gitea
|
||||||
- environment: public
|
- environment: public
|
||||||
repo: opentelekomcloud-docs/cloud-container-service
|
repo: opentelekomcloud-docs/cloud-container-engine
|
||||||
type: github
|
type: github
|
||||||
service_category: container
|
service_category: container
|
||||||
service_title: Cloud Container Service
|
service_title: Cloud Container Service
|
||||||
@ -1274,7 +1268,7 @@ services:
|
|||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/volume-backup-service
|
repo: docs/volume-backup-service
|
||||||
type: gitea
|
type: gitea
|
||||||
- env: pub
|
- environment: public
|
||||||
repo: opentelekomcloud-docs/volume-backup-service
|
repo: opentelekomcloud-docs/volume-backup-service
|
||||||
type: github
|
type: github
|
||||||
service_category: storage
|
service_category: storage
|
||||||
|
103
otc_metadata/templates/conf.py.j2
Normal file
103
otc_metadata/templates/conf.py.j2
Normal file
File diff suppressed because it is too large
Load Diff
156
tools/bootstrap_repositories.py
Normal file
156
tools/bootstrap_repositories.py
Normal file
File diff suppressed because it is too large
Load Diff
207
tools/generate_doc_confpy.py
Normal file
207
tools/generate_doc_confpy.py
Normal file
File diff suppressed because it is too large
Load Diff
@ -67,7 +67,7 @@ def process_repositories(args, service):
|
|||||||
elif repo["type"] == 'github':
|
elif repo["type"] == 'github':
|
||||||
repo_url = f"git@github.com:/{repo['repo']}"
|
repo_url = f"git@github.com:/{repo['repo']}"
|
||||||
else:
|
else:
|
||||||
logging.error(f"Repository typw {repo['type']} is not supported")
|
logging.error(f"Repository type {repo['type']} is not supported")
|
||||||
exit(1)
|
exit(1)
|
||||||
if not checkout_exists:
|
if not checkout_exists:
|
||||||
git_repo = Repo.clone_from(
|
git_repo = Repo.clone_from(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user