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

dynamic_functions not working in options

Open danwos opened this issue 2 years ago • 0 comments

The dynamic-functions seem to be not working inside options. I have this code (own type, extra options and links):

.. usecase:: Create object-driven documentations
   :id: UC_OBJECT
   :requires: [[links_from_content()]]
   :version: [[copy('title')]]
   
    [[copy('title')]]
    [[links_from_content()]]

   :need:`SOME_ID`

The dynamic functions inside the content are working. However, the same functions get not resolved inside options.

Not sure what the reason for this is and why our test cases have not detected it.

Maybe with the latest changes in our sphinx event-handling, the needed code gets not executed at the right point in time.

danwos avatar Nov 30 '22 12:11 danwos