Skip to content

Releases: melexis/sphinx-traceability-extension

Improve pie charts

09 Sep 11:30
25c0917
Compare
Choose a tag to compare

Only the item-piechart directive has been modified [PR #304]:

Added:

  • The title can be hidden with the flag :hidetitle:.
  • The generated images have the class pie-chart for easier manipulation with CSS.
  • Use svg for HTML and pdf for PDF output instead of png.

Fixed:

  • Long labels were not fully rendered. The image width now adapts to the length of the labels instead of being fixed.

Fix broken relationship links in HTML output

23 Aug 07:44
ec79743
Compare
Choose a tag to compare

Fixed:

  • item directive: some relationship links were broken in HTML format [PR #303]

Fix bug that causes some relationships to be hidden

18 Aug 11:26
55cb19d
Compare
Choose a tag to compare

Fixed:

  • item directive: Not all relationships are listed [PR #302]

Improvements to item matrix for displaying intermediates

01 Aug 16:03
00ddd27
Compare
Choose a tag to compare

One of the major backwards compatibility changes to item-matrix are:

  • splitintermediates now displays all intermediates, regardless of the covered status
  • if you have both coveredintermediates and splitintermediates to achieve previous behavior remove the splitintermediates.

The build performance (speed and memory usage) was greatly improved in this version. Over 20% less memory is used in big projects for building a item database, and quite some optimizations were added to improve the build time.

Deprecation of attributes in this version:

The time has come to also deprecate some of the options which in 8.x produced warnings, but now they have been removed and will produce an error. Both two options you can use a simple search and replace or use sed:

  • option 'sourceattributes' in item-matrix is deprecated. Use 'sourcecolumns' instead. sed -i "s/:sourceattributes:/:sourcecolumns:/g" *.rst
  • option 'targetattributes' in item-matrix is deprecated. Use 'targetcolumns' instead. sed -i "s/:targetattributes:/:targetcolumns:/g" *.rst
  • support for Python 3.5 and 3.6 was dropped.

What's Changed

Full Changelog: v8.9.0...v9.0.0

Added features to item-piechart and item-matrix directives

25 Jul 11:22
e2bc25b
Compare
Choose a tag to compare

Added:

  • item-piechart directive: Support filtering and labeling by relationship type by adding the :sourcetype: and :targettype: options [PR #283]
  • item-matrix directive: Add :filtertarget: flag [PR #284]

Fixed:

  • item-piechart directive: Fixed a corner case in which the wrong label was used to label a source item that is covered by more than one target [PR #283]

No longer generate a blank image for an empty item-piechart

24 Jun 14:36
26bc3b8
Compare
Choose a tag to compare
  • Fix: No longer generate a blank image for an empty item-piechart [PR #278]
  • Document how regular expressions are handled [PR #279]
  • Address docutils deprecation warnings [PR #280]
  • Refactor query_checklist [PR #277]

Add option to decide on git platform for checklist items

22 Jun 20:22
791e0e3
Compare
Choose a tag to compare

The most prominent option now is that if your API URL does not contain github or gitlab, you can still define the git platform in your conf.py and enable proper querying of the instance to fill in/embed merge request (or pull request) checklists in your documentation

Secondary the declaration for parallel build/write was also added as that solves a warning and a contact information fixup.

Add features to item-piechart directive

09 Jun 15:06
5c154af
Compare
Choose a tag to compare
  • Support configuration of the colors of the item-piechart [PR #267]
  • Support filtering of source items on attributes in item-piechart [PR #266]
  • Minor refactoring [PR #259, #265]

Add secondary callback function to inspect items

17 May 11:50
c0bcc3d
Compare
Choose a tag to compare

Add secondary callback function traceability_inspect_item, which can be defined in conf.py to inspect traceable items and detect gaps in your documentation [PR #258]

Fix class option of item directive

01 Apr 08:17
f5f4757
Compare
Choose a tag to compare

Make :class: option work for item directive [PR #256]