From 27ea051d623509655d55ee84c7a07784ea0c0807 Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Tue, 20 May 2025 13:22:17 +0000 Subject: [PATCH] Update tox.ini && conf.py file Reviewed-by: Tino Schreiber Co-authored-by: Sebastian Gode Co-committed-by: Sebastian Gode --- doc/requirements.txt | 2 ++ doc/source/conf.py | 2 ++ tox.ini | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 5723799..64e648c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -7,6 +7,8 @@ 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 gitpython \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index e9b8fe2..50f9a72 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -41,7 +41,9 @@ otcdocs_doc_type = '' otcdocs_service_category = 'other' otcdocs_service_title = 'Regions and Endpoints' otcdocs_service_type = 'rae' +otcdocs_cloud_environment = 'eu_de' otcdocs_search_environment = 'hc_de' +otcdocs_search_index = 'search_index_de' otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/" # If extensions (or modules to document with autodoc) are in another directory, diff --git a/tox.ini b/tox.ini index c1de877..e8bdd3a 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,7 @@ commands = {posargs} [testenv:docs] deps = -r{toxinidir}/doc/requirements.txt - -c https://raw.githubusercontent.com/opentelekomcloud-docs/docs-constraints/main/constraints.txt + -c https://raw.githubusercontent.com/opentelekomcloud-docs/docs-constraints/main/constraints/eu_de/internal/constraints.txt allowlist_externals = mkdir cp