Compare commits

...

30 Commits

Author SHA1 Message Date
21cc170225 fix pep8
All checks were successful
gl/check check status: success (21cc17022518ed0e29fea32dfecd41af6c8d5fba)
gl/gate gate status: success (21cc17022518ed0e29fea32dfecd41af6c8d5fba)
2024-10-30 10:18:46 +00:00
a882f93e8e Fix swiss int logo link
Some checks failed
gl/check check status: failure (a882f93e8e3ec56e6f47e649794e0f71d0af30ca)
2024-10-18 09:57:43 +00:00
2be2e7b88d Fix error handling on confpy script
All checks were successful
gl/check check status: success (2be2e7b88db530722c886f9476df6479e6d6b310)
2024-10-17 12:12:43 +00:00
50ed3a6611 remove blueprints
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-10-15 11:59:48 +00:00
1886623430 remove gaussdb nosql
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-10-15 11:24:22 +00:00
8a781ee62a remove Architecture Center from metadata
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-10-15 09:50:00 +00:00
d93f442e7b Update 'otc_metadata/templates/tox.ini.j2'
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-10-15 09:18:41 +00:00
3b8fde8894 Preparations for PDF rollout
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-10-15 08:29:27 +00:00
80bb18fb40 Update 'otc_metadata/data/documents/cci-api-ref.yaml'
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-10-15 07:45:49 +00:00
ca9013bb3e GaussDB NoSQL disable from landing page
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-committed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
2024-09-27 13:01:13 +00:00
406210771d enable cci for upcoming release on prod
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-09-26 07:54:46 +00:00
7222eb787b enable asm for upcoming release on prod
Reviewed-by: Nils Magnus <magnus@linuxtag.org>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-09-25 14:08:13 +00:00
0681226873 removed extra tags
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-committed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
2024-09-19 14:05:51 +00:00
0ede9b724d fixing wrong reference to original doc location
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-09-19 11:05:16 +00:00
6884d80c33 remove-obsswiftapi-yaml
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-committed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
2024-09-19 08:02:22 +00:00
edaf38baf6 Create EPS api/umn documentation
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-09-17 13:27:32 +00:00
e153f7d112 longer commit string
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-09-06 08:04:20 +00:00
7ec0772602 Added Commit Hash and Time to confpy
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-09-06 07:35:42 +00:00
0cc28b7d0b Removing OBS Swift API from the public documentation
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-committed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
2024-09-02 13:33:06 +00:00
406302b448 adding rfs metadata
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-08-08 10:59:33 +00:00
5773230496 Update 'otc_metadata/data/documents/smg-umn.yaml'
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-08-06 06:07:56 +00:00
42855482cf currently not Huawei supported doc
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-08-05 07:27:06 +00:00
1b97e9d76a enable-geminidb
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-07-26 07:07:28 +00:00
09c2e869d0 making geminidb public visible
Reviewed-by: vladimirvshivkov <vshivkovvladimir@gmail.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-07-25 16:25:58 +00:00
63eb1b715e Fixing missing env entry
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-07-23 09:18:21 +00:00
a9ae65958d Set environment for SBV internally automatically to internal
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-07-23 06:58:32 +00:00
3ae8e7a8be mkp-public
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Meshki, Abalfazl <a200263171@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Meshki, Abalfazl <a200263171@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-07-22 12:47:41 +00:00
9746bb1892 Update 'otc_metadata/data/services/antiddos.yaml'
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-07-19 12:50:12 +00:00
2105405796 create Page Not Found service
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-07-09 08:58:50 +00:00
98dc53c075 fixing typo in rst path
Reviewed-by: otcbot <otcbot@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-06-27 12:22:54 +00:00
37 changed files with 175 additions and 125 deletions

View File

@ -1,9 +0,0 @@
---
environment: public
link: /architecture-center/blueprints/
pdf_name: architecture-center-blueprints
rst_location: doc/blueprints/source
service_type: ac
title: Blueprints
type: blueprints
disable_import: true

View File

@ -1,9 +0,0 @@
---
environment: internal
link: /architecture-center/caf/
pdf_name: architecture-center-cloud-adoption-framework
rst_location: doc/caf/source
service_type: ac
title: Cloud Adoption Framework
type: caf
disable_import: true

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
hc_location: usermanual/asm
html_location: docs/asm/umn
link: /application-service-mesh/umn/

View File

@ -1,11 +0,0 @@
---
hc_location: bestpractice/blueprints
environment: internal
html_location: docs/blueprints/best-practice
link: /blueprints/best-practice/
pdf_name: blueprints-best-practice
rst_location: doc/best-practice/source
service_type: blueprints
title: Best Practice
type: best-practice
disable_import: true

View File

@ -1,6 +1,6 @@
---
hc_location: api/cci
environment: internal
environment: public
html_location: docs/cci/api-ref
link: /cloud-container-instance/api-ref/
pdf_name: cci-api-ref

View File

@ -1,6 +1,6 @@
---
hc_location: usermanual/cci
environment: internal
environment: public
html_location: docs/cci/umn
link: /cloud-container-instance/umn/
pdf_name: cci-umn

View File

@ -1,10 +1,9 @@
---
environment: internal
hc_location: api/rms
html_location: docs/config/api-ref
link: /config/api-ref/
pdf_name: config-api-ref
rst_location: config/source
rst_location: api-ref/source
service_type: config
title: API Reference
type: api-ref

View File

@ -1,5 +1,4 @@
---
environment: internal
hc_location: usermanual/rms
html_location: docs/config/umn
link: /config/umn/

View File

@ -0,0 +1,11 @@
---
environment: internal
hc_location: api/em
html_location: docs/eps/api-ref
link: /enterprise-project-service/api-ref/
pdf_name: eps-api-ref
rst_location: api-ref/source
service_type: eps
title: API Reference
type: api-ref

View File

@ -0,0 +1,11 @@
---
environment: internal
hc_location: usermanual/em
html_location: docs/eps/umn
link: /enterprise-project-service/umn/
pdf_name: eps-umn
rst_location: umn/source
service_type: eps
title: User Guide
type: umn

View File

@ -1,9 +0,0 @@
---
hc_location: api/nosql
html_location: docs/gaussdb_nosql/api-ref
link: /gaussdb-nosql/api-ref/
pdf_name: gaussdb_nosql-api-ref
rst_location: api-ref/source
service_type: gaussdb_nosql
title: API Reference
type: api-ref

View File

@ -1,9 +0,0 @@
---
hc_location: usermanual/nosql
html_location: docs/gaussdb_nosql/umn
link: /gaussdb-nosql/umn/
pdf_name: gauss_nosql
rst_location: umn/source
service_type: gaussdb_nosql
title: User Guide
type: umn

View File

@ -1,6 +1,5 @@
---
hc_location: api/nosql
environment: internal
html_location: docs/geminidb/api-ref
link: /geminidb/api-ref/
pdf_name: geminidb-api-ref

View File

@ -1,5 +1,4 @@
---
environment: internal
hc_location: usermanual/nosql
html_location: docs/geminidb/umn
link: /geminidb/umn/

View File

@ -6,3 +6,4 @@ rst_location: doc/mycredential/source
service_type: iam
title: My Credential
type: mycredential
disable_import: true

View File

@ -7,5 +7,4 @@ rst_location: umn/source
service_type: mkp
title: User Guide
type: umn
environment: internal
disable_import: true

View File

@ -1,9 +0,0 @@
---
hc_location: api_swift/obs
html_location: docs/obs/api-swift
link: /object-storage-service/swiftapi/
pdf_name: obs-swiftapi
rst_location: doc/swiftapi/source
service_type: obs
title: API Reference (Swift) - Deprecated - Will be removed at 2023 Nov. 10!
type: swiftapi

View File

@ -0,0 +1,10 @@
---
hc_location: api/aos
environment: internal
html_location: docs/rfs/api-ref
link: /resource-formation-service/api-ref/
pdf_name: rfs-api-ref
rst_location: api-ref/source
service_type: rfs
title: API Reference
type: api-ref

View File

@ -0,0 +1,10 @@
---
hc_location: usermanual/aos
environment: internal
html_location: docs/rfs/umn
link: /resource-formation-service/umn/
pdf_name: rfs-umn
rst_location: umn/source
service_type: rfs
title: User Guide
type: umn

View File

@ -6,3 +6,4 @@ rst_location: umn/source
service_type: smg
title: User Guide
type: umn
disable_import: true

View File

@ -1,16 +0,0 @@
---
environment: hidden
repositories:
- environment: internal
repo: docs/architecture-center
type: gitea
- environment: public
repo: opentelekomcloud-docs/architecture-center
type: github
service_category: other
service_title: Architecture Center
service_type: ac
service_uri: architecture-center
teams:
- name: docs-architecture-center-rw
permission: write

View File

@ -8,7 +8,7 @@ repositories:
repo: opentelekomcloud-docs/anti-ddos
type: github
service_category: security-services
service_title: Anti DDoS
service_title: Anti-DDoS
service_type: antiddos
service_uri: anti-ddos
teams:

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/application-service-mesh

View File

@ -1,16 +0,0 @@
---
environment: hidden
repositories:
- environment: internal
repo: docs/blueprints
type: gitea
- environment: public
repo: opentelekomcloud-docs/blueprints
type: github
service_category: other
service_title: Blueprints
service_type: blueprints
service_uri: blueprints
teams:
- name: eco
permission: write

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/cloud-container-instance

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/config

View File

@ -0,0 +1,17 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/enterprise-project-service
type: gitea
- environment: public
repo: opentelekomcloud-docs/enterprise-project-service
type: github
service_category: security-services
service_title: Enterprise Project Service
service_type: eps
service_uri: enterprise-project-service
teams:
- name: docs-security-services-rw
permission: write

View File

@ -1,16 +0,0 @@
---
environment: public
repositories:
- environment: internal
repo: docs/gaussdb-nosql
type: gitea
- environment: public
repo: opentelekomcloud-docs/gaussdb-nosql
type: github
service_category: database
service_title: GaussDB NoSQL
service_type: gaussdb_nosql
service_uri: gaussdb-nosql
teams:
- name: docs-database-rw
permission: write

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/geminidb

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/marketplace

View File

@ -0,0 +1,13 @@
---
environment: hidden
repositories:
- environment: public
repo: opentelekomcloud-docs/page-not-found
type: github
service_category: other
service_title: Page Not Found
service_type: pagenotfound
service_uri: page-not-found
teams:
- name: docs-eco-rw
permission: write

View File

@ -0,0 +1,16 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/resource-formation-service
type: gitea
- environment: public
repo: opentelekomcloud-docs/resource-formation-service
type: github
service_category: application
service_title: Resource Formation Service
service_type: rfs
service_uri: resource-formation-service
teams:
- name: docs-orchestration-rw
permission: write

View File

@ -16,6 +16,8 @@
import os
import sys
from git import Repo
from datetime import datetime
extensions = [
'otcdocstheme',
@ -117,6 +119,7 @@ html_title = "{{ title }}"
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
templates_path = ['_templates']
# Do not include sources into the rendered results
html_copy_source = False
@ -131,3 +134,16 @@ latex_documents = [
{% endif -%}
]
# Get the Git commit values for last updated timestamp on each page
repo = Repo(search_parent_directories=True)
commit = repo.head.commit
current_commit_hash = commit.hexsha
current_commit_time = commit.committed_datetime.strftime('%Y-%m-%d %H:%M')
latex_elements = {
'papersize': 'a4paper',
'pointsize': '12pt',
'figure_align': 'H',
'preamble': r'\newcommand{\githash}{' + current_commit_hash + '}',
'sphinxsetup': 'hmargin={15mm,15mm}, vmargin={20mm,30mm}, marginpar=10mm'
}

View File

@ -12,4 +12,5 @@ reno>=3.1.0 # Apache-2.0
otc-sphinx-directives>=0.1.0
sphinx-minify>=0.0.1 # Apache-2.0
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
setuptools
setuptools
gitpython

View File

@ -5,3 +5,4 @@
.. service_card::
:service_type: {{ service_type }}
:environment: {{ environment }}

View File

@ -58,6 +58,10 @@ allowlist_externals =
commands =
mkdir -p doc/build/pdf
{[testenv:bindeps]commands}
mkdir -p {toxinidir}/_templates
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
wget -O {toxinidir}/_templates/tabular.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabular.tex.jinja
wget -O {toxinidir}/_templates/tabulary.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabulary.tex.jinja
{%- for doc in docs %}
{%- if doc.pdf_name %}
{[testenv:{{ doc.type }}-pdf-docs]commands}
@ -115,6 +119,7 @@ allowlist_externals =
cp
commands =
rm -rf {{ loc }}/build/pdf
cp -r {toxinidir}/_templates {{ loc }}/source/_templates/
sphinx-build -W --keep-going -b latex {{ loc }}/source {{ loc }}/build/pdf/
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"

File diff suppressed because it is too large Load Diff