qibolab icon indicating copy to clipboard operation
qibolab copied to clipboard

Missing imports in documentation

Open stavros11 opened this issue 11 months ago • 1 comments

          Maybe we should take the time to investigate this, even if probably not immediately. It could be confusing for users (as it was in #801), and maybe there is a configuration to change this behavior.

Originally posted by @alecandido in https://github.com/qiboteam/qibolab/pull/789#discussion_r1513501563

We should investigate why CI is not failing even if some doctest cells, such as https://github.com/qiboteam/qibolab/blob/595351782d55a20fa2b8c35104c000092e42f585/doc/source/main-documentation/qibolab.rst?plain=1#L392 and https://github.com/qiboteam/qibolab/blob/595351782d55a20fa2b8c35104c000092e42f585/doc/source/main-documentation/qibolab.rst?plain=1#L512 are missing imports.

stavros11 avatar Mar 06 '24 08:03 stavros11

Ran into the same thing, hence, decided to use literal includes. See also:

  • https://github.com/qiboteam/qibolab/issues/802
  • with related PR: https://github.com/qiboteam/qibolab/pull/807

rscircus avatar Apr 21 '24 04:04 rscircus