Skip to content

Commit cf5390e

Browse files
authored
doc: add note about using include with tabs (#173)
Close #172
1 parent 973a049 commit cf5390e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,3 +385,6 @@ The first argument to a `code-tab` is the name of the language to use for code h
385385
}
386386

387387
Code tabs support highlighting using `custom syntax highlighters <https://pygments.org/docs/lexerdevelopment/>`_ that have been loaded in the sphinx configuration. To use custom lexers, pass the lexers alias as the first argument of `code-tab`.
388+
389+
.. note::
390+
Sphinx's `include` directive does not work inside `code-tab`. Use `tab` or `group-tab` instead.

0 commit comments

Comments
 (0)