From a50231bf7f333c05739d0d5e01f693ed6d3826eb Mon Sep 17 00:00:00 2001 From: JSS95 <52185322+JSS95@users.noreply.github.com> Date: Wed, 7 Dec 2022 01:04:32 +0900 Subject: [PATCH] doc: add note about using `include` with tabs Close #172 --- docs/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 42a4a56..242aa12 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -385,3 +385,6 @@ The first argument to a `code-tab` is the name of the language to use for code h } Code tabs support highlighting using `custom syntax highlighters `_ that have been loaded in the sphinx configuration. To use custom lexers, pass the lexers alias as the first argument of `code-tab`. + +.. note:: + Sphinx's `include` directive does not work inside `code-tab`. Use `tab` or `group-tab` instead.