浏览代码

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

Disable collapsing tabs for codeblocks
Max Hilbrunner 1 年之前
父节点
当前提交
48e40ccf09
共有 1 个文件被更改,包括 3 次插入0 次删除
  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.
 sphinx_tabs_nowarn = True
 
+# Disable collapsing tabs for codeblocks.
+sphinx_tabs_disable_tab_closing = True
+
 # Custom 4O4 page HTML template.
 # https://github.com/readthedocs/sphinx-notfound-page
 notfound_context = {