Ask Your Question

Revision history [back]

Dynamic documentation, how to use EXAMPLE:: tag?

Dear all, I'm writing the documentation of a package. A function described answers the time taken by the computation (and other things). Problem: this time varies ... `

 EXAMPLE::
 sage: give_me_the_time_taken_to_process(input_data)
 0.03s

Since Sagemath runs doctest, it tests this example and issues a warning every time the time taken is different -- Do you have a good solution for me? Many thanks in advance! Olivier