From 9e79b3b4ae7fb5fe810c59fb9c1ab65155cf2cf6 Mon Sep 17 00:00:00 2001 From: jskunda Date: Mon, 10 Apr 2023 23:47:21 +0200 Subject: [PATCH] Fix missing about content in refstack-ui Refstack webpage's about section is not rendered correctly. The bug is tracked in here: https://tree.taiga.io/project/openstack-interop-working-group/issue/81 This patch will update documentation build process to generate html files by changing paths to html files in about.html. Replace deprecated options in doc/source/conf.py by the new ones: * openstackdocs_bug_project * openstackdocs_bug_tag Change-Id: Id296b9cecf75bb289b0da41bec880a13694298e1 --- doc/source/conf.py | 4 ++-- refstack-ui/app/components/about/aboutController.js | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a087cc59..cc94f093 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -57,8 +57,8 @@ release = '1.0' # openstackdocstheme options openstackdocs_repo_name = 'openinfra/refstack' -bug_project = '878' -bug_tag = '' +openstackdocs_bug_project = '878' +openstackdocs_bug_tag = '' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/refstack-ui/app/components/about/aboutController.js b/refstack-ui/app/components/about/aboutController.js index 2c22edba..2c81b6dd 100644 --- a/refstack-ui/app/components/about/aboutController.js +++ b/refstack-ui/app/components/about/aboutController.js @@ -35,7 +35,7 @@ ctrl.options = { 'about' : { 'title': 'About RefStack', - 'template': 'components/about/templates/README.html', + 'template': 'components/about/templates/overview.html', 'order': 1 }, 'uploading-your-results': { @@ -50,10 +50,15 @@ 'test_result_management.html', 'order': 3 }, - 'vendors-and-products': { - 'title': 'Vendors and Products', - 'template': 'components/about/templates/vendor_product.html', + 'vendors': { + 'title': 'Vendors', + 'template': 'components/about/templates/VendorEntity.html', 'order': 4 + }, + 'products': { + 'title': 'Products', + 'template': 'components/about/templates/ProductEntity.html', + 'order': 5 } };