Compare commits
2 Commits
ccn-add
...
add_pdf_to
Author | SHA1 | Date | |
---|---|---|---|
a91dfe8b5b | |||
1529742878 |
11
otc_metadata/data/documents/ccn-api-ref.yaml
Normal file
11
otc_metadata/data/documents/ccn-api-ref.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: api/cc
|
||||
html_location: docs/ccn/api-ref
|
||||
link: /cloud-connect/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: ccn
|
||||
title: API Reference
|
||||
type: api-ref
|
11
otc_metadata/data/documents/ccn-umn.yaml
Normal file
11
otc_metadata/data/documents/ccn-umn.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: usermanual/cc
|
||||
html_location: docs/ccn/umn
|
||||
link: /cloud-connect/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: ccn
|
||||
title: User Guide
|
||||
type: umn
|
16
otc_metadata/data/services/ccn.yaml
Normal file
16
otc_metadata/data/services/ccn.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
environment: internal
|
||||
repositories:
|
||||
- environment: internal
|
||||
repo: docs/cloud-connect
|
||||
type: gitea
|
||||
- environment: public
|
||||
repo: opentelekomcloud-docs/cloud-connect
|
||||
type: github
|
||||
service_category: network
|
||||
service_title: Cloud Connect
|
||||
service_type: ccn
|
||||
service_uri: cloud-connect
|
||||
teams:
|
||||
- name: docs-network-rw
|
||||
permission: write
|
@ -107,7 +107,6 @@ commands =
|
||||
cp -av doc/build/json/{{ doc.type }} {{ doc.type }}/build/json
|
||||
{%- endif %}
|
||||
|
||||
{% if doc.pdf_enabled -%}
|
||||
# PDF version
|
||||
[testenv:{{ doc.type }}-pdf-docs]
|
||||
deps = {[testenv:docs]deps}
|
||||
@ -126,7 +125,6 @@ commands =
|
||||
make -C {{ loc }}/build/pdf
|
||||
mkdir -p doc/build/pdf
|
||||
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
[testenv:bindeps]
|
||||
|
Reference in New Issue
Block a user