sphinx-needs icon indicating copy to clipboard operation
sphinx-needs copied to clipboard

Multiline options issues with variants and with links

Open David-Le-Nir opened this issue 2 years ago • 0 comments

I have 2 issues with multiline options I can create 2 different tickets if required.

  1. when using variants, the variant is not applied, i.e. all values are displayed

I tried

.. req:: req 001
   :id: REQ_001
   :variable_field: 
      | var_a:value1; 
      | var_b:value2
   
  This is req content

The version with single line work as expected, only one value is displayed :variable_field: var_a:value1; var_b:value2

  1. When the multiline values are extra_links, they are not resolved as the | char is taken as part of the string
.. req:: req 001
   :id: REQ_001
   :extra_link: 
      | req_002,
      | req_003
   
  This is req content

The | req_002 for example is not found however the req_002 is properly resolved without the multiline

David-Le-Nir avatar Apr 20 '23 15:04 David-Le-Nir