Browse Source

Merge pull request #8342 from Repiteo/disable-tab-collapse

Disable collapsing tabs for codeblocks
Max Hilbrunner 1 năm trước cách đây
mục cha
commit
48e40ccf09
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      conf.py

+ 3 - 0
conf.py

@@ -25,6 +25,9 @@ extensions = [
 # we can ignore this so we still can treat other warnings as errors.
 # we can ignore this so we still can treat other warnings as errors.
 sphinx_tabs_nowarn = True
 sphinx_tabs_nowarn = True
 
 
+# Disable collapsing tabs for codeblocks.
+sphinx_tabs_disable_tab_closing = True
+
 # Custom 4O4 page HTML template.
 # Custom 4O4 page HTML template.
 # https://github.com/readthedocs/sphinx-notfound-page
 # https://github.com/readthedocs/sphinx-notfound-page
 notfound_context = {
 notfound_context = {