From 2998bfc368dfe6f6692ac4bc15b0f8ce919f8261 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 5 Jun 2024 18:20:59 +0200 Subject: Adding debian version 7.3.7-1. Signed-off-by: Daniel Baumann --- debian/patches/docutils_manpage_macros.diff | 12 ++-- debian/patches/intersphinx_local.diff | 8 +-- .../move_sphinxcontrib_to_extras_require.diff | 10 +-- debian/patches/python_3.11.7.diff | 77 ---------------------- debian/patches/python_3.12.3.diff | 25 ------- debian/patches/remove_contrib_references.diff | 12 ++-- debian/patches/reproducible_searchindex.diff | 68 ------------------- debian/patches/series | 5 -- debian/patches/skip_tests_jsmath.diff | 16 ++--- debian/patches/skip_tests_network.diff | 21 ------ debian/patches/skip_tests_serializinghtml.diff | 10 +-- debian/patches/support_old_search_indexes.diff | 48 -------------- debian/patches/use_packaged_mathjax.diff | 4 +- 13 files changed, 36 insertions(+), 280 deletions(-) delete mode 100644 debian/patches/python_3.11.7.diff delete mode 100644 debian/patches/python_3.12.3.diff delete mode 100644 debian/patches/reproducible_searchindex.diff delete mode 100644 debian/patches/skip_tests_network.diff delete mode 100644 debian/patches/support_old_search_indexes.diff (limited to 'debian/patches') diff --git a/debian/patches/docutils_manpage_macros.diff b/debian/patches/docutils_manpage_macros.diff index 4bf22dc..b854af4 100644 --- a/debian/patches/docutils_manpage_macros.diff +++ b/debian/patches/docutils_manpage_macros.diff @@ -4,15 +4,15 @@ Subject: Make test_build_manpage pass with docutils 0.19+dfsg-7 I backported the change from upstream 0.21 to our 0.19 and 0.20 packaging. --- - tests/test_build_manpage.py | 2 +- + tests/test_builders/test_build_manpage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py -index e765644..2fc2014 100644 ---- a/tests/test_build_manpage.py -+++ b/tests/test_build_manpage.py +diff --git a/tests/test_builders/test_build_manpage.py b/tests/test_builders/test_build_manpage.py +index 7172281..735f597 100644 +--- a/tests/test_builders/test_build_manpage.py ++++ b/tests/test_builders/test_build_manpage.py @@ -52,7 +52,7 @@ def test_captioned_code_block(app, status, warning): - app.builder.build_all() + app.build(force_all=True) content = (app.outdir / 'python.1').read_text(encoding='utf8') - if docutils.__version_info__[:2] < (0, 21): diff --git a/debian/patches/intersphinx_local.diff b/debian/patches/intersphinx_local.diff index 1eff330..8f63354 100644 --- a/debian/patches/intersphinx_local.diff +++ b/debian/patches/intersphinx_local.diff @@ -10,10 +10,10 @@ during build. 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py -index 416158f..a262354 100644 +index 437b08f..8b21457 100644 --- a/doc/conf.py +++ b/doc/conf.py -@@ -117,9 +117,8 @@ texinfo_documents = [ +@@ -159,9 +159,8 @@ texinfo_documents = [ ] intersphinx_mapping = { @@ -26,10 +26,10 @@ index 416158f..a262354 100644 # Sphinx document translation with sphinx gettext feature uses these settings: diff --git a/doc/tutorial/deploying.rst b/doc/tutorial/deploying.rst -index e16abdf..1c4e3c6 100644 +index 6b7913f..f5fd24e 100644 --- a/doc/tutorial/deploying.rst +++ b/doc/tutorial/deploying.rst -@@ -160,13 +160,16 @@ Read the Docs +@@ -155,13 +155,16 @@ Read the Docs ~~~~~~~~~~~~~ `Read the Docs`_ offers integration with both GitHub and GitLab. The quickest diff --git a/debian/patches/move_sphinxcontrib_to_extras_require.diff b/debian/patches/move_sphinxcontrib_to_extras_require.diff index 9fa47ea..8e73096 100644 --- a/debian/patches/move_sphinxcontrib_to_extras_require.diff +++ b/debian/patches/move_sphinxcontrib_to_extras_require.diff @@ -7,10 +7,10 @@ Subject: Move sphinxcontrib modules to extras_require 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml -index 0a9bc9e..6383e31 100644 +index 8aa49aa..5dbb696 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -55,12 +55,6 @@ classifiers = [ +@@ -56,12 +56,6 @@ classifiers = [ "Topic :: Utilities", ] dependencies = [ @@ -22,10 +22,10 @@ index 0a9bc9e..6383e31 100644 - "sphinxcontrib-qthelp", "Jinja2>=3.0", "Pygments>=2.14", - "docutils>=0.18.1,<0.21", -@@ -96,6 +90,14 @@ test = [ + "docutils>=0.18.1,<0.22", +@@ -98,6 +92,14 @@ test = [ + "cython>=3.0", "setuptools>=67.0", # for Cython compilation - "filelock", ] +sphinxcontrib = [ + "sphinxcontrib-applehelp", diff --git a/debian/patches/python_3.11.7.diff b/debian/patches/python_3.11.7.diff deleted file mode 100644 index 02ed97f..0000000 --- a/debian/patches/python_3.11.7.diff +++ /dev/null @@ -1,77 +0,0 @@ -From: Hugo van Kemenade -Date: Mon, 11 Dec 2023 12:01:55 +0200 -Subject: Fix autodoc tests for Python 3.11.7+ - -Origin: https://github.com/sphinx-doc/sphinx/pull/11793 ---- - tests/test_ext_autodoc_configs.py | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/tests/test_ext_autodoc_configs.py b/tests/test_ext_autodoc_configs.py -index 45bc729..2e8f40c 100644 ---- a/tests/test_ext_autodoc_configs.py -+++ b/tests/test_ext_autodoc_configs.py -@@ -1584,6 +1584,14 @@ def test_autodoc_typehints_format_fully_qualified_for_newtype_alias(app): - - @pytest.mark.sphinx('html', testroot='ext-autodoc') - def test_autodoc_default_options(app): -+ if ( -+ (3, 11, 7) <= sys.version_info < (3, 12) -+ or sys.version_info >= (3, 12, 1) -+ ): -+ list_of_weak_references = " list of weak references to the object" -+ else: -+ list_of_weak_references = " list of weak references to the object (if defined)" -+ - # no settings - actual = do_autodoc(app, 'class', 'target.enums.EnumCls') - assert ' .. py:attribute:: EnumCls.val1' not in actual -@@ -1627,7 +1635,7 @@ def test_autodoc_default_options(app): - assert ' Iterate squares of each value.' in actual - if not IS_PYPY: - assert ' .. py:attribute:: CustomIter.__weakref__' in actual -- assert ' list of weak references to the object (if defined)' in actual -+ assert list_of_weak_references in actual - - # :exclude-members: None - has no effect. Unlike :members:, - # :special-members:, etc. where None == "include all", here None means -@@ -1651,13 +1659,21 @@ def test_autodoc_default_options(app): - assert ' Iterate squares of each value.' in actual - if not IS_PYPY: - assert ' .. py:attribute:: CustomIter.__weakref__' in actual -- assert ' list of weak references to the object (if defined)' in actual -+ assert list_of_weak_references in actual - assert ' .. py:method:: CustomIter.snafucate()' in actual - assert ' Makes this snafucated.' in actual - - - @pytest.mark.sphinx('html', testroot='ext-autodoc') - def test_autodoc_default_options_with_values(app): -+ if ( -+ (3, 11, 7) <= sys.version_info < (3, 12) -+ or sys.version_info >= (3, 12, 1) -+ ): -+ list_of_weak_references = " list of weak references to the object" -+ else: -+ list_of_weak_references = " list of weak references to the object (if defined)" -+ - # with :members: - app.config.autodoc_default_options = {'members': 'val1,val2'} - actual = do_autodoc(app, 'class', 'target.enums.EnumCls') -@@ -1698,7 +1714,7 @@ def test_autodoc_default_options_with_values(app): - assert ' Iterate squares of each value.' in actual - if not IS_PYPY: - assert ' .. py:attribute:: CustomIter.__weakref__' not in actual -- assert ' list of weak references to the object (if defined)' not in actual -+ assert list_of_weak_references not in actual - - # with :exclude-members: - app.config.autodoc_default_options = { -@@ -1722,6 +1738,6 @@ def test_autodoc_default_options_with_values(app): - assert ' Iterate squares of each value.' in actual - if not IS_PYPY: - assert ' .. py:attribute:: CustomIter.__weakref__' not in actual -- assert ' list of weak references to the object (if defined)' not in actual -+ assert list_of_weak_references not in actual - assert ' .. py:method:: CustomIter.snafucate()' not in actual - assert ' Makes this snafucated.' not in actual diff --git a/debian/patches/python_3.12.3.diff b/debian/patches/python_3.12.3.diff deleted file mode 100644 index 5df6857..0000000 --- a/debian/patches/python_3.12.3.diff +++ /dev/null @@ -1,25 +0,0 @@ -From: James Addison <55152140+jayaddison@users.noreply.github.com> -Date: Fri, 8 Mar 2024 10:58:04 +0000 -Subject: [tests] reflect changes to Enum signature in Python 3.12.3 (#12054) - -(cherry picked from commit 5523c9bbe4d1415777669330411d4f00ad802f18) ---- - tests/test_ext_autodoc.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py -index 7062763..5f63214 100644 ---- a/tests/test_ext_autodoc.py -+++ b/tests/test_ext_autodoc.py -@@ -1407,7 +1407,10 @@ def test_enum_class(app): - options = {"members": None} - actual = do_autodoc(app, 'class', 'target.enums.EnumCls', options) - -- if sys.version_info[:2] >= (3, 12): -+ if sys.version_info[:3] >= (3, 12, 3): -+ args = ('(value, names=, *values, module=None, ' -+ 'qualname=None, type=None, start=1, boundary=None)') -+ elif sys.version_info[:2] >= (3, 12): - args = ('(value, names=None, *values, module=None, ' - 'qualname=None, type=None, start=1, boundary=None)') - elif sys.version_info[:2] >= (3, 11): diff --git a/debian/patches/remove_contrib_references.diff b/debian/patches/remove_contrib_references.diff index 8510649..ce28b5b 100644 --- a/debian/patches/remove_contrib_references.diff +++ b/debian/patches/remove_contrib_references.diff @@ -10,10 +10,10 @@ dependency loops anyway. 2 files changed, 25 deletions(-) diff --git a/doc/usage/builders/index.rst b/doc/usage/builders/index.rst -index ce2c5dc..01172a7 100644 +index 9c538ee..21763c1 100644 --- a/doc/usage/builders/index.rst +++ b/doc/usage/builders/index.rst -@@ -68,12 +68,6 @@ The builder's "name" must be given to the **-b** command-line option of +@@ -121,12 +121,6 @@ The most common builders are: also generates HTML Help support files that allow the Microsoft HTML Help Workshop to compile them into a CHM file. @@ -26,7 +26,7 @@ index ce2c5dc..01172a7 100644 .. module:: sphinxcontrib.qthelp .. class:: QtHelpBuilder -@@ -85,12 +79,6 @@ The builder's "name" must be given to the **-b** command-line option of +@@ -138,12 +132,6 @@ The most common builders are: Moved to sphinxcontrib.qthelp from sphinx.builders package. @@ -39,7 +39,7 @@ index ce2c5dc..01172a7 100644 .. _Qt help: https://doc.qt.io/qt-4.8/qthelp-framework.html .. module:: sphinxcontrib.applehelp -@@ -111,12 +99,6 @@ The builder's "name" must be given to the **-b** command-line option of +@@ -164,12 +152,6 @@ The most common builders are: output will not be valid until :program:`hiutil` has been run on all of the ``.lproj`` folders within the bundle. @@ -52,7 +52,7 @@ index ce2c5dc..01172a7 100644 .. versionadded:: 1.3 .. versionchanged:: 2.0 -@@ -130,12 +112,6 @@ The builder's "name" must be given to the **-b** command-line option of +@@ -183,12 +165,6 @@ The most common builders are: also generates `GNOME Devhelp `__ support file that allows the GNOME Devhelp reader to view them. @@ -66,7 +66,7 @@ index ce2c5dc..01172a7 100644 Moved to sphinxcontrib.devhelp from sphinx.builders package. diff --git a/sphinx/application.py b/sphinx/application.py -index 73c157d..ebb47ca 100644 +index 7d16d9a..3791738 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -116,7 +116,6 @@ _first_party_themes = ( diff --git a/debian/patches/reproducible_searchindex.diff b/debian/patches/reproducible_searchindex.diff deleted file mode 100644 index 13b32f9..0000000 --- a/debian/patches/reproducible_searchindex.diff +++ /dev/null @@ -1,68 +0,0 @@ -From: Pietro Albini -Date: Sat, 16 Sep 2023 05:36:51 +0200 -Subject: Make `searchindex.js` deterministic (#11665) - -(cherry picked from commit 8e768e6c231c67caadecd5b43c20eb1f3a594079) ---- - sphinx/search/__init__.py | 2 +- - tests/test_search.py | 37 +++++++++++++++++++++++++++++++++++++ - 2 files changed, 38 insertions(+), 1 deletion(-) - -diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py -index 21758d3..114d7fe 100644 ---- a/sphinx/search/__init__.py -+++ b/sphinx/search/__init__.py -@@ -162,7 +162,7 @@ class _JavaScriptIndex: - SUFFIX = ')' - - def dumps(self, data: Any) -> str: -- return self.PREFIX + json.dumps(data) + self.SUFFIX -+ return self.PREFIX + json.dumps(data, sort_keys=True) + self.SUFFIX - - def loads(self, s: str) -> Any: - data = s[len(self.PREFIX):-len(self.SUFFIX)] -diff --git a/tests/test_search.py b/tests/test_search.py -index 68a7b01..d4bbef5 100644 ---- a/tests/test_search.py -+++ b/tests/test_search.py -@@ -304,3 +304,40 @@ def test_parallel(app): - app.build() - index = load_searchindex(app.outdir / 'searchindex.js') - assert index['docnames'] == ['index', 'nosearch', 'tocitem'] -+ -+ -+@pytest.mark.sphinx(testroot='search') -+def test_search_index_is_deterministic(app): -+ lists_not_to_sort = { -+ # Each element of .titles is related to the element of .docnames in the same position. -+ # The ordering is deterministic because .docnames is sorted. -+ '.titles', -+ # Each element of .filenames is related to the element of .docnames in the same position. -+ # The ordering is deterministic because .docnames is sorted. -+ '.filenames', -+ } -+ -+ # In the search index, titles inside .alltitles are stored as a tuple of -+ # (document_idx, title_anchor). Tuples are represented as lists in JSON, -+ # but their contents must not be sorted. We cannot sort them anyway, as -+ # document_idx is an int and title_anchor is a str. -+ def is_title_tuple_type(item): -+ return len(item) == 2 and isinstance(item[0], int) and isinstance(item[1], str) -+ -+ def assert_is_sorted(item, path): -+ err_path = path if path else '' -+ if isinstance(item, dict): -+ assert list(item.keys()) == sorted(item.keys()), f'{err_path} is not sorted' -+ for key, value in item.items(): -+ assert_is_sorted(value, f'{path}.{key}') -+ elif isinstance(item, list): -+ if not is_title_tuple_type(item) and path not in lists_not_to_sort: -+ assert item == sorted(item), f'{err_path} is not sorted' -+ for i, child in enumerate(item): -+ assert_is_sorted(child, f'{path}[{i}]') -+ -+ app.builder.build_all() -+ index = load_searchindex(app.outdir / 'searchindex.js') -+ # Pretty print the index. Only shown by pytest on failure. -+ print(f'searchindex.js contents:\n\n{json.dumps(index, indent=2)}') -+ assert_is_sorted(index, '') diff --git a/debian/patches/series b/debian/patches/series index 3ec9d2b..f33bbe2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ -skip_tests_network.diff no_external_css.diff remove_contrib_references.diff skip_tests_jsmath.diff @@ -6,8 +5,4 @@ use_packaged_mathjax.diff skip_tests_serializinghtml.diff move_sphinxcontrib_to_extras_require.diff intersphinx_local.diff -support_old_search_indexes.diff docutils_manpage_macros.diff -python_3.11.7.diff -python_3.12.3.diff -reproducible_searchindex.diff diff --git a/debian/patches/skip_tests_jsmath.diff b/debian/patches/skip_tests_jsmath.diff index 32647a4..ad718e0 100644 --- a/debian/patches/skip_tests_jsmath.diff +++ b/debian/patches/skip_tests_jsmath.diff @@ -3,14 +3,14 @@ Date: Wed, 25 Dec 2019 23:37:50 +0300 Subject: Skip tests that require sphinxcontrib.jsmath module --- - tests/test_build_html.py | 3 +++ + tests/test_builders/test_build_html_maths.py | 3 +++ 1 file changed, 3 insertions(+) -diff --git a/tests/test_build_html.py b/tests/test_build_html.py -index 07f101d..beef440 100644 ---- a/tests/test_build_html.py -+++ b/tests/test_build_html.py -@@ -1544,6 +1544,7 @@ def test_html_math_renderer_is_imgmath(app, status, warning): +diff --git a/tests/test_builders/test_build_html_maths.py b/tests/test_builders/test_build_html_maths.py +index 900846b..3870093 100644 +--- a/tests/test_builders/test_build_html_maths.py ++++ b/tests/test_builders/test_build_html_maths.py +@@ -20,6 +20,7 @@ def test_html_math_renderer_is_imgmath(app, status, warning): assert app.builder.math_renderer_name == 'imgmath' @@ -18,7 +18,7 @@ index 07f101d..beef440 100644 @pytest.mark.sphinx('html', testroot='basic', confoverrides={'extensions': ['sphinxcontrib.jsmath', 'sphinx.ext.imgmath']}) -@@ -1564,6 +1565,7 @@ def test_html_math_renderer_is_duplicated2(app, status, warning): +@@ -40,6 +41,7 @@ def test_html_math_renderer_is_duplicated2(app, status, warning): assert app.builder.math_renderer_name == 'imgmath' # The another one is chosen @@ -26,7 +26,7 @@ index 07f101d..beef440 100644 @pytest.mark.sphinx('html', testroot='basic', confoverrides={'extensions': ['sphinxcontrib.jsmath', 'sphinx.ext.imgmath'], -@@ -1572,6 +1574,7 @@ def test_html_math_renderer_is_chosen(app, status, warning): +@@ -48,6 +50,7 @@ def test_html_math_renderer_is_chosen(app, status, warning): assert app.builder.math_renderer_name == 'imgmath' diff --git a/debian/patches/skip_tests_network.diff b/debian/patches/skip_tests_network.diff deleted file mode 100644 index 60fe57c..0000000 --- a/debian/patches/skip_tests_network.diff +++ /dev/null @@ -1,21 +0,0 @@ -From: Dmitry Shachnev -Date: Tue, 20 Dec 2016 16:37:32 +0300 -Subject: Skip tests that require network access - -Forwarded: not-needed ---- - tests/test_build_latex.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py -index f6c3369..5996203 100644 ---- a/tests/test_build_latex.py -+++ b/tests/test_build_latex.py -@@ -1420,6 +1420,7 @@ def test_latex_raw_directive(app, status, warning): - assert 'LaTeX: abc def ghi' in result - - -+@pytest.mark.skip('Requires internet access') - @pytest.mark.sphinx('latex', testroot='images') - def test_latex_images(app, status, warning): - app.builder.build_all() diff --git a/debian/patches/skip_tests_serializinghtml.diff b/debian/patches/skip_tests_serializinghtml.diff index b9401cc..22198db 100644 --- a/debian/patches/skip_tests_serializinghtml.diff +++ b/debian/patches/skip_tests_serializinghtml.diff @@ -3,13 +3,13 @@ Date: Thu, 6 Feb 2020 23:55:28 +0300 Subject: Skip tests that require sphinxcontrib.serializinghtml module --- - tests/test_api_translator.py | 2 ++ + tests/test_writers/test_api_translator.py | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/tests/test_api_translator.py b/tests/test_api_translator.py -index 2185fb8..66aa17f 100644 ---- a/tests/test_api_translator.py -+++ b/tests/test_api_translator.py +diff --git a/tests/test_writers/test_api_translator.py b/tests/test_writers/test_api_translator.py +index 9f2bd44..1c8defb 100644 +--- a/tests/test_writers/test_api_translator.py ++++ b/tests/test_writers/test_api_translator.py @@ -36,6 +36,7 @@ def test_singlehtml_set_translator_for_singlehtml(app, status, warning): assert translator_class.__name__ == 'ConfSingleHTMLTranslator' diff --git a/debian/patches/support_old_search_indexes.diff b/debian/patches/support_old_search_indexes.diff deleted file mode 100644 index 450e5e8..0000000 --- a/debian/patches/support_old_search_indexes.diff +++ /dev/null @@ -1,48 +0,0 @@ -From: Dmitry Shachnev -Date: Sat, 11 Dec 2021 19:19:27 +0300 -Subject: Make searchtools.js support documentation built with old Sphinx - -Sphinx 4.3 has changed format of searchindex.js files, but in Debian -there are lots of packages built with older Sphinx, and we want to -keep them working for some time. - -Also support legacy custom search.html templates, which don't have -data-content_root attribute on the top-level element. - -Forwarded: not-needed ---- - sphinx/themes/basic/static/searchtools.js | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/sphinx/themes/basic/static/searchtools.js b/sphinx/themes/basic/static/searchtools.js -index 7918c3f..09d6458 100644 ---- a/sphinx/themes/basic/static/searchtools.js -+++ b/sphinx/themes/basic/static/searchtools.js -@@ -62,7 +62,8 @@ const _displayItem = (item, searchTerms, highlightTerms) => { - const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX; - const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; - const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; -- const contentRoot = document.documentElement.dataset.content_root; -+ const contentRoot = document.documentElement.dataset.content_root -+ ?? DOCUMENTATION_OPTIONS.URL_ROOT; - - const [docName, title, anchor, descr, score, _filename] = item; - -@@ -434,11 +435,14 @@ const Search = { - filenames[match[0]], - ]); - }; -- Object.keys(objects).forEach((prefix) => -+ Object.keys(objects).forEach((prefix) => { -+ if (!(objects[prefix] instanceof Array)) { -+ objects[prefix] = Object.entries(objects[prefix]).map(([name, match]) => [...match, name]); -+ } - objects[prefix].forEach((array) => - objectSearchCallback(prefix, array) -- ) -- ); -+ ); -+ }); - return results; - }, - diff --git a/debian/patches/use_packaged_mathjax.diff b/debian/patches/use_packaged_mathjax.diff index 28405ca..e9694da 100644 --- a/debian/patches/use_packaged_mathjax.diff +++ b/debian/patches/use_packaged_mathjax.diff @@ -7,10 +7,10 @@ Subject: Use packaged MathJax (for our own documentation) 1 file changed, 1 insertion(+) diff --git a/doc/conf.py b/doc/conf.py -index d4915aa..416158f 100644 +index 49fcba4..437b08f 100644 --- a/doc/conf.py +++ b/doc/conf.py -@@ -185,6 +185,7 @@ nitpick_ignore = { +@@ -230,6 +230,7 @@ nitpick_ignore = { ('std:confval', 'globaltoc_maxdepth'), } -- cgit v1.2.3