Commit Graph

16 Commits

Author SHA1 Message Date
fperez 99ece544e5 Fix for Horizon inventory in subclouds upgrade
When dealing with a subcloud where Centos and SystemController have
already been upgraded to Debian, Horizon encounters difficulties
loading Host Inventory and Software Management pages. This issue
arises due to variations in host attributes between different
versions.

To address this, any expected but missing attributes will be
assigned default values before loading the page.

Additionally, adding a fix for issues with sphinx version for this package

Test Plan:
- Select the target subcloud with the previous version. Navigate to
  Platform -> Host Inventory and confirm the successful loading of
  the Host table.
- Select the target subcloud. Navigate to Platform -> Host Inventory
  and confirm the ability to load the Edit Host modal and Host
  details.
- Select the target subcloud. Navigate to Platform -> Software
  Management and confirm the successful loading of patch details for
  this host.

closes-bug: 2032838

Signed-off-by: fperez <fabrizio.perez@windriver.com>
Change-Id: I671fcca81c14a787d4c55f823d1dae793fe2df35
2023-08-28 15:46:34 -03:00
Iago Estrela c41634c10b Rename max_cpu_frequency references
Change [1] renamed some host attributes. Therefore, we need to update
the GUI to reference the correct attributes.

Story: 2009886
Task: 45522

[1] https://review.opendev.org/c/starlingx/config/+/843661

Test plan:
   Change worker max_cpu_mhz_configured from GUI.

Signed-off-by: Iago Estrela <IagoFilipe.EstrelaBarros@windriver.com>
Change-Id: I20af495c1c6835ee781ce805cfb902e2b397cc7d
2022-06-02 09:08:21 -03:00
Andreas Jaeger b4f16ab7e8 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from test-requirements.txt, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id86f483b405c8fbc74b89ac085076b55e461d417
2020-06-04 14:24:43 +02:00
Kristal Dale 0096f44bd2 Update project name in configs/link
- Update project name in link to release notes
- Update project name in config for docs/releasenotes

Story:2007193
Task:38345

Change-Id: Id18ed48a2e8c8b9d1828ef7b43d565a7e78869c1
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2020-01-22 11:35:42 -08:00
Kristal Dale 3fc4768f3e Update landing pages for docs and release notes:
- Use updated project name in titles/text
- Correct text for link to Storyboard (docs)
- Correct capitalization in section headings
- Correct formatting for section headings

Change-Id: I0e335b082c731fbed1f6fd2ea32f082471571be1
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2020-01-15 15:29:23 -08:00
junboli f8dea250dd Fix the error links for gui docs
The storyboard and gerrit doc link are error, and git library
redirect to the correct one, this change is to correct all them.

Change-Id: Ic477ade4344e6f878f27b7b1b3a471f4e1680d54
Partial-Bug: #1835207
Signed-off-by: junboli <junbo85.li@gmail.com>
2019-07-03 09:18:51 -04:00
Kristal Dale d42e2cb505 Clean up and standardize landing pages
doc index.rst:
1. Update intro sentence to read as a complete sentence
2. Remove unused toctree
3. Correct heading levels (impacting side nav and correct rendering
of content)
4. Remove "Indices and Tables" section: genindex page not used,
search searches
only index (not useful here)

releasenotes index.rst:
1. Standardize page title reST markup
2. Remove search (make consistent with other openstack release note
pages)

Story: 2004737
Task: 28802

Change-Id: I781d2fb0ef51ae952c5e6707ab38f1fca237e5b5
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-01-08 15:59:37 -08:00
Kristine Bujold 182d8ff492 Enable zuul unit tests for stx-gui
Enable flake8 and fix tox errors resulting from that.

Story: 2003863
Task: 27930

Change-Id: Ia331856cbd6862d3c9341435450a391a7c2a2fef
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-14 17:07:30 -05:00
Zuul 5aa0cb5141 Merge "[Doc] openstackdocstheme starlingxdocs theme" 2018-10-22 12:46:47 +00:00
Abraham Arce 98506b17b7 [Doc] openstackdocstheme starlingxdocs theme
Enable starlingxdocs theme support for:

- Documentation
- Release Notes

Add zuul post job:

- publish-stx-docs

Change-Id: I921e74b0e3e54c4819b17bdeb51c90751d4664e9
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-10-20 19:45:39 +00:00
hazelnutsgz 9776a4d294 Fix the string coding inconsistency between python2 and python3
Change-Id: I0e926e58f65834205da028549d3a38df55c07f5e
Task: 24628
Story: 2003432
2018-10-19 13:17:37 +08:00
Dean Troyer dfe0ebc08a Add relnotes publish job
* Add pointers in the main doc to releasenotes pages
* Add publish-stx-releasenotes job
* Add search at bottom of relnotes page to trigger the job

Change-Id: Ia1d72b8d2a47c874e4d1d9131b53a21f6af18b41
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-12 15:08:13 -05:00
Dean Troyer d5914725c5 Add publish job for docs
Also set the theme to alabaster until starlingxdocs is ready

Change-Id: Ib61a6642e5a7f2122600958c6a6a8409c6ec3056
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-06 14:10:14 -05:00
Abraham Arce 400b79bb4d [Doc] SPDX License Identifier
- Change to SPDX-License-Identifier: Apache-2.0

Change-Id: I80689773792abec1d9712956ceb42a6faa84a56f
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 12:36:14 -05:00
Abraham Arce 1763a2d893 [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0]:

* Use build-openstack-releasenotes job for release notes
  (We can't use the OpenStack releasenotes template as it includes
  publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
  notes, re-using the releasenotes venv.

[0] https://docs.openstack.org/reno/latest/

Story: 2003101
Task: 26717

Change-Id: I03c426c9a493541a6b0be699bce59c69b3a6f3c3
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 05:44:57 -05:00
Abraham Arce f9fe2a4787 [Doc] Building docs following Docs Contrib Guide
Baseline changes to comply with OpenStack Documentation
Contributor Guide [0] starting with the following sections:

- Project guide setup
  - [1] sphinx-quickstart
  - [2] doc/source/ layout
- Building documentation
  - [3] tox -e docs
- Using documentation tools
  - [4] openstackdocstheme
- Use build-openstack-docs-pti job template for docs

[0] https://docs.openstack.org/doc-contrib-guide
[1] http://www.sphinx-doc.org/en/master/usage/quickstart.html
[2] https://docs.openstack.org/doc-contrib-guide/project-guides.html
[3] https://docs.openstack.org/doc-contrib-guide/docs-builds.html
[4] https://docs.openstack.org/openstackdocstheme/

Story: 2002708
Task: 26715

Story: 2002813
Task: 26716

Change-Id: Ida8172911766f055203ee6131a33fe40558d5fda
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 03:54:46 -05:00