Compare commits

..

1 Commits

Author SHA1 Message Date
4236619c49 Auto copy PDFs to HTML folder for Zuul to upload
All checks were successful
gl/check check status: success (4236619c49592e08dd0eac126be857a7a644b3b8)
gl/gate gate status: success (4236619c49592e08dd0eac126be857a7a644b3b8)
2025-02-07 10:03:10 +00:00
8 changed files with 6 additions and 45 deletions

View File

@ -1,11 +0,0 @@
---
hc_location: api/das
environment: internal
html_location: docs/das/api-ref
link: /data-admin-service/api-ref/
pdf_enabled: true
pdf_environment: internal
rst_location: api-ref/source
service_type: das
title: API Reference
type: api-ref

View File

@ -1,11 +0,0 @@
---
hc_location: usermanual/das
environment: internal
html_location: docs/das/umn
link: /data-admin-service/umn/
pdf_enabled: true
pdf_environment: internal
rst_location: umn/source
service_type: das
title: User Guide
type: umn

View File

@ -1,5 +1,4 @@
--- ---
environment: internal
hc_location: api/dbss hc_location: api/dbss
html_location: docs/dbss/api-ref html_location: docs/dbss/api-ref
link: /database-security-service/api-ref/ link: /database-security-service/api-ref/

View File

@ -1,6 +1,6 @@
--- ---
hc_location: api/aos hc_location: api/aos
environment: public environment: internal
html_location: docs/rfs/api-ref html_location: docs/rfs/api-ref
link: /resource-formation-service/api-ref/ link: /resource-formation-service/api-ref/
pdf_enabled: true pdf_enabled: true

View File

@ -1,10 +1,10 @@
--- ---
hc_location: usermanual/aos hc_location: usermanual/aos
environment: public environment: internal
html_location: docs/rfs/umn html_location: docs/rfs/umn
link: /resource-formation-service/umn/ link: /resource-formation-service/umn/
pdf_environment: internal
pdf_enabled: true pdf_enabled: true
pdf_environment: internal
rst_location: umn/source rst_location: umn/source
service_type: rfs service_type: rfs
title: User Guide title: User Guide

View File

@ -1,16 +0,0 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/data-admin-service
type: gitea
- environment: public
repo: opentelekomcloud-docs/data-admin-service
type: github
service_category: database
service_title: Data Admin Service
service_type: das
service_uri: data-admin-service
teams:
- name: docs-database-rw
permission: write

View File

@ -1,5 +1,5 @@
--- ---
environment: public environment: internal
repositories: repositories:
- environment: internal - environment: internal
repo: docs/resource-formation-service repo: docs/resource-formation-service

View File

@ -123,9 +123,9 @@ commands =
rm -rf {{ loc }}/build/pdf rm -rf {{ loc }}/build/pdf
cp -r {toxinidir}/_templates {{ loc }}/source/_templates/ cp -r {toxinidir}/_templates {{ loc }}/source/_templates/
sphinx-build -W --keep-going -b latex {{ loc }}/source {{ loc }}/build/pdf/ sphinx-build -W --keep-going -b latex {{ loc }}/source {{ loc }}/build/pdf/
bash -c "for f in {{ loc }}/build/pdf/*.gif; do convert $f[0] $\{f/%gif/png\}; done || true" bash -c "for f in {{ loc }}/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
bash -c "for f in {{ loc }}/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done" bash -c "for f in {{ loc }}/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
make -C {{ loc }}/build/pdf LATEXMKOPTS="-interaction=nonstopmode" make -C {{ loc }}/build/pdf
mkdir -p doc/build/pdf mkdir -p doc/build/pdf
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/ cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/ cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/