From b3d5cdc63afc2d1ef607c1be831459763109657a Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Tue, 8 Oct 2024 20:33:42 +0200 Subject: [PATCH] Upgrade bootstrap to 5.3 We stuck on a 5 years old version (Bootstrap 3.4) without doing updates. This is EOL version and the more we wait the harder is the update. Depends-On: https://review.opendev.org/c/openstack/os-api-ref/+/932048 Change-Id: Ief19c5ab926b45b9ccd04b5df0c2678f4727337b --- .zuul.yaml | 19 + .../theme/openstackdocs/header.html | 155 +- .../theme/openstackdocs/layout.html | 2 +- .../theme/openstackdocs/os_search.html | 2 +- .../theme/openstackdocs/script_footer.html | 2 +- .../theme/openstackdocs/sidebartoc.html | 2 +- .../theme/openstackdocs/sidebartoc_menu.html | 36 +- .../openstackdocs/sidebartoc_menu_apiref.html | 76 +- .../openstackdocs/static/css/bootstrap.css | 17648 ++++++++++------ .../static/css/bootstrap.css.map | 1 + .../static/css/bootstrap.min.css | 10 +- .../static/css/bootstrap.min.css.map | 1 + .../openstackdocs/static/css/combined.css | 37 +- .../theme/openstackdocs/static/css/search.css | 4 +- .../static/js/bootstrap.bundle.min.js | 7 + .../static/js/bootstrap.bundle.min.js.map | 1 + .../openstackdocs/static/js/bootstrap.js | 6513 ++++-- .../openstackdocs/static/js/bootstrap.min.js | 12 +- .../theme/openstackdocs/static/js/docs.js | 16 +- .../theme/starlingxdocs/header.html | 59 +- .../theme/starlingxdocs/sidebartoc_menu.html | 8 +- .../starlingxdocs/sidebartoc_menu_apiref.html | 16 +- 22 files changed, 16042 insertions(+), 8585 deletions(-) create mode 100644 openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css.map create mode 100644 openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css.map create mode 100644 openstackdocstheme/theme/openstackdocs/static/js/bootstrap.bundle.min.js create mode 100644 openstackdocstheme/theme/openstackdocs/static/js/bootstrap.bundle.min.js.map diff --git a/.zuul.yaml b/.zuul.yaml index daa2e531..a11e7677 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -48,6 +48,24 @@ - openstack/python-octaviaclient - openstack/openstackdocstheme +- job: + name: openstackdocstheme-api-ref-tips + parent: build-openstack-api-ref + description: | + Build api-ref documentation for openstackdocstheme with main branch of + os-api-ref. Takes advantage of the base tox job's install-siblings feature. + # The job only tests the latest and shouldn't be run on the stable branches + branches: + regex: ^stable/.*$ + negate: true + required-projects: + - name: openstack/os-api-ref + vars: + # Set work dir to openstackdocstheme so that if it's triggered by one of + # the other repos the tests will run in the same place + zuul_work_dir: src/opendev.org/openstack/openstackdocstheme + + - project: templates: - check-requirements @@ -70,6 +88,7 @@ - openstackdocstheme-openstack-tox-docs-starlingxdocs - openstackdocstheme-cross-nova-tox-docs - openstackdocstheme-cross-octaviaclient-tox-docs + - openstackdocstheme-api-ref-tips gate: jobs: - openstack-tox-pep8 diff --git a/openstackdocstheme/theme/openstackdocs/header.html b/openstackdocstheme/theme/openstackdocs/header.html index 6c3af126..b002cae3 100644 --- a/openstackdocstheme/theme/openstackdocs/header.html +++ b/openstackdocstheme/theme/openstackdocs/header.html @@ -5,104 +5,103 @@ {% endif %} {% include 'os_search_install.html' %} {% set osf_base_url = 'https://www.openstack.org' %} -