Closed
Description
Context
Sphinx's include
directive allows including the entire code from another file.
.. include:: my/code.py
:code: python
It would be nice if we had this feature in code tabs.
Proposal
Propsal A: allow include
nested in code-tab
.. tabs::
.. code-tab::
.. include:: my/code.py
:code: python
Proposal B: add :include:
option to code-tab
.. tabs::
.. code-tab::
:include: my/code.py
Tasks and updates
No response