From d8c6cdd03fa8a9ea301c03942278bbed23801308 Mon Sep 17 00:00:00 2001 From: SebastianGode <70581801+SebastianGode@users.noreply.github.com> Date: Fri, 31 May 2024 13:57:22 +0200 Subject: [PATCH] Fixed dark theme (#337) Fixed dark theme Reviewed-by: Tino Schr --- doc/source/conf.py | 2 ++ roles/vpc_peering/tasks/main.yaml | 4 ++-- tox.ini | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8e4ee6cd..9ff8c6c1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -33,6 +33,8 @@ 'sphinx_antsibull_ext' ] +antsibull_ext_color_scheme = 'default-autodark' + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/roles/vpc_peering/tasks/main.yaml b/roles/vpc_peering/tasks/main.yaml index a5f29d69..e1068526 100644 --- a/roles/vpc_peering/tasks/main.yaml +++ b/roles/vpc_peering/tasks/main.yaml @@ -1,6 +1,6 @@ --- -- include: "provision.yaml" +- include_tasks: "provision.yaml" when: "state != 'absent'" -- include: "destroy.yaml" +- include_tasks: "destroy.yaml" when: "state == 'absent'" diff --git a/tox.ini b/tox.ini index 0d7654f5..6c5bafc8 100644 --- a/tox.ini +++ b/tox.ini @@ -22,8 +22,8 @@ commands = stestr run {posargs} deps = -r{toxinidir}/doc/requirements.txt # requirements below are only required for local execution - ansible-base # ansible is required by antsibull - antsibull>=0.33.0 # antsibull in zuul is installed by the job + ansible-core # ansible is required by antsibull + antsibull-docs>=2.8.0 # antsibull in zuul is installed by the job sphinx>=4.0.0 # Sphinx in zuul is installed by the job setenv = ANSIBLE_COLLECTIONS_PATH={toxinidir}/../../../ @@ -32,8 +32,8 @@ allowlist_externals = cp commands = # WARNING OF A DIRTY HACK - mkdir -m 700 -p tmp - antsibull-docs collection --use-current --squash-hierarchy --dest-dir tmp opentelekomcloud.cloud -vv + mkdir -m 700 -p tmp/source + antsibull-docs collection --use-current --squash-hierarchy --dest-dir tmp/source opentelekomcloud.cloud # copy static local content on top of generated cp -av doc/source/ tmp # copy resulting content back to Sphinx location