Skip to content

Remove qtassistant and reduce size of mantiddocs package #37248

@peterfpeterson

Description

@peterfpeterson

The current mantid help system uses qtassistant to show the help documentation. This method of including the docs is always in agreement with the code. However, there are some problems with this approach:

  1. The mantiddocs package is ~200MB. A large portion of this is because qtassistant wants the docs to be in a compressed archive and unpacked.
  2. qtassistant doesn't support javascript. javascript support would allow rendering equations in the application (rather than converting them to png via latex) and allow for sphinx plugins.
  3. The online docs are a separate build, with separate artifacts, from the offline docs

Describe the solution you'd like

Moving to qwebengine is the preferred approach. This will allow for richer HTML pages rendered in the help window which gets rid of a ton of images in the docs package.

There is a desire to make the mantiddocs package optional and use the versioned online help if it isn't installed.

Describe alternatives you've considered

qtwebview might be able to do it


This should take care of #34739

Metadata

Metadata

Assignees

No one assigned

    Labels

    ORNL TeamIssues and pull requests managed by the ORNL development team

    Type

    No type

    Projects

    Status

    Release 6.14

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions