{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== 'PDF TO Markdown' && linkText !== 'PDF TO Markdown' ) { link.textContent = 'PDF TO Markdown'; link.href = 'https://fast360.xyz'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== 'Voice Cloning' ) { link.textContent = 'Voice Cloning'; link.href = 'https://vibevoice.info/'; replacedLinks.add(link); } // 删除Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, 'PDF TO Markdown'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); \ndiff --git a/mkdocs/themes/readthedocs/base.html b/mkdocs/themes/readthedocs/base.html\nindex 6caa756ad7..6c255e0629 100644\n--- a/mkdocs/themes/readthedocs/base.html\n+++ b/mkdocs/themes/readthedocs/base.html\n@@ -104,7 +104,7 @@\n
\n {%- endif %}\n {%- block search_button %}\n- {%- if 'search' in config['plugins'] %}{%- include \"searchbox.html\" %}{%- endif %}\n+ {%- if 'search' in config.plugins %}{%- include \"searchbox.html\" %}{%- endif %}\n {%- endblock %}\n
\n \n"},"test_patch":{"kind":"string","value":"diff --git a/mkdocs/tests/base.py b/mkdocs/tests/base.py\nindex 28e3fd3c1f..c480eaa26e 100644\n--- a/mkdocs/tests/base.py\n+++ b/mkdocs/tests/base.py\n@@ -23,20 +23,17 @@ def get_markdown_toc(markdown_source):\n return md.toc_tokens\n \n \n-def load_config(**cfg) -> MkDocsConfig:\n+def load_config(config_file_path: str | None = None, **cfg) -> MkDocsConfig:\n \"\"\"Helper to build a simple config for testing.\"\"\"\n path_base = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'integration', 'minimal')\n- cfg = cfg or {}\n if 'site_name' not in cfg:\n cfg['site_name'] = 'Example'\n- if 'config_file_path' not in cfg:\n- cfg['config_file_path'] = os.path.join(path_base, 'mkdocs.yml')\n if 'docs_dir' not in cfg:\n # Point to an actual dir to avoid a 'does not exist' error on validation.\n cfg['docs_dir'] = os.path.join(path_base, 'docs')\n if 'plugins' not in cfg:\n cfg['plugins'] = []\n- conf = MkDocsConfig(config_file_path=cfg['config_file_path'])\n+ conf = MkDocsConfig(config_file_path=config_file_path or os.path.join(path_base, 'mkdocs.yml'))\n conf.load_dict(cfg)\n \n errors_warnings = conf.validate()\ndiff --git a/mkdocs/tests/config/config_tests.py b/mkdocs/tests/config/config_tests.py\nindex 10d092e98c..c43690c4cd 100644\n--- a/mkdocs/tests/config/config_tests.py\n+++ b/mkdocs/tests/config/config_tests.py\n@@ -218,13 +218,10 @@ def test_theme(self, mytheme, custom):\n self.assertEqual({k: conf['theme'][k] for k in iter(conf['theme'])}, result['vars'])\n \n def test_empty_nav(self):\n- conf = defaults.MkDocsConfig()\n- conf.load_dict(\n- {\n- 'site_name': 'Example',\n- 'config_file_path': os.path.join(os.path.abspath('.'), 'mkdocs.yml'),\n- }\n+ conf = defaults.MkDocsConfig(\n+ config_file_path=os.path.join(os.path.abspath('.'), 'mkdocs.yml')\n )\n+ conf.load_dict({'site_name': 'Example'})\n conf.validate()\n self.assertEqual(conf['nav'], None)\n \n@@ -242,10 +239,8 @@ def test_error_on_pages(self):\n self.assertEqual(warnings, [])\n \n def test_doc_dir_in_site_dir(self):\n- j = os.path.join\n-\n test_configs = (\n- {'docs_dir': j('site', 'docs'), 'site_dir': 'site'},\n+ {'docs_dir': os.path.join('site', 'docs'), 'site_dir': 'site'},\n {'docs_dir': 'docs', 'site_dir': '.'},\n {'docs_dir': '.', 'site_dir': '.'},\n {'docs_dir': 'docs', 'site_dir': ''},\n@@ -253,23 +248,17 @@ def test_doc_dir_in_site_dir(self):\n {'docs_dir': 'docs', 'site_dir': 'docs'},\n )\n \n- cfg = {\n- 'config_file_path': j(os.path.abspath('..'), 'mkdocs.yml'),\n- }\n-\n for test_config in test_configs:\n with self.subTest(test_config):\n- patch = {**cfg, **test_config}\n-\n # Same as the default schema, but don't verify the docs_dir exists.\n conf = config.Config(\n schema=(\n ('docs_dir', c.Dir(default='docs')),\n ('site_dir', c.SiteDir(default='site')),\n- ('config_file_path', c.Type(str)),\n- )\n+ ),\n+ config_file_path=os.path.join(os.path.abspath('..'), 'mkdocs.yml'),\n )\n- conf.load_dict(patch)\n+ conf.load_dict(test_config)\n \n errors, warnings = conf.validate()\n \ndiff --git a/mkdocs/tests/plugin_tests.py b/mkdocs/tests/plugin_tests.py\nindex 316bd5c76e..7474f607b4 100644\n--- a/mkdocs/tests/plugin_tests.py\n+++ b/mkdocs/tests/plugin_tests.py\n@@ -29,19 +29,19 @@ class _DummyPluginConfig(base.Config):\n \n \n class DummyPlugin(plugins.BasePlugin[_DummyPluginConfig]):\n- def on_pre_page(self, content, **kwargs):\n+ def on_page_content(self, html, **kwargs) -> str:\n \"\"\"modify page content by prepending `foo` config value.\"\"\"\n- return f'{self.config.foo} {content}'\n+ return f'{self.config.foo} {html}'\n \n- def on_nav(self, item, **kwargs):\n+ def on_nav(self, nav, **kwargs) -> None:\n \"\"\"do nothing (return None) to not modify item.\"\"\"\n return None\n \n- def on_page_read_source(self, **kwargs):\n+ def on_page_read_source(self, **kwargs) -> str:\n \"\"\"create new source by prepending `foo` config value to 'source'.\"\"\"\n return f'{self.config.foo} source'\n \n- def on_pre_build(self, **kwargs):\n+ def on_pre_build(self, **kwargs) -> None:\n \"\"\"do nothing (return None).\"\"\"\n return None\n \n@@ -121,40 +121,40 @@ def test_correct_events_registered(self):\n 'pre_template': [],\n 'template_context': [],\n 'post_template': [],\n- 'pre_page': [plugin.on_pre_page],\n+ 'pre_page': [],\n 'page_read_source': [plugin.on_page_read_source],\n 'page_markdown': [],\n- 'page_content': [],\n+ 'page_content': [plugin.on_page_content],\n 'page_context': [],\n 'post_page': [],\n },\n )\n \n- def test_event_priorities(self):\n+ def test_event_priorities(self) -> None:\n class PrioPlugin(plugins.BasePlugin):\n config_scheme = base.get_schema(_DummyPluginConfig)\n \n @plugins.event_priority(100)\n- def on_pre_page(self, content, **kwargs):\n+ def on_page_content(self, html, **kwargs) -> None:\n pass\n \n @plugins.event_priority(-100)\n- def on_nav(self, item, **kwargs):\n+ def on_nav(self, nav, **kwargs) -> None:\n pass\n \n- def on_page_read_source(self, **kwargs):\n+ def on_page_read_source(self, **kwargs) -> None:\n pass\n \n @plugins.event_priority(-50)\n- def on_post_build(self, **kwargs):\n+ def on_post_build(self, **kwargs) -> None:\n pass\n \n collection = plugins.PluginCollection()\n collection['dummy'] = dummy = DummyPlugin()\n collection['prio'] = prio = PrioPlugin()\n self.assertEqual(\n- collection.events['pre_page'],\n- [prio.on_pre_page, dummy.on_pre_page],\n+ collection.events['page_content'],\n+ [prio.on_page_content, dummy.on_page_content],\n )\n self.assertEqual(\n collection.events['nav'],\n@@ -190,7 +190,10 @@ def test_run_event_on_collection(self):\n plugin = DummyPlugin()\n plugin.load_config({'foo': 'new'})\n collection['foo'] = plugin\n- self.assertEqual(collection.run_event('pre_page', 'page content'), 'new page content')\n+ self.assertEqual(\n+ collection.on_page_content('page content', page=None, config={}, files=[]),\n+ 'new page content',\n+ )\n \n def test_run_event_twice_on_collection(self):\n collection = plugins.PluginCollection()\n@@ -201,7 +204,8 @@ def test_run_event_twice_on_collection(self):\n plugin2.load_config({'foo': 'second'})\n collection['bar'] = plugin2\n self.assertEqual(\n- collection.run_event('pre_page', 'page content'), 'second new page content'\n+ collection.on_page_content('page content', page=None, config={}, files=[]),\n+ 'second new page content',\n )\n \n def test_event_returns_None(self):\n@@ -209,25 +213,28 @@ def test_event_returns_None(self):\n plugin = DummyPlugin()\n plugin.load_config({'foo': 'new'})\n collection['foo'] = plugin\n- self.assertEqual(collection.run_event('nav', 'nav item'), 'nav item')\n+ self.assertEqual(collection.on_nav(['nav item'], config={}, files=[]), ['nav item'])\n \n def test_event_empty_item(self):\n collection = plugins.PluginCollection()\n plugin = DummyPlugin()\n plugin.load_config({'foo': 'new'})\n collection['foo'] = plugin\n- self.assertEqual(collection.run_event('page_read_source'), 'new source')\n+ self.assertEqual(collection.on_page_read_source(page=None, config={}), 'new source')\n \n def test_event_empty_item_returns_None(self):\n collection = plugins.PluginCollection()\n plugin = DummyPlugin()\n plugin.load_config({'foo': 'new'})\n collection['foo'] = plugin\n- self.assertEqual(collection.run_event('pre_build'), None)\n+ self.assertEqual(collection.on_pre_build(config={}), None)\n \n def test_run_undefined_event_on_collection(self):\n collection = plugins.PluginCollection()\n- self.assertEqual(collection.run_event('pre_page', 'page content'), 'page content')\n+ self.assertEqual(\n+ collection.on_page_markdown('page markdown', page=None, config={}, files=[]),\n+ 'page markdown',\n+ )\n \n def test_run_unknown_event_on_collection(self):\n collection = plugins.PluginCollection()\n"},"problem_statement":{"kind":"string","value":"Feature idea: Allow to override docs_dir with commandline option\nThe build command offers several options. One of them is `--site-dir` to override the setting `site_dir` in a `mkdocs.yml`.\r\n\r\nIs it possible to add an option `--docs-dir` to override the setting `docs_dir` as well?\r\n\r\nUse case: Use the same mkdocs.yml configuration file to repeatedly execute the `build` command on various different source directories.\r\n\r\n mkdocs build --config-file mkdocs.yml --docs-dir /path/to/1/docs/ --site-dir /path/build/1/\r\n mkdocs build --config-file mkdocs.yml --docs-dir /path/to/2/docs/ --site-dir /path/build/2/\r\n mkdocs build --config-file mkdocs.yml --docs-dir /path/to/3/docs/ --site-dir /path/special/3\r\n …\r\n\n"},"hints_text":{"kind":"string","value":"This might have made (some) sense in the past, however, in #1376 , which will be available in the next release, we are changing the behavior so that all paths in the config file are relative to the config file. Therefore, the config file will be more specific to a given set of files and not likely to work with multiple different `docs_dir`s.\nIt occurs to me that a way to approach this might be to merge multiple partial config files. Over the years I have seen a few different use cases that could benefit from that sort of feature. For example, other projects which use Python config files can easily `import` one into another allowing all sorts of variations with the correct set of imports with no duplicity. However, that is not something supported by YAML. While YAML does support a `merge`, that only applies to separate \"sections\" (separated by deliminators) in a single file. YAML provides no support for merging multiple files.\r\n\r\nThat said, we could potentially take the Python `dict` object from each YAML file and `merge` them. But how would the user specify which files to merge with which? And what if the user wants to merge a subsection of a setting, not the root setting object (for example, should two lists be merged or should one replace the other)? In the end if feels like we would be inventing a whole new mechanism on top of YAML, which I'd rather avoid.\r\n\r\n\n> This might have made (some) sense in the past, however, in #1376 , which will be available in the next release, we are changing the behavior so that all paths in the config file are relative to the config file.\r\n\r\nOh. But should still be possible to use this feature on the command line\r\n\r\n mkdocs build --config-file /path/to/general/mkdocs.yml --docs-dir ../1/docs/ --site-dir ../../build/1/\r\n\r\n> It occurs to me that a way to approach this might be to merge multiple partial config files. … But how would the user specify which files to merge with which?\r\n\r\nMerging values, and configuring which values should preferred, is hard. And way to much overhead for this feature here. I agree, this should be avoided.\r\n\r\nIn my use case a have one very simple `mkdocs.yml` file and a large number of documentations. All these documentation folders dont have a `mkdocs` file. Instead of copying my single file into all projects I could just use the very same file for all build commands, if I have the opportunity to set *docs* and *site* dir (only site dir possible atm).\nAny updates on this feature request? I could also use this feature as well.\r\n\r\nThis goes for really any config setting to be honest. It'd be great if we could set / override any yaml config setting via CLI.\nFWIW this is always possible:\r\n\r\n```bash\r\necho '{INHERIT: mkdocs.yml, docs_dir: docs2}' >mkdocs2.yml; mkdocs build -f mkdocs2.yml\r\n```\r\n\r\nAnd the following is *almost* possible (these two examples are equivalent in Bash):\r\n\r\n```bash\r\necho '{INHERIT: mkdocs.yml, docs_dir: docs2}' | mkdocs build -f -\r\n```\r\n```bash\r\nmkdocs build -f - <<<\"{INHERIT: mkdocs.yml, docs_dir: docs2}\" \r\n```\r\n\r\nBut currently it fails, it works only if this line is removed:\r\nhttps://github.com/mkdocs/mkdocs/blob/afb66c1bea3eb07a917803a25d5e536edd2b8084/mkdocs/config/base.py#L313\nConceptually, a site is a config file along with its dedicated docs dir, and they are tightly connected. So again just conceptually, I think it doesn't make sense to provide a special option to rip them apart for special setups where another docs dir somehow happens to match up.\r\n\r\nNote that overriding the docs dir is *not* similar to overriding the config file, because overriding the config file overrides everything, so, well, it isn't even an override."},"created_at":{"kind":"string","value":"2023-06-18T16:07:10Z"},"merged_at":{"kind":"string","value":"2023-06-19T20:22:11Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"test_not_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_not_list)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_mkdocs_config (mkdocs.tests.get_deps_tests.TestGetDeps.test_mkdocs_config)\", \"test_unrecognised_keys (mkdocs.tests.config.base_tests.ConfigBaseTests.test_unrecognised_keys)\", \"test_build_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_use_directory_urls)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_dict_of_optional (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_dict_of_optional)\", \"test_nested_anchor (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_nested_anchor)\", \"test_named_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_named_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_github)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_tests.ConfigTests.test_doc_dir_in_site_dir)\", \"test_defined (mkdocs.tests.config.config_options_legacy_tests.PrivateTest.test_defined)\", \"test_nav_bad_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_bad_links)\", \"test_load_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_missing_required)\", \"test_parse_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory)\", \"test_context_base_url_homepage (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage)\", \"test_simple_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_watch_with_broken_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watch_with_broken_symlinks)\", \"test_serve_dirtyreload (mkdocs.tests.cli_tests.CLITests.test_serve_dirtyreload)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_none)\", \"test_copy_file_same_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_same_file)\", \"test_post_validation_error (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_post_validation_error)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_builtins (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_nested_list)\", \"test_event_on_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_defaults)\", \"test_relative_html_link_sub_index_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index_hash)\", \"test_count_critical (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_critical)\", \"test_int_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_int_type)\", \"test_md_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_use_directory_urls)\", \"test_plugin_config_without_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_without_options)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_default)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_prebuild_index (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index)\", \"test_change_is_detected_while_building (mkdocs.tests.livereload_tests.BuildTests.test_change_is_detected_while_building)\", \"test_build_site_dir (mkdocs.tests.cli_tests.CLITests.test_build_site_dir)\", \"test_context_base_url_absolute_nested_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_nested_no_page)\", \"test_removed_option (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_removed_option)\", \"test_correct_events_registered (mkdocs.tests.plugin_tests.TestPluginCollection.test_correct_events_registered)\", \"test_content_parser_no_sections (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_sections)\", \"test_relative_html_link_parent_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_parent_index)\", \"test_default_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_default_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_github)\", \"test_watches_through_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_symlinks)\", \"test_plugin_config_none_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_default)\", \"test_sort_files (mkdocs.tests.structure.file_tests.TestFiles.test_sort_files)\", \"test_inherited_theme (mkdocs.tests.theme_tests.ThemeTests.test_inherited_theme)\", \"test_serve_theme (mkdocs.tests.cli_tests.CLITests.test_serve_theme)\", \"test_plugin_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_lang)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_config_missing_name)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_optional_with_default (mkdocs.tests.config.config_options_tests.TypeTest.test_optional_with_default)\", \"test_count_error (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_error)\", \"test_missing_default (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_missing_config_file (mkdocs.tests.config.config_tests.ConfigTests.test_missing_config_file)\", \"test_invalid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_invalid_plugin_options)\", \"test_skip_missing_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_extra_template)\", \"test_rebuild_after_delete (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_delete)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_bitbucket)\", \"test_builtins (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins)\", \"test_custom_dir_only (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir_only)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_port)\", \"test_copy_file_clean_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_clean_modified)\", \"test_post_validation_error (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_post_validation_error)\", \"test_plugin_config_sub_error (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_error)\", \"test_lang_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_code)\", \"test_get_themes (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes)\", \"test_nav_missing_page (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_missing_page)\", \"test_bad_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_bad_relative_html_link)\", \"test_build_theme (mkdocs.tests.cli_tests.CLITests.test_build_theme)\", \"test_provided_empty (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_empty)\", \"test_theme_default (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_default)\", \"test_nested_nonindex_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_nonindex_page)\", \"test_with_unicode (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_with_unicode)\", \"test_get_theme_dir_importerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_importerror)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_none)\", \"test_duplicates (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_context_base_url_relative_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page)\", \"test_serves_polling_with_timeout (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_timeout)\", \"test_lang_no_default_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_list)\", \"test_hooks (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks)\", \"test_count_debug (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_debug)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_build_dirty (mkdocs.tests.cli_tests.CLITests.test_build_dirty)\", \"test_not_a_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_empty_dict)\", \"test_email_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_email_link)\", \"test_relative_html_link_with_unencoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_unencoded_space)\", \"test_custom_dir (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir)\", \"test_plugin_config_with_explicit_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_theme_namespace)\", \"test_missing_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_missing_path)\", \"test_prebuild_index_raises_oserror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_oserror)\", \"test_parse_locale_invalid_characters (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_invalid_characters)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_name_is_none)\", \"test_int_type (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_int_type)\", \"test_redirects_to_directory (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_directory)\", \"test_prebuild_index_node (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_node)\", \"test_html_stripping (mkdocs.tests.search_tests.SearchIndexTests.test_html_stripping)\", \"test_content_parser_content_before_header (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_content_before_header)\", \"test_run_build_error_event (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_build_error_event)\", \"test_build_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_modified)\", \"test_parse_locale_language_territory_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory_sep)\", \"test_all_keys_are_strings (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_all_keys_are_strings)\", \"test_invalid_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_default)\", \"test_serve_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_no_directory_urls)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_format)\", \"test_build_page_plugin_error (mkdocs.tests.build_tests.BuildTests.test_build_page_plugin_error)\", \"test_relative_image_link_from_sibling (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_sibling)\", \"test_exclude_pages_with_invalid_links (mkdocs.tests.build_tests.BuildTests.test_exclude_pages_with_invalid_links)\", \"test_gh_deploy_ignore_version (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_ignore_version)\", \"test_version_unknown (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_version_unknown)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom)\", \"test_invalid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_url)\", \"test_file (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_file)\", \"test_custom_action_warns (mkdocs.tests.livereload_tests.BuildTests.test_custom_action_warns)\", \"test_indented_toc_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc_html)\", \"test_lang_default (mkdocs.tests.search_tests.SearchConfigTests.test_lang_default)\", \"test_css_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_css_file_use_directory_urls)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_rebuild_after_rename (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_rename)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_relative_html_link_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash)\", \"test_count_warning (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_warning)\", \"test_get_remote_url_ssh (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_ssh)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_complex_config)\", \"test_hooks_wrong_type (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks_wrong_type)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_redirects_to_unicode_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_unicode_mount_path)\", \"test_flat_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_toc)\", \"test_entityref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_entityref)\", \"test_javascript_file (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file)\", \"test_default (mkdocs.tests.config.config_options_tests.SubConfigTest.test_default)\", \"test_build_strict (mkdocs.tests.cli_tests.CLITests.test_build_strict)\", \"test_deploy_ignore_version_default (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version_default)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale)\", \"test_named_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_named_address)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_plugin_config_with_deduced_theme_namespace_overridden (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace_overridden)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_format)\", \"test_get_remote_url_enterprise (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_enterprise)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_none)\", \"test_build_page (mkdocs.tests.build_tests.BuildTests.test_build_page)\", \"test_serve_no_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_no_livereload)\", \"test_valid_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_address)\", \"test_plugin_config_as_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_as_dict)\", \"test_relative_html_link_sub_page (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page)\", \"test_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_translations_found)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_plugin_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_defaults)\", \"test_file (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_file)\", \"test_valid_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_address)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_mm_meta_data_blank_first_line (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data_blank_first_line)\", \"test_mixed_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_string)\", \"test_nav_no_directory_urls (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_directory_urls)\", \"test_optional (mkdocs.tests.config.config_options_tests.URLTest.test_optional)\", \"test_md_index_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested_use_directory_urls)\", \"test_yaml_inheritance_missing_parent (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance_missing_parent)\", \"test_normalize_url_windows (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url_windows)\", \"test_event_on_config_include_search_page (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_include_search_page)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_config_missing_name)\", \"test_plugin_config_none_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_empty_default)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_md_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file)\", \"test_mm_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data)\", \"test_lang_no_default_none (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_none)\", \"test_page_title_from_capitalized_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_capitalized_filename)\", \"test_git_and_shadowed (mkdocs.tests.get_deps_tests.TestGetDeps.test_git_and_shadowed)\", \"test_get_current_sha (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_current_sha)\", \"test_md_readme_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file)\", \"test_invalid_choice (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choice)\", \"test_with_unicode (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_with_unicode)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_invalid_type (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_type)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_multiple_dirs_can_cause_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_can_cause_rebuild)\", \"test_non_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_list)\", \"test_gh_deploy_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_use_directory_urls)\", \"test_copy_files (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files)\", \"test_invalid_choices (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choices)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_optional)\", \"test_mixed_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_html)\", \"test_copy_files_without_permissions (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files_without_permissions)\", \"test_content_parser_no_id (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_id)\", \"test_media_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_media_file_use_directory_urls)\", \"test_flat_h2_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_h2_toc)\", \"test_invalid_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_default)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_build_config_file (mkdocs.tests.cli_tests.CLITests.test_build_config_file)\", \"test_jinja_extension_installed (mkdocs.tests.localization_tests.LocalizationTests.test_jinja_extension_installed)\", \"test_get_relative_url_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url_use_directory_urls)\", \"test_empty (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_empty)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_type)\", \"test_populate_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_not_modified)\", \"test_relative_html_link_hash_only (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash_only)\", \"test_int_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_int_type)\", \"test_lang_multi_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_multi_list)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url_is_dir)\", \"test_plugin_config_with_multiple_instances_and_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances_and_warning)\", \"test_serve_default (mkdocs.tests.cli_tests.CLITests.test_serve_default)\", \"test_context_extra_css_js_from_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page)\", \"test_page_no_directory_url (mkdocs.tests.structure.page_tests.PageTests.test_page_no_directory_url)\", \"test_populate_page_read_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_error)\", \"test_prebuild_index_false (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_false)\", \"test_page_defaults (mkdocs.tests.structure.page_tests.PageTests.test_page_defaults)\", \"test_page_edit_url (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url)\", \"test_file_name_with_custom_dest_uri (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_custom_dest_uri)\", \"test_get_files_include_readme_without_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_include_readme_without_index)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_subconfig_with_multiple_items)\", \"test_copy (mkdocs.tests.config.config_options_tests.SchemaTest.test_copy)\", \"test_empty_nav (mkdocs.tests.config.config_tests.ConfigTests.test_empty_nav)\", \"test_length (mkdocs.tests.config.config_options_tests.TypeTest.test_length)\", \"test_media_file (mkdocs.tests.structure.file_tests.TestFiles.test_media_file)\", \"test_non_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_list)\", \"test_simple_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_simple_nav)\", \"test_invalid_type (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_type)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_invalid_url (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_url)\", \"test_lang_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_str)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_normal)\", \"test_dir_bytes (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_yaml_meta_data_invalid (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_invalid)\", \"test_single_type (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_single_type)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_errors)\", \"test_external_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_external_link)\", \"test_serve_config_file (mkdocs.tests.cli_tests.CLITests.test_serve_config_file)\", \"test_missing_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_missing_path)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_env_var_in_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_env_var_in_yaml)\", \"test_page_canonical_url (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url)\", \"test_insort_key (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort_key)\", \"test_normalize_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url)\", \"test_add_files_from_theme (mkdocs.tests.structure.file_tests.TestFiles.test_add_files_from_theme)\", \"test_dict_keys_and_ignores_env (mkdocs.tests.get_deps_tests.TestGetDeps.test_dict_keys_and_ignores_env)\", \"test_valid_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_valid_path)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_ok)\", \"test_plugin_config_with_multiple_instances (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances)\", \"test_populate_page (mkdocs.tests.build_tests.BuildTests.test_populate_page)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_gitlab)\", \"test_defined (mkdocs.tests.config.config_options_tests.PrivateTest.test_defined)\", \"test_new (mkdocs.tests.new_tests.NewTests.test_new)\", \"test_lang_bad_type (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_type)\", \"test_validation_warnings (mkdocs.tests.config.base_tests.ConfigBaseTests.test_validation_warnings)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_prebuild_index_returns_error (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_returns_error)\", \"test_valid_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_dir)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_dir_bytes (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_page_canonical_url_nested (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested)\", \"test_plugin_config_min_search_length (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_min_search_length)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_custom)\", \"test_default_values (mkdocs.tests.utils.utils_tests.LogCounterTests.test_default_values)\", \"test_page_eq (mkdocs.tests.structure.page_tests.PageTests.test_page_eq)\", \"test_simple_theme (mkdocs.tests.theme_tests.ThemeTests.test_simple_theme)\", \"test_copy_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_name_is_none)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_build_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_no_directory_urls)\", \"test_serves_polling_instantly (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_instantly)\", \"test_required (mkdocs.tests.config.config_options_tests.ChoiceTest.test_required)\", \"test_relative_html_link_sub_page_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page_hash)\", \"test_not_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_not_list)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_required)\", \"test_md_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested)\", \"test_page_title_from_markdown_strip_formatting (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_strip_formatting)\", \"test_plugin_config_multivalue_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_multivalue_dict)\", \"test_gh_deploy_config_file (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_config_file)\", \"test_nonexistant_config (mkdocs.tests.config.config_tests.ConfigTests.test_nonexistant_config)\", \"test_count_multiple (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_multiple)\", \"test_relative_image_link_from_subpage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_subpage)\", \"test_gh_deploy_remote_branch (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_branch)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_page_title_from_markdown_stripped_attr_list (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_stripped_attr_list)\", \"test_serves_polling_with_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_mount_path)\", \"test_gh_deploy_defaults (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_defaults)\", \"test_get_theme_dir (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir)\", \"test_nav_no_title (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_title)\", \"test_page_canonical_url_nested_no_slash (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested_no_slash)\", \"test_recovers_from_build_error (mkdocs.tests.livereload_tests.BuildTests.test_recovers_from_build_error)\", \"test_serve_dev_addr (mkdocs.tests.cli_tests.CLITests.test_serve_dev_addr)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_int)\", \"test_event_on_config_theme_locale (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_theme_locale)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_gitlab)\", \"test_get_files_exclude_readme_with_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_exclude_readme_with_index)\", \"test_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_optional)\", \"test_md_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested_use_directory_urls)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_warning)\", \"test_empty_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_empty_list)\", \"test_removed_option (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_removed_option)\", \"test_duplicates (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_plugin_config_not_list (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_list)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom)\", \"test_charref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_charref)\", \"test_log_level (mkdocs.tests.utils.utils_tests.LogCounterTests.test_log_level)\", \"test_optional (mkdocs.tests.config.config_options_tests.SubConfigTest.test_optional)\", \"test_multi_theme (mkdocs.tests.get_deps_tests.TestGetDeps.test_multi_theme)\", \"test_extra_context (mkdocs.tests.build_tests.BuildTests.test_extra_context)\", \"test_parse_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_only)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_errors)\", \"test_relative_html_link_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_index)\", \"test_event_on_post_build_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_search_index_only)\", \"test_old_format (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_old_format)\", \"test_mkdocs_newer (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_newer)\", \"test_absolute_win_local_path (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_win_local_path)\", \"test_get_files (mkdocs.tests.structure.file_tests.TestFiles.test_get_files)\", \"test_missing_but_required (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_valid_language_territory (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language_territory)\", \"test_insort (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort)\", \"test_css_file (mkdocs.tests.structure.file_tests.TestFiles.test_css_file)\", \"test_lang_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_list)\", \"test_event_on_post_build_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_defaults)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_range)\", \"test_missing_page (mkdocs.tests.structure.page_tests.PageTests.test_missing_page)\", \"test_simple_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_theme (mkdocs.tests.config.config_tests.ConfigTests.test_theme)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_dict)\", \"test_serves_with_unicode_characters (mkdocs.tests.livereload_tests.BuildTests.test_serves_with_unicode_characters)\", \"test_lang_missing_and_with_territory (mkdocs.tests.search_tests.SearchConfigTests.test_lang_missing_and_with_territory)\", \"test_context_extra_css_js_from_homepage (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_homepage)\", \"test_multiple_types (mkdocs.tests.config.config_options_tests.TypeTest.test_multiple_types)\", \"test_deploy_hostname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_hostname)\", \"test_post_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_post_validation_error)\", \"test_empty_config (mkdocs.tests.get_deps_tests.TestGetDeps.test_empty_config)\", \"test_build_page_custom_template (mkdocs.tests.build_tests.BuildTests.test_build_page_custom_template)\", \"test_plugin_config_options_not_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_options_not_dict)\", \"test_optional (mkdocs.tests.config.config_options_tests.ChoiceTest.test_optional)\", \"test_get_relative_url_empty (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url_empty)\", \"test_unknown_extension (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_optional)\", \"test_old_format (mkdocs.tests.config.config_options_tests.NavTest.test_old_format)\", \"test_list_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_complex_config)\", \"test_empty_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_empty_list)\", \"test_gh_deploy_remote_name (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_name)\", \"test_deploy_error (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_error)\", \"test_serves_modified_html (mkdocs.tests.livereload_tests.BuildTests.test_serves_modified_html)\", \"test_none_without_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_none_without_default)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_int)\", \"test_none (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_none)\", \"test_context_base_url_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page_use_directory_urls)\", \"test_build_defaults (mkdocs.tests.cli_tests.CLITests.test_build_defaults)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_gitlab)\", \"test_event_on_post_build_multi_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_multi_lang)\", \"test_gh_deploy_force (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_force)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_nested_list)\", \"test_skip_extra_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_extra_template_empty_output)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_required)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_list_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_unsupported_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_address)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required)\", \"test_list_of_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_of_optional)\", \"test_populate_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_modified)\", \"test_run_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_run_validation_error)\", \"test_non_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_path)\", \"test_context_base_url_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page)\", \"test_build_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_not_modified)\", \"test_page_title_from_setext_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_setext_markdown)\", \"test_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_string)\", \"test_context_extra_css_js_from_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page_use_directory_urls)\", \"test_plugin_config_not_string_or_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_string_or_dict)\", \"test_relative_image_link_from_homepage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_homepage)\", \"test_skip_missing_theme_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_theme_template)\", \"test_get_relative_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url)\", \"test_replace_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_replace_default)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_range)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_valid_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_dir)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_empty_dict)\", \"test_build_verbose (mkdocs.tests.cli_tests.CLITests.test_build_verbose)\", \"test_no_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_no_meta_data)\", \"test_subclass (mkdocs.tests.config.config_options_tests.SchemaTest.test_subclass)\", \"test_valid_language (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language)\", \"test_none (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_none)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_plugin_config_with_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_options)\", \"test_build_page_error (mkdocs.tests.build_tests.BuildTests.test_build_page_error)\", \"test_md_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_use_directory_urls)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_ok)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_deploy (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy)\", \"test_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_error_handler)\", \"test_static_file (mkdocs.tests.structure.file_tests.TestFiles.test_static_file)\", \"test_static_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_static_file_use_directory_urls)\", \"test_indented_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc)\", \"test_yaml_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_none)\", \"test_valid_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_valid_path)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_is_markdown_file (mkdocs.tests.utils.utils_tests.UtilsTests.test_is_markdown_file)\", \"test_yaml_inheritance (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance)\", \"test_event_priorities (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_priorities)\", \"test_plugin_config_separator (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_separator)\", \"test_list_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_list_default)\", \"test_not_a_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_file)\", \"test_builtins_config (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_redirects_to_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_mount_path)\", \"test_missing_default (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_level (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_level)\", \"test_event_on_config_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_search_index_only)\", \"test_vars (mkdocs.tests.theme_tests.ThemeTests.test_vars)\", \"test_plugin_config_indexing (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_indexing)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_invalid_type)\", \"test_page_edit_url_warning (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url_warning)\", \"test_theme_precedence (mkdocs.tests.get_deps_tests.TestGetDeps.test_theme_precedence)\", \"test_page_title_from_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_filename)\", \"test_combined_float_type (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_combined_float_type)\", \"test_mime_types (mkdocs.tests.livereload_tests.BuildTests.test_mime_types)\", \"test_context_base_url_relative_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page_use_directory_urls)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_gitlab)\", \"test_provided_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_dict)\", \"test_provided_dict (mkdocs.tests.config.config_options_tests.NavTest.test_provided_dict)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_default)\", \"test_absolute_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_link)\", \"test_optional (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_optional)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_default_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_default_address)\", \"test_no_links (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_no_links)\", \"test_new (mkdocs.tests.cli_tests.CLITests.test_new)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_none)\", \"test_is_cwd_not_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_not_git_repo)\", \"test_get_by_type_nested_sections (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_get_by_type_nested_sections)\", \"test_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_territory)\", \"test_copy_theme_files (mkdocs.tests.build_tests.BuildTests.test_copy_theme_files)\", \"test_skip_theme_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_theme_template_empty_output)\", \"test_nested_index_page_no_parent (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent)\", \"test_missing_site_name (mkdocs.tests.config.config_tests.ConfigTests.test_missing_site_name)\", \"test_plugin_config_empty_list_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_default)\", \"test_parse_locale_unknown_locale (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_unknown_locale)\", \"test_nested_index_page_no_parent_no_directory_urls (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent_no_directory_urls)\", \"test_invalid_choice (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choice)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_normal)\", \"test_lang_good_and_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_good_and_bad_code)\", \"test_plugin_config_uninstalled (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_uninstalled)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_simple_config)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_page_title_from_markdown_stripped_anchorlinks (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_stripped_anchorlinks)\", \"test_relative_html_link_sub_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_parse_locale_bad_format (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format)\", \"test_page_ne (mkdocs.tests.structure.page_tests.PageTests.test_page_ne)\", \"test_single_type (mkdocs.tests.config.config_options_tests.TypeTest.test_single_type)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_search_indexing_options (mkdocs.tests.search_tests.SearchIndexTests.test_search_indexing_options)\", \"test_copy_file_dirty_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_modified)\", \"test_predefined_page_title (mkdocs.tests.structure.page_tests.PageTests.test_predefined_page_title)\", \"test_invalid_config (mkdocs.tests.config.config_tests.ConfigTests.test_invalid_config)\", \"test_error_on_pages (mkdocs.tests.config.config_tests.ConfigTests.test_error_on_pages)\", \"test_length (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_length)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url_is_dir)\", \"test_string_not_a_dict_of_strings (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_string_not_a_dict_of_strings)\", \"test_combined_float_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_combined_float_type)\", \"test_mkdocs_older (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_older)\", \"test_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_site_dir_contains_stale_files)\", \"test_is_cwd_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_git_repo)\", \"test_gh_deploy_clean (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_clean)\", \"test_get_theme_dir_keyerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_keyerror)\", \"test_combined_float_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_combined_float_type)\", \"test_plugin_config_empty_list_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_empty_default)\", \"test_yaml_meta_data_not_dict (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_not_dict)\", \"test_page_title_from_homepage_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_homepage_filename)\", \"test_indented_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_indented_nav)\", \"test_unknown_locale (mkdocs.tests.localization_tests.LocalizationTests.test_unknown_locale)\", \"test_lang_no_default_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_str)\", \"test_valid_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_file)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale)\", \"test_context_extra_css_path_warning (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_path_warning)\", \"test_required (mkdocs.tests.config.config_options_tests.SubConfigTest.test_required)\", \"test_nest_paths_native (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths_native)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_github)\", \"test_valid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_valid_plugin_options)\", \"test_event_on_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_lang)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_build_quiet (mkdocs.tests.cli_tests.CLITests.test_build_quiet)\", \"test_deploy_ignore_version (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version)\", \"test_provided_empty (mkdocs.tests.config.config_options_tests.NavTest.test_provided_empty)\", \"test_get_themes_warning (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_warning)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_not_a_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_builtins_config (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_files (mkdocs.tests.structure.file_tests.TestFiles.test_files)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_simple_config)\", \"test_watches_through_relative_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_relative_symlinks)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_github)\", \"test_missing_but_required (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_gh_deploy_theme (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_theme)\", \"test_mixed_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_only)\", \"test_set_multiple_plugins_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_multiple_plugins_on_collection)\", \"test_plugin_config_sub_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_warning)\", \"test_mixed_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_toc)\", \"test_load_default_file_with_yaml (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_default_file_with_yaml)\", \"test_merge_translations (mkdocs.tests.localization_tests.LocalizationTests.test_merge_translations)\", \"test_skip_ioerror_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_ioerror_extra_template)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_relative_html_link_with_encoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_encoded_space)\", \"test_invalid_choices (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choices)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_theme_default (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_default)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_javascript_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file_use_directory_urls)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_warns_for_dict)\", \"test_parse_locale_bad_type (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_type)\", \"test_count_info (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_info)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_type)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_serve_strict (mkdocs.tests.cli_tests.CLITests.test_serve_strict)\", \"test_not_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_not_site_dir_contains_stale_files)\", \"test_get_themes_error (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_error)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_prebuild_index_raises_ioerror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_ioerror)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_none (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_none)\", \"test_just_search (mkdocs.tests.get_deps_tests.TestGetDeps.test_just_search)\", \"test_nav_from_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_files)\", \"test_watches_direct_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_direct_symlinks)\", \"test_build_extra_template (mkdocs.tests.build_tests.BuildTests.test_build_extra_template)\", \"test_plugins_adding_files_and_interacting (mkdocs.tests.build_tests.BuildTests.test_plugins_adding_files_and_interacting)\", \"test_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_missing_required)\", \"test_get_relative_url (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url)\", \"test_context_extra_css_js_no_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_no_page)\", \"test_nested_ungrouped_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav)\", \"test_valid_url (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url)\", \"test_reduce_list (mkdocs.tests.utils.utils_tests.UtilsTests.test_reduce_list)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_optional)\", \"test_homepage (mkdocs.tests.structure.page_tests.PageTests.test_homepage)\", \"test_event_on_post_build_single_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_single_lang)\", \"test_serves_normal_file (mkdocs.tests.livereload_tests.BuildTests.test_serves_normal_file)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_tests.NavTest.test_warns_for_dict)\", \"test_file_eq (mkdocs.tests.structure.file_tests.TestFiles.test_file_eq)\", \"test_no_theme_config (mkdocs.tests.theme_tests.ThemeTests.test_no_theme_config)\", \"test_multiple_types (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_multiple_types)\", \"test_page_title_from_markdown_preserved_attr_list (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_preserved_attr_list)\", \"test_gh_deploy_strict (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_strict)\", \"test_none_without_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_none_without_default)\", \"test_normal_nav (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_normal_nav)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_custom)\", \"test_plugin_config_with_explicit_empty_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_empty_namespace)\", \"test_page_title_from_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown)\", \"test_not_a_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_file)\", \"test_files_append_remove_src_paths (mkdocs.tests.structure.file_tests.TestFiles.test_files_append_remove_src_paths)\", \"test_create_search_index (mkdocs.tests.search_tests.SearchIndexTests.test_create_search_index)\", \"test_populate_page_read_plugin_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_plugin_error)\", \"test_deploy_no_cname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_no_cname)\", \"test_set_plugin_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_plugin_on_collection)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_dict)\", \"test_run_unknown_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_unknown_event_on_collection)\", \"test_gh_deploy_dirty (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_dirty)\", \"test_nest_paths (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths)\", \"test_build_theme_template (mkdocs.tests.build_tests.BuildTests.test_build_theme_template)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_none)\", \"test_copy (mkdocs.tests.config.config_options_legacy_tests.SchemaTest.test_copy)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_warning)\", \"test_configkey (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_configkey)\", \"test_get_schema (mkdocs.tests.config.base_tests.ConfigBaseTests.test_get_schema)\", \"test_context_base_url__absolute_nested_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_nested_no_page_use_directory_urls)\", \"test_gh_deploy_site_dir (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_site_dir)\", \"test_page_render (mkdocs.tests.structure.page_tests.PageTests.test_page_render)\", \"test_pre_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_pre_validation_error)\", \"test_unsupported_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_address)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_BOM (mkdocs.tests.structure.page_tests.PageTests.test_BOM)\", \"test_get_remote_url_http (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_http)\", \"test_source_date_epoch (mkdocs.tests.structure.page_tests.SourceDateEpochTests.test_source_date_epoch)\", \"test_required_no_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required_no_default)\", \"test_copy_file_dirty_not_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_not_modified)\", \"test_serves_directory_index (mkdocs.tests.livereload_tests.BuildTests.test_serves_directory_index)\", \"test_rebuild_on_edit (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_on_edit)\", \"test_page_title_from_meta (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_meta)\", \"test_list_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_default)\", \"test_gh_deploy_message (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_message)\", \"test_nav_external_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_external_links)\", \"test_nested_index_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page)\", \"test_serves_polling_after_event (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_after_event)\", \"test_content_parser (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_with_multiple_items)\", \"test_file_name_with_space (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_space)\", \"test_valid_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_file)\", \"test_build_sitemap_template (mkdocs.tests.build_tests.BuildTests.test_build_sitemap_template)\", \"test_gh_deploy_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_no_directory_urls)\", \"test_unknown_extension (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_error (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_post_validation_error)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_int)\", \"test_none_without_default (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_none_without_default)\", \"test_plugin_config_prebuild_index (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_prebuild_index)\", \"test_bad_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_bad_error_handler)\", \"test_md_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_file)\", \"test_normal_nav (mkdocs.tests.config.config_options_tests.NavTest.test_normal_nav)\", \"test_unicode_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_unicode_yaml)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_unwatch (mkdocs.tests.livereload_tests.BuildTests.test_unwatch)\", \"test_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_default)\", \"test_context_base_url__absolute_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_no_page_use_directory_urls)\", \"test_invalid_locale (mkdocs.tests.localization_tests.LocalizationTests.test_invalid_locale)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_bitbucket)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_load_from_missing_file (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_from_missing_file)\", \"test_prebuild_index_python_missing_lunr (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_python_missing_lunr)\", \"test_md_index_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested)\", \"test_md_readme_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file_use_directory_urls)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_valid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url)\", \"test_plugin_config_with_deduced_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace)\", \"test_dict_default (mkdocs.tests.config.config_options_tests.DictOfItemsTest.test_dict_default)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_active (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_active)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_int)\", \"test_conflicting_readme_and_index (mkdocs.tests.build_tests.BuildTests.test_conflicting_readme_and_index)\", \"test_nav_from_nested_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_nested_files)\", \"test_hooks (mkdocs.tests.config.config_options_legacy_tests.HooksTest.test_hooks)\", \"test_serve_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_livereload)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_exclude_readme_and_index (mkdocs.tests.build_tests.BuildTests.test_exclude_readme_and_index)\", \"test_non_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_path)\", \"test_build_clean (mkdocs.tests.cli_tests.CLITests.test_build_clean)\", \"test_file_ne (mkdocs.tests.structure.file_tests.TestFiles.test_file_ne)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_basic_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_basic_rebuild)\", \"test_serve_watch_theme (mkdocs.tests.cli_tests.CLITests.test_serve_watch_theme)\", \"test_build_page_empty (mkdocs.tests.build_tests.BuildTests.test_build_page_empty)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_port)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_int)\", \"test_context_base_url_homepage_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage_use_directory_urls)\", \"test_parse_locale_bad_format_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format_sep)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_int)\", \"test_nonexistent (mkdocs.tests.get_deps_tests.TestGetDeps.test_nonexistent)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_invalid_type)\", \"test_serves_from_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_from_mount_path)\", \"test_copying_media (mkdocs.tests.build_tests.BuildTests.test_copying_media)\", \"test_context_base_url_absolute_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_no_page)\", \"test_configkey (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_configkey)\", \"test_nested_ungrouped_nav_no_titles (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav_no_titles)\", \"test_no_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_no_translations_found)\", \"test_serve_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_use_directory_urls)\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[\"test_multiple_dirs_changes_rebuild_only_once (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_changes_rebuild_only_once)\"]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"test_run_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_on_collection)\", \"test_run_undefined_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_undefined_event_on_collection)\", \"test_event_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_returns_None)\", \"test_event_empty_item (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item)\", \"test_event_empty_item_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item_returns_None)\", \"test_run_event_twice_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_twice_on_collection)\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[\"(failures=1, skipped=4)\"]"},"install":{"kind":"string","value":"{\"install\": [], \"pre_install\": [\"tee pyproject.toml <=3.7\\\"\\ndependencies = [\\n \\\"click >=7.0\\\",\\n \\\"Jinja2 >=2.11.1\\\",\\n \\\"markupsafe >=2.0.1\\\",\\n \\\"Markdown >=3.2.1\\\",\\n \\\"PyYAML >=5.1\\\",\\n \\\"watchdog >=2.0\\\",\\n \\\"ghp-import >=1.0\\\",\\n \\\"pyyaml_env_tag >=0.1\\\",\\n \\\"importlib-metadata >=4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions >=3.10; python_version < '3.8'\\\",\\n \\\"packaging >=20.5\\\",\\n \\\"mergedeep >=1.3.4\\\",\\n \\\"pathspec >=0.11.1\\\",\\n \\\"platformdirs >=2.2.0\\\",\\n \\\"colorama >=0.4; platform_system == 'Windows'\\\",\\n]\\n[project.optional-dependencies]\\ni18n = [\\n \\\"babel >=2.9.0\\\",\\n]\\nmin-versions = [\\n \\\"click ==7.0\\\",\\n \\\"Jinja2 ==2.11.1\\\",\\n \\\"markupsafe ==2.0.1\\\",\\n \\\"Markdown ==3.2.1\\\",\\n \\\"PyYAML ==5.1\\\",\\n \\\"watchdog ==2.0\\\",\\n \\\"ghp-import ==1.0\\\",\\n \\\"pyyaml_env_tag ==0.1\\\",\\n \\\"importlib-metadata ==4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions ==3.10; python_version < '3.8'\\\",\\n \\\"packaging ==20.5\\\",\\n \\\"mergedeep ==1.3.4\\\",\\n \\\"pathspec ==0.11.1\\\",\\n \\\"platformdirs ==2.2.0\\\",\\n \\\"colorama ==0.4; platform_system == 'Windows'\\\",\\n \\\"babel ==2.9.0\\\",\\n]\\n\\n[project.urls]\\nDocumentation = \\\"https://www.mkdocs.org/\\\"\\nSource = \\\"https://github.com/mkdocs/mkdocs\\\"\\nIssues = \\\"https://github.com/mkdocs/mkdocs/issues\\\"\\nHistory = \\\"https://www.mkdocs.org/about/release-notes/\\\"\\n\\n[project.scripts]\\nmkdocs = \\\"mkdocs.__main__:cli\\\"\\n\\n[project.entry-points.\\\"mkdocs.themes\\\"]\\nmkdocs = \\\"mkdocs.themes.mkdocs\\\"\\nreadthedocs = \\\"mkdocs.themes.readthedocs\\\"\\n\\n[project.entry-points.\\\"mkdocs.plugins\\\"]\\nsearch = \\\"mkdocs.contrib.search:SearchPlugin\\\"\\n\\n[tool.hatch.version]\\npath = \\\"mkdocs/__init__.py\\\"\\n\\n[tool.hatch.build]\\nartifacts = [\\\"/mkdocs/**/*.mo\\\"]\\n[tool.hatch.build.targets.sdist]\\ninclude = [\\\"/mkdocs\\\"]\\n[tool.hatch.build.targets.wheel]\\nexclude = [\\\"/mkdocs/tests/integration\\\", \\\"*.po\\\", \\\"*.pot\\\", \\\"babel.cfg\\\"]\\n[tool.hatch.build.hooks.custom]\\ndependencies = [\\n \\\"babel\\\",\\n]\\n\\n[tool.hatch.envs.default.scripts]\\nall = [\\n \\\"hatch run style:check\\\",\\n \\\"hatch run types:check\\\",\\n \\\"hatch run test:test\\\",\\n \\\"hatch run lint:check\\\",\\n \\\"hatch run +type=default integration:test\\\",\\n]\\n\\n[tool.hatch.envs.test]\\nfeatures = [\\\"i18n\\\"]\\ndependencies = [\\n \\\"coverage\\\",\\n]\\n[tool.hatch.envs.test.scripts]\\ntest = \\\"coverage run --source=mkdocs --omit 'mkdocs/tests/*' -m unittest discover -v -p '*tests.py' mkdocs --top-level-directory .\\\"\\n_coverage = [\\\"test\\\", \\\"coverage xml\\\", \\\"coverage report --show-missing\\\"]\\nwith-coverage = \\\"test\\\"\\n[[tool.hatch.envs.test.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"min-req\\\"]\\n[tool.hatch.envs.test.overrides]\\nmatrix.type.features = [\\n { value = \\\"min-versions\\\", if = [\\\"min-req\\\"] },\\n]\\nmatrix.type.scripts = [\\n { key = \\\"with-coverage\\\", value = \\\"_coverage\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.integration]\\ntemplate = \\\"docs\\\"\\n[tool.hatch.envs.integration.scripts]\\ntest = \\\"python -m mkdocs.tests.integration\\\"\\n[[tool.hatch.envs.integration.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"no-babel\\\"]\\n[tool.hatch.envs.integration.overrides]\\nmatrix.type.features = [\\n { value = \\\"i18n\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.types]\\ndependencies = [\\n \\\"mypy\\\",\\n \\\"types-Jinja2\\\",\\n \\\"types-Markdown\\\",\\n \\\"types-PyYAML\\\",\\n \\\"types-setuptools\\\",\\n \\\"typing-extensions\\\",\\n]\\n[tool.hatch.envs.types.scripts]\\ncheck = \\\"mypy mkdocs\\\"\\n\\n[tool.hatch.envs.style]\\ndetached = true\\ndependencies = [\\n \\\"black\\\",\\n \\\"isort\\\",\\n \\\"ruff\\\",\\n]\\n[tool.hatch.envs.style.scripts]\\ncheck = [\\n \\\"isort --check-only --diff mkdocs docs\\\",\\n \\\"black -q --check --diff mkdocs docs\\\",\\n \\\"lint\\\",\\n]\\nlint = [\\n \\\"ruff check mkdocs docs\\\"\\n]\\nfix = [\\n \\\"ruff check --fix mkdocs docs\\\",\\n \\\"format\\\",\\n]\\nformat = [\\n \\\"isort -q mkdocs docs\\\",\\n \\\"black -q mkdocs docs\\\",\\n]\\n\\n[tool.hatch.envs.lint]\\ndetached = true\\ndependencies = [\\n \\\"codespell\\\",\\n]\\n[tool.hatch.envs.lint.scripts]\\nspelling = \\\"codespell mkdocs docs *.* -S LC_MESSAGES -S '*.min.js' -S 'lunr*.js' -S fontawesome-webfont.svg -S tinyseg.js\\\"\\nmarkdown = \\\"npm exec --yes -- markdownlint-cli README.md CONTRIBUTING.md docs/ --ignore docs/CNAME\\\"\\njs = \\\"npm exec --yes -- jshint mkdocs/\\\"\\ncss = \\\"npm exec --yes -- csslint --quiet mkdocs/\\\"\\ncheck = [\\\"markdown\\\", \\\"js\\\", \\\"css\\\", \\\"spelling\\\"]\\n\\n[tool.hatch.envs.docs]\\ndependencies = [\\n \\\"Markdown >=3.3.3\\\",\\n \\\"mdx_gh_links >=0.2\\\",\\n \\\"markdown-callouts >=0.3.0\\\",\\n \\\"mkdocs-literate-nav >=0.5.0\\\",\\n \\\"mkdocs-redirects >=1.0.1\\\",\\n \\\"pymdown-extensions >=8.0.1\\\",\\n \\\"mkdocstrings-python >=0.7.1\\\",\\n \\\"mkdocs-click >=0.8.0\\\",\\n]\\n\\n[tool.black]\\nline-length = 100\\ntarget-version = [\\\"py37\\\"] # 3.7\\nskip-string-normalization = true\\n\\n[tool.isort]\\nprofile = \\\"black\\\"\\nline_length = 100\\n\\n[tool.ruff]\\nselect = [\\n \\\"F\\\", \\\"W\\\", \\\"E\\\", \\\"UP\\\", \\\"YTT\\\", \\\"C4\\\", \\\"FA\\\", \\\"PIE\\\", \\\"T20\\\", \\\"RSE\\\", \\\"TCH\\\", \\\"DTZ\\\",\\n \\\"B002\\\", \\\"B003\\\", \\\"B005\\\", \\\"B007\\\", \\\"B009\\\", \\\"B012\\\", \\\"B013\\\", \\\"B014\\\", \\\"B015\\\", \\\"B018\\\", \\\"B020\\\", \\\"B021\\\", \\\"B023\\\", \\\"B026\\\", \\\"B033\\\", \\\"B034\\\", \\\"B905\\\",\\n \\\"COM818\\\",\\n \\\"PERF101\\\",\\n \\\"PGH002\\\", \\\"PGH004\\\", \\\"PGH005\\\",\\n \\\"PLE\\\", \\\"PLW0120\\\", \\\"PLW0127\\\",\\n \\\"RUF001\\\", \\\"RUF007\\\", \\\"RUF010\\\", \\\"RUF100\\\", \\\"RUF200\\\",\\n \\\"SIM101\\\", \\\"SIM107\\\", \\\"SIM201\\\", \\\"SIM202\\\", \\\"SIM208\\\", \\\"SIM210\\\", \\\"SIM211\\\", \\\"SIM300\\\", \\\"SIM401\\\", \\\"SIM910\\\",\\n]\\nignore = [\\\"E501\\\", \\\"E731\\\"]\\n\\n[tool.ruff.flake8-comprehensions]\\nallow-dict-calls-with-keyword-arguments = true\\n\\n[tool.mypy]\\nignore_missing_imports = true\\nwarn_unreachable = true\\nno_implicit_optional = true\\nshow_error_codes = true\\n\\nEOF_1234810234\"], \"python\": \"3.11\", \"pip_packages\": [\"anyio==3.7.0\", \"certifi==2023.5.7\", \"cffi==1.15.1\", \"click==8.1.3\", \"cryptography==41.0.1\", \"distlib==0.3.6\", \"editables==0.3\", \"filelock==3.12.2\", \"h11==0.14.0\", \"hatch==1.7.0\", \"hatchling==1.18.0\", \"httpcore==0.17.2\", \"httpx==0.24.1\", \"hyperlink==21.0.0\", \"idna==3.4\", \"importlib-metadata==6.7.0\", \"jaraco-classes==3.2.3\", \"jeepney==0.8.0\", \"keyring==23.13.1\", \"markdown-it-py==3.0.0\", \"mdurl==0.1.2\", \"more-itertools==9.1.0\", \"packaging==23.1\", \"pathspec==0.11.1\", \"pexpect==4.8.0\", \"platformdirs==3.6.0\", \"pluggy==1.0.0\", \"ptyprocess==0.7.0\", \"pycparser==2.21\", \"pygments==2.15.1\", \"pyperclip==1.8.2\", \"rich==13.4.2\", \"secretstorage==3.3.3\", \"setuptools==75.1.0\", \"shellingham==1.5.0.post1\", \"sniffio==1.3.0\", \"tomli-w==1.0.0\", \"tomlkit==0.11.8\", \"trove-classifiers==2023.5.24\", \"userpath==1.8.0\", \"virtualenv==20.23.1\", \"wheel==0.44.0\", \"zipp==3.15.0\"]}"},"test_framework":{"kind":"null"},"test_commands":{"kind":"string","value":"[\"hatch run +py=3.11 test:with-coverage\"]"},"version":{"kind":"null"},"environment_setup_commit":{"kind":"null"},"docker_image_root":{"kind":"string","value":"swa-bench:sw.eval"}}},{"rowIdx":144,"cells":{"repo":{"kind":"string","value":"mkdocs/mkdocs"},"instance_id":{"kind":"string","value":"mkdocs__mkdocs-3191"},"base_commit":{"kind":"string","value":"8ecdfb2510a481c89d0659ba103aa9a87eb94d62"},"patch":{"kind":"string","value":"diff --git a/docs/user-guide/writing-your-docs.md b/docs/user-guide/writing-your-docs.md\nindex 4697abd5d0..66a100672d 100644\n--- a/docs/user-guide/writing-your-docs.md\n+++ b/docs/user-guide/writing-your-docs.md\n@@ -380,10 +380,14 @@ specific page. The following keys are supported:\n MkDocs will attempt to determine the title of a document in the following\n ways, in order:\n \n- 1. A title defined in the [nav] configuration setting for a document.\n- 2. A title defined in the `title` meta-data key of a document.\n- 3. A level 1 Markdown header on the first line of the document body. Please note that [Setext-style] headers are not supported.\n- 4. The filename of a document.\n+ 1. A title defined in the [nav] configuration setting for a document.\n+\n+ 2. A title defined in the `title` meta-data key of a document.\n+\n+ 3. A level 1 Markdown header on the first line of the document body. \n+ ([Setext-style] headers are supported *only since MkDocs 1.5*.)\n+\n+ 4. The filename of a document.\n \n Upon finding a title for a page, MkDoc does not continue checking any\n additional sources in the above list.\ndiff --git a/mkdocs/structure/pages.py b/mkdocs/structure/pages.py\nindex b278568710..e5a958744c 100644\n--- a/mkdocs/structure/pages.py\n+++ b/mkdocs/structure/pages.py\n@@ -1,27 +1,36 @@\n from __future__ import annotations\n \n+import copy\n import logging\n import os\n import posixpath\n-from typing import TYPE_CHECKING, Any, Mapping, MutableMapping\n+import warnings\n+from typing import TYPE_CHECKING, Any, Callable, Mapping, MutableMapping\n from urllib.parse import unquote as urlunquote\n from urllib.parse import urljoin, urlsplit, urlunsplit\n-from xml.etree.ElementTree import Element\n+from xml.etree import ElementTree as etree\n \n import markdown\n-from markdown.extensions import Extension\n-from markdown.treeprocessors import Treeprocessor\n+import markdown.extensions\n+import markdown.postprocessors\n+import markdown.treeprocessors\n from markdown.util import AMP_SUBSTITUTE\n \n from mkdocs.structure.files import File, Files\n from mkdocs.structure.toc import get_toc\n-from mkdocs.utils import get_build_date, get_markdown_title, meta\n+from mkdocs.utils import get_build_date, get_markdown_title, meta, weak_property\n \n if TYPE_CHECKING:\n from mkdocs.config.defaults import MkDocsConfig\n from mkdocs.structure.nav import Section\n from mkdocs.structure.toc import TableOfContents\n \n+_unescape: Callable[[str], str]\n+try:\n+ _unescape = markdown.treeprocessors.UnescapeTreeprocessor().unescape # type: ignore\n+except AttributeError:\n+ _unescape = markdown.postprocessors.UnescapePostprocessor().run\n+\n \n log = logging.getLogger(__name__)\n \n@@ -32,7 +41,8 @@ def __init__(\n ) -> None:\n file.page = self\n self.file = file\n- self.title = title\n+ if title is not None:\n+ self.title = title\n \n # Navigation attributes\n self.parent = None\n@@ -50,6 +60,7 @@ def __init__(\n \n # Placeholders to be filled in later in the build process.\n self.markdown = None\n+ self._title_from_render: str | None = None\n self.content = None\n self.toc = [] # type: ignore\n self.meta = {}\n@@ -69,9 +80,6 @@ def __repr__(self):\n def _indent_print(self, depth=0):\n return '{}{}'.format(' ' * depth, repr(self))\n \n- title: str | None\n- \"\"\"Contains the Title for the current page.\"\"\"\n-\n markdown: str | None\n \"\"\"The original Markdown content from the file.\"\"\"\n \n@@ -226,11 +234,18 @@ def read_source(self, config: MkDocsConfig) -> None:\n raise\n \n self.markdown, self.meta = meta.get_data(source)\n- self._set_title()\n \n def _set_title(self) -> None:\n+ warnings.warn(\n+ \"_set_title is no longer used in MkDocs and will be removed soon.\", DeprecationWarning\n+ )\n+\n+ @weak_property\n+ def title(self) -> str | None:\n \"\"\"\n- Set the title for a Markdown document.\n+ Returns the title for the current page.\n+\n+ Before calling `read_source()`, this value is empty. It can also be updated by `render()`.\n \n Check these in order and use the first that returns a valid title:\n - value provided on init (passed in from config)\n@@ -238,48 +253,56 @@ def _set_title(self) -> None:\n - content of the first H1 in Markdown content\n - convert filename to title\n \"\"\"\n- if self.title is not None:\n- return\n+ if self.markdown is None:\n+ return None\n \n if 'title' in self.meta:\n- self.title = self.meta['title']\n- return\n+ return self.meta['title']\n \n- assert self.markdown is not None\n- title = get_markdown_title(self.markdown)\n+ if self._title_from_render:\n+ return self._title_from_render\n+ elif self.content is None: # Preserve legacy behavior only for edge cases in plugins.\n+ title_from_md = get_markdown_title(self.markdown)\n+ if title_from_md is not None:\n+ return title_from_md\n \n- if title is None:\n- if self.is_homepage:\n- title = 'Home'\n- else:\n- title = self.file.name.replace('-', ' ').replace('_', ' ')\n- # Capitalize if the filename was all lowercase, otherwise leave it as-is.\n- if title.lower() == title:\n- title = title.capitalize()\n+ if self.is_homepage:\n+ return 'Home'\n \n- self.title = title\n+ title = self.file.name.replace('-', ' ').replace('_', ' ')\n+ # Capitalize if the filename was all lowercase, otherwise leave it as-is.\n+ if title.lower() == title:\n+ title = title.capitalize()\n+ return title\n \n def render(self, config: MkDocsConfig, files: Files) -> None:\n \"\"\"\n Convert the Markdown source file to HTML as per the config.\n \"\"\"\n- extensions = [_RelativePathExtension(self.file, files), *config['markdown_extensions']]\n+ if self.markdown is None:\n+ raise RuntimeError(\"`markdown` field hasn't been set (via `read_source`)\")\n \n+ relative_path_extension = _RelativePathExtension(self.file, files)\n+ extract_title_extension = _ExtractTitleExtension()\n md = markdown.Markdown(\n- extensions=extensions,\n+ extensions=[\n+ relative_path_extension,\n+ extract_title_extension,\n+ *config['markdown_extensions'],\n+ ],\n extension_configs=config['mdx_configs'] or {},\n )\n- assert self.markdown is not None\n self.content = md.convert(self.markdown)\n self.toc = get_toc(getattr(md, 'toc_tokens', []))\n+ self._title_from_render = extract_title_extension.title\n \n \n-class _RelativePathTreeprocessor(Treeprocessor):\n+class _RelativePathTreeprocessor(markdown.treeprocessors.Treeprocessor):\n def __init__(self, file: File, files: Files) -> None:\n self.file = file\n self.files = files\n \n- def run(self, root: Element) -> Element:\n+ def run(self, root: etree.Element) -> etree.Element:\n \"\"\"\n Update urls on anchors and images to make them relative\n \n@@ -335,7 +358,7 @@ def path_to_url(self, url: str) -> str:\n return urlunsplit(components)\n \n \n-class _RelativePathExtension(Extension):\n+class _RelativePathExtension(markdown.extensions.Extension):\n \"\"\"\n The Extension class is what we pass to markdown, it then\n registers the Treeprocessor.\n@@ -348,3 +371,32 @@ def __init__(self, file: File, files: Files) -> None:\n def extendMarkdown(self, md: markdown.Markdown) -> None:\n relpath = _RelativePathTreeprocessor(self.file, self.files)\n md.treeprocessors.register(relpath, \"relpath\", 0)\n+\n+\n+class _ExtractTitleExtension(markdown.extensions.Extension):\n+ def __init__(self) -> None:\n+ self.title: str | None = None\n+\n+ def extendMarkdown(self, md: markdown.Markdown) -> None:\n+ md.treeprocessors.register(\n+ _ExtractTitleTreeprocessor(self),\n+ \"mkdocs_extract_title\",\n+ priority=1, # Close to the end.\n+ )\n+\n+\n+class _ExtractTitleTreeprocessor(markdown.treeprocessors.Treeprocessor):\n+ def __init__(self, ext: _ExtractTitleExtension) -> None:\n+ self.ext = ext\n+\n+ def run(self, root: etree.Element) -> etree.Element:\n+ for el in root:\n+ if el.tag == 'h1':\n+ # Drop anchorlink from the element, if present.\n+ if len(el) > 0 and el[-1].tag == 'a' and not (el.tail or '').strip():\n+ el = copy.copy(el)\n+ del el[-1]\n+ # Extract the text only, recursively.\n+ self.ext.title = _unescape(''.join(el.itertext()))\n+ break\n+ return root\ndiff --git a/mkdocs/utils/__init__.py b/mkdocs/utils/__init__.py\nindex 3eb5558473..5ebf3731c8 100644\n--- a/mkdocs/utils/__init__.py\n+++ b/mkdocs/utils/__init__.py\n@@ -385,13 +385,7 @@ def dirname_to_title(dirname: str) -> str:\n \n \n def get_markdown_title(markdown_src: str) -> str | None:\n- \"\"\"\n- Get the title of a Markdown document. The title in this case is considered\n- to be a H1 that occurs before any other content in the document.\n- The procedure is then to iterate through the lines, stopping at the first\n- non-whitespace content. If it is a title, return that, otherwise return\n- None.\n- \"\"\"\n+ \"\"\"Soft-deprecated, do not use.\"\"\"\n lines = markdown_src.replace('\\r\\n', '\\n').replace('\\r', '\\n').split('\\n')\n while lines:\n line = lines.pop(0).strip()\n@@ -460,6 +454,19 @@ def get_counts(self) -> list[tuple[str, int]]:\n return [(logging.getLevelName(k), v) for k, v in sorted(self.counts.items(), reverse=True)]\n \n \n+class weak_property:\n+ \"\"\"Same as a read-only property, but allows overwriting the field for good.\"\"\"\n+\n+ def __init__(self, func):\n+ self.func = func\n+ self.__doc__ = func.__doc__\n+\n+ def __get__(self, instance, owner=None):\n+ if instance is None:\n+ return self\n+ return self.func(instance)\n+\n+\n def __getattr__(name: str):\n if name == 'warning_filter':\n warnings.warn(\n"},"test_patch":{"kind":"string","value":"diff --git a/mkdocs/tests/structure/page_tests.py b/mkdocs/tests/structure/page_tests.py\nindex 9ccd9ff87e..30a90f6813 100644\n--- a/mkdocs/tests/structure/page_tests.py\n+++ b/mkdocs/tests/structure/page_tests.py\n@@ -4,6 +4,7 @@\n import unittest\n from unittest import mock\n \n+from mkdocs.config.defaults import MkDocsConfig\n from mkdocs.structure.files import File, Files\n from mkdocs.structure.pages import Page\n from mkdocs.tests.base import dedent, load_config, tempdir\n@@ -299,7 +300,84 @@ def test_page_title_from_markdown(self):\n self.assertEqual(pg.parent, None)\n self.assertEqual(pg.previous_page, None)\n self.assertEqual(pg.title, 'Welcome to MkDocs')\n- self.assertEqual(pg.toc, [])\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Welcome to MkDocs')\n+\n+ _SETEXT_CONTENT = dedent(\n+ '''\n+ Welcome to MkDocs Setext\n+ ========================\n+\n+ This tests extracting a setext style title.\n+ '''\n+ )\n+\n+ @tempdir(files={'testing_setext_title.md': _SETEXT_CONTENT})\n+ def test_page_title_from_setext_markdown(self, docs_dir):\n+ cfg = load_config()\n+ fl = File('testing_setext_title.md', docs_dir, docs_dir, use_directory_urls=True)\n+ pg = Page(None, fl, cfg)\n+ self.assertIsNone(pg.title)\n+ pg.read_source(cfg)\n+ self.assertEqual(pg.title, 'Testing setext title')\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Welcome to MkDocs Setext')\n+\n+ @tempdir(files={'testing_setext_title.md': _SETEXT_CONTENT})\n+ def test_page_title_from_markdown_stripped_anchorlinks(self, docs_dir):\n+ cfg = MkDocsConfig()\n+ cfg.site_name = 'example'\n+ cfg.markdown_extensions = {'toc': {'permalink': '&'}}\n+ self.assertEqual(cfg.validate(), ([], []))\n+ fl = File('testing_setext_title.md', docs_dir, docs_dir, use_directory_urls=True)\n+ pg = Page(None, fl, cfg)\n+ pg.read_source(cfg)\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Welcome to MkDocs Setext')\n+\n+ _FORMATTING_CONTENT = dedent(\n+ '''\n+ # Hello *beautiful* `world`\n+\n+ Hi.\n+ '''\n+ )\n+\n+ @tempdir(files={'testing_formatting.md': _FORMATTING_CONTENT})\n+ def test_page_title_from_markdown_strip_formatting(self, docs_dir):\n+ cfg = load_config()\n+ fl = File('testing_formatting.md', docs_dir, docs_dir, use_directory_urls=True)\n+ pg = Page(None, fl, cfg)\n+ pg.read_source(cfg)\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Hello beautiful world')\n+\n+ _ATTRLIST_CONTENT = dedent(\n+ '''\n+ # Welcome to MkDocs Attr { #welcome }\n+\n+ This tests extracting the title, with enabled attr_list markdown_extension.\n+ '''\n+ )\n+\n+ @tempdir(files={'testing_attr_list.md': _ATTRLIST_CONTENT})\n+ def test_page_title_from_markdown_stripped_attr_list(self, docs_dir):\n+ cfg = load_config()\n+ cfg.markdown_extensions.append('attr_list')\n+ fl = File('testing_attr_list.md', docs_dir, docs_dir, use_directory_urls=True)\n+ pg = Page(None, fl, cfg)\n+ pg.read_source(cfg)\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Welcome to MkDocs Attr')\n+\n+ @tempdir(files={'testing_attr_list.md': _ATTRLIST_CONTENT})\n+ def test_page_title_from_markdown_preserved_attr_list(self, docs_dir):\n+ cfg = load_config()\n+ fl = File('testing_attr_list.md', docs_dir, docs_dir, use_directory_urls=True)\n+ pg = Page(None, fl, cfg)\n+ pg.read_source(cfg)\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Welcome to MkDocs Attr { #welcome }')\n \n def test_page_title_from_meta(self):\n cfg = load_config(docs_dir=self.DOCS_DIR)\n@@ -324,6 +402,8 @@ def test_page_title_from_meta(self):\n self.assertEqual(pg.previous_page, None)\n self.assertEqual(pg.title, 'A Page Title')\n self.assertEqual(pg.toc, [])\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'A Page Title')\n \n def test_page_title_from_filename(self):\n cfg = load_config(docs_dir=self.DOCS_DIR)\n@@ -347,7 +427,8 @@ def test_page_title_from_filename(self):\n self.assertEqual(pg.parent, None)\n self.assertEqual(pg.previous_page, None)\n self.assertEqual(pg.title, 'Page title')\n- self.assertEqual(pg.toc, [])\n+ pg.render(cfg, fl)\n+ self.assertEqual(pg.title, 'Page title')\n \n def test_page_title_from_capitalized_filename(self):\n cfg = load_config(docs_dir=self.DOCS_DIR)\n@@ -371,7 +452,6 @@ def test_page_title_from_capitalized_filename(self):\n self.assertEqual(pg.parent, None)\n self.assertEqual(pg.previous_page, None)\n self.assertEqual(pg.title, 'pageTitle')\n- self.assertEqual(pg.toc, [])\n \n def test_page_title_from_homepage_filename(self):\n cfg = load_config(docs_dir=self.DOCS_DIR)\n"},"problem_statement":{"kind":"string","value":"Add support to extract underline-ish title (setext-style headings)\nThe util function [`get_markdown_title`](https://github.com/mkdocs/mkdocs/blob/master/mkdocs/utils/__init__.py#L332) supports only ATX-style headers. It should also support:\r\n```markdown\r\nA level-one heading\r\n===================\r\n\r\nA level-two heading\r\n-------------------\r\n```\nFix support of stripping attribute list from determined page title if attr_list extension enabled\nAdd or fix support of stripping attribute list from through markdown file determined page title if attr_list markdown extension enabled\r\n\r\nCloses #3136\n"},"hints_text":{"kind":"string","value":"I'm closing this as a duplicate of #1826. As the discussion there is long and covers multiple issues, I've copied the relevant [comment][0] below. Also note that in #1843 we have explicitly documented that setext style headers are not supported.\r\n\r\n> The page title is set in [`mkdocs.structure.pages.Page._set_title`][1]. The [`mkdocs.utils.get_markdown_title`][2] function actually extracts the title from the Markdown source and would need to be significantly refactored as it currently assumes the header is contained on one line only (it doesn't support setext-style headers because they take 2 lines). Note that the title is set on the page before the Markdown source is rendered to HTML and this is non-negotiable. It would be easier to get the header from the rendered HTML (which would eliminate any concern about which format was used), but MkDocs needs the title to be set at an earlier stage than when it renders the Markdown to HTML. This is documented behavior in the Plugin API which we have promised to continue supporting. Also, I will only consider a change which enforces the use of an H1. If the first header is an H2, then the page title should be defined elsewhere (such as in meta-data) and a custom theme template would presumably be inserting the page title as an H1 separate from the page body.\r\n> \r\n> Finally, this is very much something which could be addressed by a plugin. I expect either the [on_page_markdown][3] or [on_page_content][4] events could be used to overwrite the page title based on the Markdown source or rendered HTML respectively. As a third-party plugin, you could then use whatever criteria you want to define a page title.\r\n\r\n[3]: https://www.mkdocs.org/user-guide/plugins/#on_page_markdown\r\n[4]: https://www.mkdocs.org/user-guide/plugins/#on_page_content\r\n[1]: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/structure/pages.py#L143\r\n[2]: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/utils/__init__.py#L332\r\n\r\n[0]: https://github.com/mkdocs/mkdocs/issues/1826#issuecomment-511497060\n"},"created_at":{"kind":"string","value":"2023-04-21T20:05:32Z"},"merged_at":{"kind":"string","value":"2023-05-29T19:59:32Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"test_not_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_not_list)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_unrecognised_keys (mkdocs.tests.config.base_tests.ConfigBaseTests.test_unrecognised_keys)\", \"test_build_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_use_directory_urls)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_nested_anchor (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_nested_anchor)\", \"test_named_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_named_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_github)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_tests.ConfigTests.test_doc_dir_in_site_dir)\", \"test_defined (mkdocs.tests.config.config_options_legacy_tests.PrivateTest.test_defined)\", \"test_nav_bad_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_bad_links)\", \"test_load_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_missing_required)\", \"test_parse_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory)\", \"test_context_base_url_homepage (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage)\", \"test_simple_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_watch_with_broken_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watch_with_broken_symlinks)\", \"test_serve_dirtyreload (mkdocs.tests.cli_tests.CLITests.test_serve_dirtyreload)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_none)\", \"test_copy_file_same_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_same_file)\", \"test_post_validation_error (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_post_validation_error)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_builtins (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_nested_list)\", \"test_event_on_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_defaults)\", \"test_relative_html_link_sub_index_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index_hash)\", \"test_count_critical (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_critical)\", \"test_int_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_int_type)\", \"test_md_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_use_directory_urls)\", \"test_plugin_config_without_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_without_options)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_default)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_prebuild_index (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index)\", \"test_change_is_detected_while_building (mkdocs.tests.livereload_tests.BuildTests.test_change_is_detected_while_building)\", \"test_build_site_dir (mkdocs.tests.cli_tests.CLITests.test_build_site_dir)\", \"test_context_base_url_absolute_nested_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_nested_no_page)\", \"test_removed_option (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_removed_option)\", \"test_correct_events_registered (mkdocs.tests.plugin_tests.TestPluginCollection.test_correct_events_registered)\", \"test_content_parser_no_sections (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_sections)\", \"test_relative_html_link_parent_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_parent_index)\", \"test_default_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_default_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_github)\", \"test_watches_through_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_symlinks)\", \"test_plugin_config_none_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_default)\", \"test_sort_files (mkdocs.tests.structure.file_tests.TestFiles.test_sort_files)\", \"test_inherited_theme (mkdocs.tests.theme_tests.ThemeTests.test_inherited_theme)\", \"test_serve_theme (mkdocs.tests.cli_tests.CLITests.test_serve_theme)\", \"test_plugin_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_lang)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_config_missing_name)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_optional_with_default (mkdocs.tests.config.config_options_tests.TypeTest.test_optional_with_default)\", \"test_count_error (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_error)\", \"test_missing_default (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_missing_config_file (mkdocs.tests.config.config_tests.ConfigTests.test_missing_config_file)\", \"test_invalid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_invalid_plugin_options)\", \"test_skip_missing_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_extra_template)\", \"test_rebuild_after_delete (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_delete)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_bitbucket)\", \"test_builtins (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins)\", \"test_custom_dir_only (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir_only)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_port)\", \"test_copy_file_clean_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_clean_modified)\", \"test_plugin_config_sub_error (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_error)\", \"test_lang_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_code)\", \"test_get_themes (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes)\", \"test_nav_missing_page (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_missing_page)\", \"test_bad_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_bad_relative_html_link)\", \"test_build_theme (mkdocs.tests.cli_tests.CLITests.test_build_theme)\", \"test_provided_empty (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_empty)\", \"test_theme_default (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_default)\", \"test_nested_nonindex_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_nonindex_page)\", \"test_with_unicode (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_with_unicode)\", \"test_get_theme_dir_importerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_importerror)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_none)\", \"test_duplicates (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_context_base_url_relative_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page)\", \"test_serves_polling_with_timeout (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_timeout)\", \"test_lang_no_default_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_list)\", \"test_hooks (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks)\", \"test_count_debug (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_debug)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_build_dirty (mkdocs.tests.cli_tests.CLITests.test_build_dirty)\", \"test_not_a_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_empty_dict)\", \"test_email_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_email_link)\", \"test_relative_html_link_with_unencoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_unencoded_space)\", \"test_custom_dir (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir)\", \"test_plugin_config_with_explicit_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_theme_namespace)\", \"test_missing_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_missing_path)\", \"test_prebuild_index_raises_oserror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_oserror)\", \"test_parse_locale_invalid_characters (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_invalid_characters)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_name_is_none)\", \"test_redirects_to_directory (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_directory)\", \"test_prebuild_index_node (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_node)\", \"test_html_stripping (mkdocs.tests.search_tests.SearchIndexTests.test_html_stripping)\", \"test_content_parser_content_before_header (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_content_before_header)\", \"test_run_build_error_event (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_build_error_event)\", \"test_build_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_modified)\", \"test_parse_locale_language_territory_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory_sep)\", \"test_invalid_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_default)\", \"test_serve_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_no_directory_urls)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_format)\", \"test_build_page_plugin_error (mkdocs.tests.build_tests.BuildTests.test_build_page_plugin_error)\", \"test_relative_image_link_from_sibling (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_sibling)\", \"test_gh_deploy_ignore_version (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_ignore_version)\", \"test_version_unknown (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_version_unknown)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom)\", \"test_invalid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_url)\", \"test_file (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_file)\", \"test_custom_action_warns (mkdocs.tests.livereload_tests.BuildTests.test_custom_action_warns)\", \"test_indented_toc_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc_html)\", \"test_lang_default (mkdocs.tests.search_tests.SearchConfigTests.test_lang_default)\", \"test_css_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_css_file_use_directory_urls)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_rebuild_after_rename (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_rename)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_relative_html_link_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash)\", \"test_count_warning (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_warning)\", \"test_get_remote_url_ssh (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_ssh)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_complex_config)\", \"test_hooks_wrong_type (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks_wrong_type)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_redirects_to_unicode_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_unicode_mount_path)\", \"test_flat_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_toc)\", \"test_entityref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_entityref)\", \"test_javascript_file (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file)\", \"test_default (mkdocs.tests.config.config_options_tests.SubConfigTest.test_default)\", \"test_build_strict (mkdocs.tests.cli_tests.CLITests.test_build_strict)\", \"test_deploy_ignore_version_default (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version_default)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale)\", \"test_named_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_named_address)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_plugin_config_with_deduced_theme_namespace_overridden (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace_overridden)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_format)\", \"test_get_remote_url_enterprise (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_enterprise)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_none)\", \"test_build_page (mkdocs.tests.build_tests.BuildTests.test_build_page)\", \"test_serve_no_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_no_livereload)\", \"test_valid_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_address)\", \"test_plugin_config_as_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_as_dict)\", \"test_relative_html_link_sub_page (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page)\", \"test_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_translations_found)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_plugin_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_defaults)\", \"test_file (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_file)\", \"test_valid_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_address)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_mm_meta_data_blank_first_line (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data_blank_first_line)\", \"test_mixed_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_string)\", \"test_nav_no_directory_urls (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_directory_urls)\", \"test_optional (mkdocs.tests.config.config_options_tests.URLTest.test_optional)\", \"test_md_index_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested_use_directory_urls)\", \"test_yaml_inheritance_missing_parent (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance_missing_parent)\", \"test_normalize_url_windows (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url_windows)\", \"test_event_on_config_include_search_page (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_include_search_page)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_config_missing_name)\", \"test_plugin_config_none_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_empty_default)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_md_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file)\", \"test_mm_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data)\", \"test_lang_no_default_none (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_none)\", \"test_page_title_from_capitalized_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_capitalized_filename)\", \"test_get_current_sha (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_current_sha)\", \"test_md_readme_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file)\", \"test_invalid_choice (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choice)\", \"test_with_unicode (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_with_unicode)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_invalid_type (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_type)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_multiple_dirs_can_cause_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_can_cause_rebuild)\", \"test_non_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_list)\", \"test_gh_deploy_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_use_directory_urls)\", \"test_copy_files (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files)\", \"test_invalid_choices (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choices)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_optional)\", \"test_mixed_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_html)\", \"test_copy_files_without_permissions (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files_without_permissions)\", \"test_content_parser_no_id (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_id)\", \"test_media_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_media_file_use_directory_urls)\", \"test_flat_h2_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_h2_toc)\", \"test_invalid_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_default)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_build_config_file (mkdocs.tests.cli_tests.CLITests.test_build_config_file)\", \"test_jinja_extension_installed (mkdocs.tests.localization_tests.LocalizationTests.test_jinja_extension_installed)\", \"test_get_relative_url_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url_use_directory_urls)\", \"test_empty (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_empty)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_type)\", \"test_populate_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_not_modified)\", \"test_relative_html_link_hash_only (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash_only)\", \"test_int_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_int_type)\", \"test_lang_multi_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_multi_list)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url_is_dir)\", \"test_plugin_config_with_multiple_instances_and_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances_and_warning)\", \"test_serve_default (mkdocs.tests.cli_tests.CLITests.test_serve_default)\", \"test_context_extra_css_js_from_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page)\", \"test_page_no_directory_url (mkdocs.tests.structure.page_tests.PageTests.test_page_no_directory_url)\", \"test_populate_page_read_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_error)\", \"test_prebuild_index_false (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_false)\", \"test_page_defaults (mkdocs.tests.structure.page_tests.PageTests.test_page_defaults)\", \"test_page_edit_url (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url)\", \"test_file_name_with_custom_dest_uri (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_custom_dest_uri)\", \"test_get_files_include_readme_without_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_include_readme_without_index)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_subconfig_with_multiple_items)\", \"test_copy (mkdocs.tests.config.config_options_tests.SchemaTest.test_copy)\", \"test_empty_nav (mkdocs.tests.config.config_tests.ConfigTests.test_empty_nav)\", \"test_length (mkdocs.tests.config.config_options_tests.TypeTest.test_length)\", \"test_media_file (mkdocs.tests.structure.file_tests.TestFiles.test_media_file)\", \"test_non_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_list)\", \"test_simple_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_simple_nav)\", \"test_invalid_type (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_type)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_invalid_url (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_url)\", \"test_lang_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_str)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_normal)\", \"test_dir_bytes (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_yaml_meta_data_invalid (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_invalid)\", \"test_single_type (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_single_type)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_errors)\", \"test_external_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_external_link)\", \"test_serve_config_file (mkdocs.tests.cli_tests.CLITests.test_serve_config_file)\", \"test_missing_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_missing_path)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_env_var_in_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_env_var_in_yaml)\", \"test_page_canonical_url (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url)\", \"test_insort_key (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort_key)\", \"test_normalize_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url)\", \"test_add_files_from_theme (mkdocs.tests.structure.file_tests.TestFiles.test_add_files_from_theme)\", \"test_valid_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_valid_path)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_ok)\", \"test_plugin_config_with_multiple_instances (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances)\", \"test_populate_page (mkdocs.tests.build_tests.BuildTests.test_populate_page)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_gitlab)\", \"test_multiple_dirs_changes_rebuild_only_once (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_changes_rebuild_only_once)\", \"test_defined (mkdocs.tests.config.config_options_tests.PrivateTest.test_defined)\", \"test_new (mkdocs.tests.new_tests.NewTests.test_new)\", \"test_lang_bad_type (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_type)\", \"test_validation_warnings (mkdocs.tests.config.base_tests.ConfigBaseTests.test_validation_warnings)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_prebuild_index_returns_error (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_returns_error)\", \"test_valid_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_dir)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_dir_bytes (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_page_canonical_url_nested (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested)\", \"test_plugin_config_min_search_length (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_min_search_length)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_custom)\", \"test_default_values (mkdocs.tests.utils.utils_tests.LogCounterTests.test_default_values)\", \"test_page_eq (mkdocs.tests.structure.page_tests.PageTests.test_page_eq)\", \"test_simple_theme (mkdocs.tests.theme_tests.ThemeTests.test_simple_theme)\", \"test_copy_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_name_is_none)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_build_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_no_directory_urls)\", \"test_serves_polling_instantly (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_instantly)\", \"test_required (mkdocs.tests.config.config_options_tests.ChoiceTest.test_required)\", \"test_relative_html_link_sub_page_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page_hash)\", \"test_not_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_not_list)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_required)\", \"test_md_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested)\", \"test_plugin_config_multivalue_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_multivalue_dict)\", \"test_gh_deploy_config_file (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_config_file)\", \"test_nonexistant_config (mkdocs.tests.config.config_tests.ConfigTests.test_nonexistant_config)\", \"test_run_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_on_collection)\", \"test_count_multiple (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_multiple)\", \"test_relative_image_link_from_subpage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_subpage)\", \"test_gh_deploy_remote_branch (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_branch)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_serves_polling_with_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_mount_path)\", \"test_gh_deploy_defaults (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_defaults)\", \"test_get_theme_dir (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir)\", \"test_nav_no_title (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_title)\", \"test_page_canonical_url_nested_no_slash (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested_no_slash)\", \"test_serve_dev_addr (mkdocs.tests.cli_tests.CLITests.test_serve_dev_addr)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_int)\", \"test_event_on_config_theme_locale (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_theme_locale)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_gitlab)\", \"test_get_files_exclude_readme_with_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_exclude_readme_with_index)\", \"test_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_optional)\", \"test_md_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested_use_directory_urls)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_warning)\", \"test_empty_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_empty_list)\", \"test_removed_option (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_removed_option)\", \"test_duplicates (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_plugin_config_not_list (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_list)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom)\", \"test_charref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_charref)\", \"test_log_level (mkdocs.tests.utils.utils_tests.LogCounterTests.test_log_level)\", \"test_optional (mkdocs.tests.config.config_options_tests.SubConfigTest.test_optional)\", \"test_extra_context (mkdocs.tests.build_tests.BuildTests.test_extra_context)\", \"test_parse_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_only)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_errors)\", \"test_relative_html_link_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_index)\", \"test_event_on_post_build_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_search_index_only)\", \"test_old_format (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_old_format)\", \"test_mkdocs_newer (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_newer)\", \"test_absolute_win_local_path (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_win_local_path)\", \"test_get_files (mkdocs.tests.structure.file_tests.TestFiles.test_get_files)\", \"test_missing_but_required (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_valid_language_territory (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language_territory)\", \"test_insort (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort)\", \"test_css_file (mkdocs.tests.structure.file_tests.TestFiles.test_css_file)\", \"test_lang_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_list)\", \"test_event_on_post_build_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_defaults)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_range)\", \"test_missing_page (mkdocs.tests.structure.page_tests.PageTests.test_missing_page)\", \"test_simple_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_theme (mkdocs.tests.config.config_tests.ConfigTests.test_theme)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_dict)\", \"test_serves_with_unicode_characters (mkdocs.tests.livereload_tests.BuildTests.test_serves_with_unicode_characters)\", \"test_lang_missing_and_with_territory (mkdocs.tests.search_tests.SearchConfigTests.test_lang_missing_and_with_territory)\", \"test_context_extra_css_js_from_homepage (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_homepage)\", \"test_multiple_types (mkdocs.tests.config.config_options_tests.TypeTest.test_multiple_types)\", \"test_deploy_hostname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_hostname)\", \"test_post_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_post_validation_error)\", \"test_build_page_custom_template (mkdocs.tests.build_tests.BuildTests.test_build_page_custom_template)\", \"test_plugin_config_options_not_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_options_not_dict)\", \"test_optional (mkdocs.tests.config.config_options_tests.ChoiceTest.test_optional)\", \"test_get_relative_url_empty (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url_empty)\", \"test_unknown_extension (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_optional)\", \"test_old_format (mkdocs.tests.config.config_options_tests.NavTest.test_old_format)\", \"test_list_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_complex_config)\", \"test_empty_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_empty_list)\", \"test_gh_deploy_remote_name (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_name)\", \"test_deploy_error (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_error)\", \"test_serves_modified_html (mkdocs.tests.livereload_tests.BuildTests.test_serves_modified_html)\", \"test_none_without_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_none_without_default)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_int)\", \"test_none (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_none)\", \"test_context_base_url_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page_use_directory_urls)\", \"test_build_defaults (mkdocs.tests.cli_tests.CLITests.test_build_defaults)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_gitlab)\", \"test_event_on_post_build_multi_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_multi_lang)\", \"test_gh_deploy_force (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_force)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_nested_list)\", \"test_skip_extra_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_extra_template_empty_output)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_required)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_list_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_unsupported_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_address)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required)\", \"test_list_of_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_of_optional)\", \"test_populate_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_modified)\", \"test_run_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_run_validation_error)\", \"test_non_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_path)\", \"test_context_base_url_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page)\", \"test_build_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_not_modified)\", \"test_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_string)\", \"test_context_extra_css_js_from_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page_use_directory_urls)\", \"test_plugin_config_not_string_or_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_string_or_dict)\", \"test_relative_image_link_from_homepage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_homepage)\", \"test_skip_missing_theme_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_theme_template)\", \"test_get_relative_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url)\", \"test_replace_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_replace_default)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_range)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_valid_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_dir)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_empty_dict)\", \"test_build_verbose (mkdocs.tests.cli_tests.CLITests.test_build_verbose)\", \"test_no_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_no_meta_data)\", \"test_subclass (mkdocs.tests.config.config_options_tests.SchemaTest.test_subclass)\", \"test_valid_language (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language)\", \"test_none (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_none)\", \"test_filter_paths (mkdocs.tests.structure.file_tests.TestFiles.test_filter_paths)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_plugin_config_with_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_options)\", \"test_build_page_error (mkdocs.tests.build_tests.BuildTests.test_build_page_error)\", \"test_md_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_use_directory_urls)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_ok)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_deploy (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy)\", \"test_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_error_handler)\", \"test_static_file (mkdocs.tests.structure.file_tests.TestFiles.test_static_file)\", \"test_static_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_static_file_use_directory_urls)\", \"test_indented_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc)\", \"test_yaml_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_none)\", \"test_valid_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_valid_path)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_is_markdown_file (mkdocs.tests.utils.utils_tests.UtilsTests.test_is_markdown_file)\", \"test_yaml_inheritance (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance)\", \"test_event_priorities (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_priorities)\", \"test_plugin_config_separator (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_separator)\", \"test_list_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_list_default)\", \"test_not_a_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_file)\", \"test_builtins_config (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_redirects_to_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_mount_path)\", \"test_missing_default (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_level (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_level)\", \"test_event_on_config_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_search_index_only)\", \"test_vars (mkdocs.tests.theme_tests.ThemeTests.test_vars)\", \"test_plugin_config_indexing (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_indexing)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_invalid_type)\", \"test_page_edit_url_warning (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url_warning)\", \"test_page_title_from_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_filename)\", \"test_mime_types (mkdocs.tests.livereload_tests.BuildTests.test_mime_types)\", \"test_context_base_url_relative_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page_use_directory_urls)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_gitlab)\", \"test_provided_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_dict)\", \"test_provided_dict (mkdocs.tests.config.config_options_tests.NavTest.test_provided_dict)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_default)\", \"test_absolute_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_link)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_default_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_default_address)\", \"test_no_links (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_no_links)\", \"test_new (mkdocs.tests.cli_tests.CLITests.test_new)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_none)\", \"test_is_cwd_not_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_not_git_repo)\", \"test_get_by_type_nested_sections (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_get_by_type_nested_sections)\", \"test_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_territory)\", \"test_copy_theme_files (mkdocs.tests.build_tests.BuildTests.test_copy_theme_files)\", \"test_skip_theme_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_theme_template_empty_output)\", \"test_nested_index_page_no_parent (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent)\", \"test_missing_site_name (mkdocs.tests.config.config_tests.ConfigTests.test_missing_site_name)\", \"test_plugin_config_empty_list_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_default)\", \"test_parse_locale_unknown_locale (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_unknown_locale)\", \"test_nested_index_page_no_parent_no_directory_urls (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent_no_directory_urls)\", \"test_invalid_choice (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choice)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_normal)\", \"test_lang_good_and_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_good_and_bad_code)\", \"test_plugin_config_uninstalled (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_uninstalled)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_simple_config)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_relative_html_link_sub_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_parse_locale_bad_format (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format)\", \"test_page_ne (mkdocs.tests.structure.page_tests.PageTests.test_page_ne)\", \"test_single_type (mkdocs.tests.config.config_options_tests.TypeTest.test_single_type)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_search_indexing_options (mkdocs.tests.search_tests.SearchIndexTests.test_search_indexing_options)\", \"test_copy_file_dirty_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_modified)\", \"test_predefined_page_title (mkdocs.tests.structure.page_tests.PageTests.test_predefined_page_title)\", \"test_invalid_config (mkdocs.tests.config.config_tests.ConfigTests.test_invalid_config)\", \"test_error_on_pages (mkdocs.tests.config.config_tests.ConfigTests.test_error_on_pages)\", \"test_length (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_length)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url_is_dir)\", \"test_combined_float_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_combined_float_type)\", \"test_mkdocs_older (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_older)\", \"test_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_site_dir_contains_stale_files)\", \"test_is_cwd_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_git_repo)\", \"test_gh_deploy_clean (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_clean)\", \"test_get_theme_dir_keyerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_keyerror)\", \"test_combined_float_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_combined_float_type)\", \"test_plugin_config_empty_list_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_empty_default)\", \"test_yaml_meta_data_not_dict (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_not_dict)\", \"test_page_title_from_homepage_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_homepage_filename)\", \"test_indented_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_indented_nav)\", \"test_unknown_locale (mkdocs.tests.localization_tests.LocalizationTests.test_unknown_locale)\", \"test_lang_no_default_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_str)\", \"test_valid_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_file)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale)\", \"test_context_extra_css_path_warning (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_path_warning)\", \"test_required (mkdocs.tests.config.config_options_tests.SubConfigTest.test_required)\", \"test_nest_paths_native (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths_native)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_github)\", \"test_valid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_valid_plugin_options)\", \"test_event_on_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_lang)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_build_quiet (mkdocs.tests.cli_tests.CLITests.test_build_quiet)\", \"test_deploy_ignore_version (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version)\", \"test_provided_empty (mkdocs.tests.config.config_options_tests.NavTest.test_provided_empty)\", \"test_get_themes_warning (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_warning)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_not_a_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_builtins_config (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_files (mkdocs.tests.structure.file_tests.TestFiles.test_files)\", \"test_run_undefined_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_undefined_event_on_collection)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_simple_config)\", \"test_watches_through_relative_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_relative_symlinks)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_github)\", \"test_missing_but_required (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_gh_deploy_theme (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_theme)\", \"test_mixed_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_only)\", \"test_event_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_returns_None)\", \"test_set_multiple_plugins_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_multiple_plugins_on_collection)\", \"test_plugin_config_sub_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_warning)\", \"test_mixed_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_toc)\", \"test_load_default_file_with_yaml (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_default_file_with_yaml)\", \"test_merge_translations (mkdocs.tests.localization_tests.LocalizationTests.test_merge_translations)\", \"test_skip_ioerror_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_ioerror_extra_template)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_relative_html_link_with_encoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_encoded_space)\", \"test_invalid_choices (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choices)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_theme_default (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_default)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_javascript_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file_use_directory_urls)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_warns_for_dict)\", \"test_parse_locale_bad_type (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_type)\", \"test_count_info (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_info)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_type)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_serve_strict (mkdocs.tests.cli_tests.CLITests.test_serve_strict)\", \"test_not_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_not_site_dir_contains_stale_files)\", \"test_get_themes_error (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_error)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_prebuild_index_raises_ioerror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_ioerror)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_none (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_none)\", \"test_nav_from_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_files)\", \"test_watches_direct_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_direct_symlinks)\", \"test_build_extra_template (mkdocs.tests.build_tests.BuildTests.test_build_extra_template)\", \"test_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_missing_required)\", \"test_get_relative_url (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url)\", \"test_context_extra_css_js_no_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_no_page)\", \"test_nested_ungrouped_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav)\", \"test_valid_url (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url)\", \"test_reduce_list (mkdocs.tests.utils.utils_tests.UtilsTests.test_reduce_list)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_optional)\", \"test_homepage (mkdocs.tests.structure.page_tests.PageTests.test_homepage)\", \"test_event_on_post_build_single_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_single_lang)\", \"test_serves_normal_file (mkdocs.tests.livereload_tests.BuildTests.test_serves_normal_file)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_tests.NavTest.test_warns_for_dict)\", \"test_file_eq (mkdocs.tests.structure.file_tests.TestFiles.test_file_eq)\", \"test_no_theme_config (mkdocs.tests.theme_tests.ThemeTests.test_no_theme_config)\", \"test_multiple_types (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_multiple_types)\", \"test_page_title_from_markdown_preserved_attr_list (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_preserved_attr_list)\", \"test_gh_deploy_strict (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_strict)\", \"test_none_without_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_none_without_default)\", \"test_normal_nav (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_normal_nav)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_custom)\", \"test_plugin_config_with_explicit_empty_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_empty_namespace)\", \"test_page_title_from_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown)\", \"test_not_a_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_file)\", \"test_files_append_remove_src_paths (mkdocs.tests.structure.file_tests.TestFiles.test_files_append_remove_src_paths)\", \"test_create_search_index (mkdocs.tests.search_tests.SearchIndexTests.test_create_search_index)\", \"test_populate_page_read_plugin_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_plugin_error)\", \"test_deploy_no_cname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_no_cname)\", \"test_set_plugin_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_plugin_on_collection)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_dict)\", \"test_gh_deploy_dirty (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_dirty)\", \"test_run_unknown_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_unknown_event_on_collection)\", \"test_nest_paths (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths)\", \"test_build_theme_template (mkdocs.tests.build_tests.BuildTests.test_build_theme_template)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_none)\", \"test_copy (mkdocs.tests.config.config_options_legacy_tests.SchemaTest.test_copy)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_warning)\", \"test_configkey (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_configkey)\", \"test_get_schema (mkdocs.tests.config.base_tests.ConfigBaseTests.test_get_schema)\", \"test_context_base_url__absolute_nested_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_nested_no_page_use_directory_urls)\", \"test_gh_deploy_site_dir (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_site_dir)\", \"test_page_render (mkdocs.tests.structure.page_tests.PageTests.test_page_render)\", \"test_pre_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_pre_validation_error)\", \"test_unsupported_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_address)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_BOM (mkdocs.tests.structure.page_tests.PageTests.test_BOM)\", \"test_get_remote_url_http (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_http)\", \"test_source_date_epoch (mkdocs.tests.structure.page_tests.SourceDateEpochTests.test_source_date_epoch)\", \"test_required_no_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required_no_default)\", \"test_copy_file_dirty_not_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_not_modified)\", \"test_serves_directory_index (mkdocs.tests.livereload_tests.BuildTests.test_serves_directory_index)\", \"test_rebuild_on_edit (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_on_edit)\", \"test_page_title_from_meta (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_meta)\", \"test_list_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_default)\", \"test_gh_deploy_message (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_message)\", \"test_nav_external_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_external_links)\", \"test_nested_index_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page)\", \"test_serves_polling_after_event (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_after_event)\", \"test_content_parser (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_with_multiple_items)\", \"test_file_name_with_space (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_space)\", \"test_valid_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_file)\", \"test_build_sitemap_template (mkdocs.tests.build_tests.BuildTests.test_build_sitemap_template)\", \"test_gh_deploy_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_no_directory_urls)\", \"test_event_empty_item_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item_returns_None)\", \"test_unknown_extension (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_error (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_post_validation_error)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_int)\", \"test_plugin_config_prebuild_index (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_prebuild_index)\", \"test_bad_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_bad_error_handler)\", \"test_md_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_file)\", \"test_normal_nav (mkdocs.tests.config.config_options_tests.NavTest.test_normal_nav)\", \"test_unicode_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_unicode_yaml)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_unwatch (mkdocs.tests.livereload_tests.BuildTests.test_unwatch)\", \"test_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_default)\", \"test_context_base_url__absolute_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_no_page_use_directory_urls)\", \"test_invalid_locale (mkdocs.tests.localization_tests.LocalizationTests.test_invalid_locale)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_bitbucket)\", \"test_event_empty_item (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_load_from_missing_file (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_from_missing_file)\", \"test_prebuild_index_python_missing_lunr (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_python_missing_lunr)\", \"test_md_index_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested)\", \"test_md_readme_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file_use_directory_urls)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_valid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url)\", \"test_plugin_config_with_deduced_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_active (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_active)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_int)\", \"test_nav_from_nested_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_nested_files)\", \"test_run_event_twice_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_twice_on_collection)\", \"test_hooks (mkdocs.tests.config.config_options_legacy_tests.HooksTest.test_hooks)\", \"test_serve_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_livereload)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_non_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_path)\", \"test_build_clean (mkdocs.tests.cli_tests.CLITests.test_build_clean)\", \"test_file_ne (mkdocs.tests.structure.file_tests.TestFiles.test_file_ne)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_basic_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_basic_rebuild)\", \"test_serve_watch_theme (mkdocs.tests.cli_tests.CLITests.test_serve_watch_theme)\", \"test_build_page_empty (mkdocs.tests.build_tests.BuildTests.test_build_page_empty)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_port)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_int)\", \"test_context_base_url_homepage_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage_use_directory_urls)\", \"test_parse_locale_bad_format_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format_sep)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_int)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_invalid_type)\", \"test_serves_from_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_from_mount_path)\", \"test_copying_media (mkdocs.tests.build_tests.BuildTests.test_copying_media)\", \"test_context_base_url_absolute_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_no_page)\", \"test_configkey (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_configkey)\", \"test_nested_ungrouped_nav_no_titles (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav_no_titles)\", \"test_no_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_no_translations_found)\", \"test_serve_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_use_directory_urls)\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"test_page_title_from_markdown_strip_formatting (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_strip_formatting)\", \"test_page_title_from_markdown_stripped_attr_list (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_stripped_attr_list)\", \"test_page_title_from_setext_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_setext_markdown)\", \"test_page_title_from_markdown_stripped_anchorlinks (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown_stripped_anchorlinks)\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [], \"pre_install\": [\"tee pyproject.toml <=3.7\\\"\\ndependencies = [\\n \\\"click >=7.0\\\",\\n \\\"Jinja2 >=2.11.1\\\",\\n \\\"markupsafe >=2.0.1\\\",\\n \\\"Markdown >=3.2.1\\\",\\n \\\"PyYAML >=5.1\\\",\\n \\\"watchdog >=2.0\\\",\\n \\\"ghp-import >=1.0\\\",\\n \\\"pyyaml_env_tag >=0.1\\\",\\n \\\"importlib-metadata >=4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions >=3.10; python_version < '3.8'\\\",\\n \\\"packaging >=20.5\\\",\\n \\\"mergedeep >=1.3.4\\\",\\n \\\"pathspec >=0.11.1\\\",\\n \\\"platformdirs >=2.2.0\\\",\\n \\\"colorama >=0.4; platform_system == 'Windows'\\\",\\n]\\n[project.optional-dependencies]\\ni18n = [\\n \\\"babel >=2.9.0\\\",\\n]\\nmin-versions = [\\n \\\"click ==7.0\\\",\\n \\\"Jinja2 ==2.11.1\\\",\\n \\\"markupsafe ==2.0.1\\\",\\n \\\"Markdown ==3.2.1\\\",\\n \\\"PyYAML ==5.1\\\",\\n \\\"watchdog ==2.0\\\",\\n \\\"ghp-import ==1.0\\\",\\n \\\"pyyaml_env_tag ==0.1\\\",\\n \\\"importlib-metadata ==4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions ==3.10; python_version < '3.8'\\\",\\n \\\"packaging ==20.5\\\",\\n \\\"mergedeep ==1.3.4\\\",\\n \\\"pathspec ==0.11.1\\\",\\n \\\"platformdirs ==2.2.0\\\",\\n \\\"colorama ==0.4; platform_system == 'Windows'\\\",\\n \\\"babel ==2.9.0\\\",\\n]\\n\\n[project.urls]\\nDocumentation = \\\"https://www.mkdocs.org/\\\"\\nSource = \\\"https://github.com/mkdocs/mkdocs\\\"\\nIssues = \\\"https://github.com/mkdocs/mkdocs/issues\\\"\\nHistory = \\\"https://www.mkdocs.org/about/release-notes/\\\"\\n\\n[project.scripts]\\nmkdocs = \\\"mkdocs.__main__:cli\\\"\\n\\n[project.entry-points.\\\"mkdocs.themes\\\"]\\nmkdocs = \\\"mkdocs.themes.mkdocs\\\"\\nreadthedocs = \\\"mkdocs.themes.readthedocs\\\"\\n\\n[project.entry-points.\\\"mkdocs.plugins\\\"]\\nsearch = \\\"mkdocs.contrib.search:SearchPlugin\\\"\\n\\n[tool.hatch.version]\\npath = \\\"mkdocs/__init__.py\\\"\\n\\n[tool.hatch.build]\\nartifacts = [\\\"/mkdocs/**/*.mo\\\"]\\n[tool.hatch.build.targets.sdist]\\ninclude = [\\\"/mkdocs\\\"]\\n[tool.hatch.build.targets.wheel]\\nexclude = [\\\"/mkdocs/tests/integration\\\", \\\"*.po\\\", \\\"*.pot\\\", \\\"babel.cfg\\\"]\\n[tool.hatch.build.hooks.custom]\\ndependencies = [\\n \\\"babel\\\",\\n]\\n\\n[tool.hatch.envs.default.scripts]\\nall = [\\n \\\"hatch run style:check\\\",\\n \\\"hatch run types:check\\\",\\n \\\"hatch run test:test\\\",\\n \\\"hatch run lint:check\\\",\\n \\\"hatch run +type=default integration:test\\\",\\n]\\n\\n[tool.hatch.envs.test]\\nfeatures = [\\\"i18n\\\"]\\ndependencies = [\\n \\\"coverage\\\",\\n]\\n[tool.hatch.envs.test.scripts]\\ntest = \\\"coverage run --source=mkdocs --omit 'mkdocs/tests/*' -m unittest discover -v -p '*tests.py' mkdocs --top-level-directory .\\\"\\n_coverage = [\\\"test\\\", \\\"coverage xml\\\", \\\"coverage report --show-missing\\\"]\\nwith-coverage = \\\"test\\\"\\n[[tool.hatch.envs.test.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"min-req\\\"]\\n[tool.hatch.envs.test.overrides]\\nmatrix.type.features = [\\n { value = \\\"min-versions\\\", if = [\\\"min-req\\\"] },\\n]\\nmatrix.type.scripts = [\\n { key = \\\"with-coverage\\\", value = \\\"_coverage\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.integration]\\ntemplate = \\\"docs\\\"\\n[tool.hatch.envs.integration.scripts]\\ntest = \\\"python -m mkdocs.tests.integration\\\"\\n[[tool.hatch.envs.integration.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"no-babel\\\"]\\n[tool.hatch.envs.integration.overrides]\\nmatrix.type.features = [\\n { value = \\\"i18n\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.types]\\ndependencies = [\\n \\\"mypy\\\",\\n \\\"types-Jinja2\\\",\\n \\\"types-Markdown\\\",\\n \\\"types-PyYAML\\\",\\n \\\"types-setuptools\\\",\\n \\\"typing-extensions\\\",\\n]\\n[tool.hatch.envs.types.scripts]\\ncheck = \\\"mypy mkdocs\\\"\\n\\n[tool.hatch.envs.style]\\ndetached = true\\ndependencies = [\\n \\\"black\\\",\\n \\\"isort\\\",\\n \\\"ruff\\\",\\n]\\n[tool.hatch.envs.style.scripts]\\ncheck = [\\n \\\"isort --check-only --diff mkdocs docs\\\",\\n \\\"black -q --check --diff mkdocs docs\\\",\\n \\\"lint\\\",\\n]\\nlint = [\\n \\\"ruff check mkdocs docs\\\"\\n]\\nfix = [\\n \\\"ruff check --fix mkdocs docs\\\",\\n \\\"format\\\",\\n]\\nformat = [\\n \\\"isort -q mkdocs docs\\\",\\n \\\"black -q mkdocs docs\\\",\\n]\\n\\n[tool.hatch.envs.lint]\\ndetached = true\\ndependencies = [\\n \\\"codespell\\\",\\n]\\n[tool.hatch.envs.lint.scripts]\\nspelling = \\\"codespell mkdocs docs *.* -S LC_MESSAGES -S '*.min.js' -S 'lunr*.js' -S fontawesome-webfont.svg -S tinyseg.js\\\"\\nmarkdown = \\\"npm exec --yes -- markdownlint-cli README.md CONTRIBUTING.md docs/ --ignore docs/CNAME\\\"\\njs = \\\"npm exec --yes -- jshint mkdocs/\\\"\\ncss = \\\"npm exec --yes -- csslint --quiet mkdocs/\\\"\\ncheck = [\\\"markdown\\\", \\\"js\\\", \\\"css\\\", \\\"spelling\\\"]\\n\\n[tool.hatch.envs.docs]\\ndependencies = [\\n \\\"Markdown >=3.3.3\\\",\\n \\\"mdx_gh_links >=0.2\\\",\\n \\\"markdown-callouts >=0.3.0\\\",\\n \\\"mkdocs-literate-nav >=0.5.0\\\",\\n \\\"mkdocs-redirects >=1.0.1\\\",\\n \\\"pymdown-extensions >=8.0.1\\\",\\n \\\"mkdocstrings-python >=0.7.1\\\",\\n \\\"mkdocs-click >=0.8.0\\\",\\n]\\n\\n[tool.black]\\nline-length = 100\\ntarget-version = [\\\"py37\\\"] # 3.7\\nskip-string-normalization = true\\n\\n[tool.isort]\\nprofile = \\\"black\\\"\\nline_length = 100\\n\\n[tool.ruff]\\nselect = [\\n \\\"F\\\", \\\"W\\\", \\\"E\\\", \\\"UP\\\", \\\"YTT\\\", \\\"C4\\\", \\\"FA\\\", \\\"PIE\\\", \\\"T20\\\", \\\"RSE\\\", \\\"TCH\\\", \\\"DTZ\\\",\\n \\\"B002\\\", \\\"B003\\\", \\\"B005\\\", \\\"B007\\\", \\\"B009\\\", \\\"B012\\\", \\\"B013\\\", \\\"B014\\\", \\\"B015\\\", \\\"B018\\\", \\\"B020\\\", \\\"B021\\\", \\\"B023\\\", \\\"B026\\\", \\\"B033\\\", \\\"B034\\\", \\\"B905\\\",\\n \\\"COM818\\\",\\n \\\"PERF101\\\",\\n \\\"PGH002\\\", \\\"PGH004\\\", \\\"PGH005\\\",\\n \\\"PLE\\\", \\\"PLW0120\\\", \\\"PLW0127\\\",\\n \\\"RUF001\\\", \\\"RUF007\\\", \\\"RUF010\\\", \\\"RUF100\\\", \\\"RUF200\\\",\\n \\\"SIM101\\\", \\\"SIM107\\\", \\\"SIM201\\\", \\\"SIM202\\\", \\\"SIM208\\\", \\\"SIM210\\\", \\\"SIM211\\\", \\\"SIM300\\\", \\\"SIM401\\\", \\\"SIM910\\\",\\n]\\nignore = [\\\"E501\\\", \\\"E731\\\"]\\n\\n[tool.ruff.flake8-comprehensions]\\nallow-dict-calls-with-keyword-arguments = true\\n\\n[tool.mypy]\\nignore_missing_imports = true\\nwarn_unreachable = true\\nno_implicit_optional = true\\nshow_error_codes = true\\n\\nEOF_1234810234\"], \"python\": \"3.11\", \"pip_packages\": [\"anyio==3.7.0\", \"certifi==2023.5.7\", \"cffi==1.15.1\", \"click==8.1.3\", \"cryptography==40.0.2\", \"distlib==0.3.6\", \"editables==0.3\", \"filelock==3.12.0\", \"h11==0.14.0\", \"hatch==1.7.0\", \"hatchling==1.17.0\", \"httpcore==0.17.2\", \"httpx==0.24.1\", \"hyperlink==21.0.0\", \"idna==3.4\", \"importlib-metadata==6.6.0\", \"jaraco-classes==3.2.3\", \"jeepney==0.8.0\", \"keyring==23.13.1\", \"markdown-it-py==2.2.0\", \"mdurl==0.1.2\", \"more-itertools==9.1.0\", \"packaging==23.1\", \"pathspec==0.11.1\", \"pexpect==4.8.0\", \"platformdirs==3.5.1\", \"pluggy==1.0.0\", \"ptyprocess==0.7.0\", \"pycparser==2.21\", \"pygments==2.15.1\", \"pyperclip==1.8.2\", \"rich==13.3.5\", \"secretstorage==3.3.3\", \"setuptools==75.1.0\", \"shellingham==1.5.0.post1\", \"sniffio==1.3.0\", \"tomli-w==1.0.0\", \"tomlkit==0.11.8\", \"trove-classifiers==2023.5.24\", \"userpath==1.8.0\", \"virtualenv==20.23.0\", \"wheel==0.44.0\", \"zipp==3.15.0\"]}"},"test_framework":{"kind":"null"},"test_commands":{"kind":"string","value":"[\"hatch run +py=3.11 test:with-coverage\"]"},"version":{"kind":"null"},"environment_setup_commit":{"kind":"null"},"docker_image_root":{"kind":"string","value":"swa-bench:sw.eval"}}},{"rowIdx":145,"cells":{"repo":{"kind":"string","value":"mkdocs/mkdocs"},"instance_id":{"kind":"string","value":"mkdocs__mkdocs-3010"},"base_commit":{"kind":"string","value":"2a232bf153a5bc22b73f5142030e1101ee96d5b2"},"patch":{"kind":"string","value":"diff --git a/mkdocs/structure/pages.py b/mkdocs/structure/pages.py\nindex 6592495b97..9330a84696 100644\n--- a/mkdocs/structure/pages.py\n+++ b/mkdocs/structure/pages.py\n@@ -88,7 +88,10 @@ def _indent_print(self, depth=0):\n @property\n def url(self) -> str:\n \"\"\"The URL of the page relative to the MkDocs `site_dir`.\"\"\"\n- return '' if self.file.url in ('.', './') else self.file.url\n+ url = self.file.url\n+ if url in ('.', './'):\n+ return ''\n+ return url\n \n file: File\n \"\"\"The documentation [`File`][mkdocs.structure.files.File] that the page is being rendered from.\"\"\"\ndiff --git a/mkdocs/utils/__init__.py b/mkdocs/utils/__init__.py\nindex 8fa39ff538..abc6647d38 100644\n--- a/mkdocs/utils/__init__.py\n+++ b/mkdocs/utils/__init__.py\n@@ -297,16 +297,20 @@ def get_relative_url(url: str, other: str) -> str:\n \n def normalize_url(path: str, page: Optional[Page] = None, base: str = '') -> str:\n \"\"\"Return a URL relative to the given page or using the base.\"\"\"\n- path, is_abs = _get_norm_url(path)\n- if is_abs:\n+ path, relative_level = _get_norm_url(path)\n+ if relative_level == -1:\n return path\n if page is not None:\n- return get_relative_url(path, page.url)\n+ result = get_relative_url(path, page.url)\n+ if relative_level > 0:\n+ result = '../' * relative_level + result\n+ return result\n+\n return posixpath.join(base, path)\n \n \n @functools.lru_cache(maxsize=None)\n-def _get_norm_url(path: str) -> Tuple[str, bool]:\n+def _get_norm_url(path: str) -> Tuple[str, int]:\n if not path:\n path = '.'\n elif '\\\\' in path:\n@@ -318,8 +322,14 @@ def _get_norm_url(path: str) -> Tuple[str, bool]:\n # Allow links to be fully qualified URLs\n parsed = urlsplit(path)\n if parsed.scheme or parsed.netloc or path.startswith(('/', '#')):\n- return path, True\n- return path, False\n+ return path, -1\n+\n+ # Relative path - preserve information about it\n+ norm = posixpath.normpath(path) + '/'\n+ relative_level = 0\n+ while norm.startswith('../', relative_level * 3):\n+ relative_level += 1\n+ return path, relative_level\n \n \n def create_media_urls(\n"},"test_patch":{"kind":"string","value":"diff --git a/mkdocs/tests/structure/file_tests.py b/mkdocs/tests/structure/file_tests.py\nindex 8d8257f0d9..67dc36b60e 100644\n--- a/mkdocs/tests/structure/file_tests.py\n+++ b/mkdocs/tests/structure/file_tests.py\n@@ -444,7 +444,6 @@ def test_get_relative_url_use_directory_urls(self):\n 'foo/bar.md',\n 'foo/bar/baz.md',\n ]\n-\n to_file_urls = [\n './',\n 'foo/',\n@@ -456,6 +455,8 @@ def test_get_relative_url_use_directory_urls(self):\n ]\n \n from_file = File('img.jpg', '/path/to/docs', '/path/to/site', use_directory_urls=True)\n+ self.assertEqual(from_file.url, 'img.jpg')\n+\n expected = [\n 'img.jpg', # img.jpg relative to .\n '../img.jpg', # img.jpg relative to foo/\n@@ -465,15 +466,15 @@ def test_get_relative_url_use_directory_urls(self):\n '../../img.jpg', # img.jpg relative to foo/bar\n '../../../img.jpg', # img.jpg relative to foo/bar/baz\n ]\n-\n for i, filename in enumerate(to_files):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=True)\n- self.assertEqual(from_file.url, 'img.jpg')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('foo/img.jpg', '/path/to/docs', '/path/to/site', use_directory_urls=True)\n+ self.assertEqual(from_file.url, 'foo/img.jpg')\n+\n expected = [\n 'foo/img.jpg', # foo/img.jpg relative to .\n 'img.jpg', # foo/img.jpg relative to foo/\n@@ -483,15 +484,15 @@ def test_get_relative_url_use_directory_urls(self):\n '../img.jpg', # foo/img.jpg relative to foo/bar\n '../../img.jpg', # foo/img.jpg relative to foo/bar/baz\n ]\n-\n for i, filename in enumerate(to_files):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=True)\n- self.assertEqual(from_file.url, 'foo/img.jpg')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('index.html', '/path/to/docs', '/path/to/site', use_directory_urls=True)\n+ self.assertEqual(from_file.url, './')\n+\n expected = [\n './', # . relative to .\n '../', # . relative to foo/\n@@ -501,15 +502,15 @@ def test_get_relative_url_use_directory_urls(self):\n '../../', # . relative to foo/bar\n '../../../', # . relative to foo/bar/baz\n ]\n-\n for i, filename in enumerate(to_files):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=True)\n- self.assertEqual(from_file.url, './')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('file.md', '/path/to/docs', '/path/to/site', use_directory_urls=True)\n+ self.assertEqual(from_file.url, 'file/')\n+\n expected = [\n 'file/', # file relative to .\n '../file/', # file relative to foo/\n@@ -519,10 +520,8 @@ def test_get_relative_url_use_directory_urls(self):\n '../../file/', # file relative to foo/bar\n '../../../file/', # file relative to foo/bar/baz\n ]\n-\n for i, filename in enumerate(to_files):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=True)\n- self.assertEqual(from_file.url, 'file/')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n@@ -537,7 +536,6 @@ def test_get_relative_url(self):\n 'foo/bar.md',\n 'foo/bar/baz.md',\n ]\n-\n to_file_urls = [\n 'index.html',\n 'foo/index.html',\n@@ -549,6 +547,8 @@ def test_get_relative_url(self):\n ]\n \n from_file = File('img.jpg', '/path/to/docs', '/path/to/site', use_directory_urls=False)\n+ self.assertEqual(from_file.url, 'img.jpg')\n+\n expected = [\n 'img.jpg', # img.jpg relative to .\n '../img.jpg', # img.jpg relative to foo/\n@@ -558,16 +558,16 @@ def test_get_relative_url(self):\n '../img.jpg', # img.jpg relative to foo/bar.html\n '../../img.jpg', # img.jpg relative to foo/bar/baz.html\n ]\n-\n for i, filename in enumerate(to_files):\n with self.subTest(from_file=from_file.src_path, to_file=filename):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=False)\n- self.assertEqual(from_file.url, 'img.jpg')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('foo/img.jpg', '/path/to/docs', '/path/to/site', use_directory_urls=False)\n+ self.assertEqual(from_file.url, 'foo/img.jpg')\n+\n expected = [\n 'foo/img.jpg', # foo/img.jpg relative to .\n 'img.jpg', # foo/img.jpg relative to foo/\n@@ -577,16 +577,16 @@ def test_get_relative_url(self):\n 'img.jpg', # foo/img.jpg relative to foo/bar.html\n '../img.jpg', # foo/img.jpg relative to foo/bar/baz.html\n ]\n-\n for i, filename in enumerate(to_files):\n with self.subTest(from_file=from_file.src_path, to_file=filename):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=False)\n- self.assertEqual(from_file.url, 'foo/img.jpg')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('index.html', '/path/to/docs', '/path/to/site', use_directory_urls=False)\n+ self.assertEqual(from_file.url, 'index.html')\n+\n expected = [\n 'index.html', # index.html relative to .\n '../index.html', # index.html relative to foo/\n@@ -596,16 +596,16 @@ def test_get_relative_url(self):\n '../index.html', # index.html relative to foo/bar.html\n '../../index.html', # index.html relative to foo/bar/baz.html\n ]\n-\n for i, filename in enumerate(to_files):\n with self.subTest(from_file=from_file.src_path, to_file=filename):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=False)\n- self.assertEqual(from_file.url, 'index.html')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\n \n from_file = File('file.html', '/path/to/docs', '/path/to/site', use_directory_urls=False)\n+ self.assertEqual(from_file.url, 'file.html')\n+\n expected = [\n 'file.html', # file.html relative to .\n '../file.html', # file.html relative to foo/\n@@ -615,11 +615,9 @@ def test_get_relative_url(self):\n '../file.html', # file.html relative to foo/bar.html\n '../../file.html', # file.html relative to foo/bar/baz.html\n ]\n-\n for i, filename in enumerate(to_files):\n with self.subTest(from_file=from_file.src_path, to_file=filename):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=False)\n- self.assertEqual(from_file.url, 'file.html')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\ndiff --git a/mkdocs/tests/utils/utils_tests.py b/mkdocs/tests/utils/utils_tests.py\nindex 5be58fb7d8..a72044e274 100644\n--- a/mkdocs/tests/utils/utils_tests.py\n+++ b/mkdocs/tests/utils/utils_tests.py\n@@ -1,5 +1,6 @@\n #!/usr/bin/env python\n \n+import dataclasses\n import datetime\n import logging\n import os\n@@ -9,9 +10,7 @@\n from unittest import mock\n \n from mkdocs import exceptions, utils\n-from mkdocs.structure.files import File\n-from mkdocs.structure.pages import Page\n-from mkdocs.tests.base import dedent, load_config, tempdir\n+from mkdocs.tests.base import dedent, tempdir\n from mkdocs.utils import meta\n \n BASEYML = \"\"\"\n@@ -111,174 +110,76 @@ def test_get_relative_url_empty(self):\n self.assertEqual(utils.get_relative_url('/', '.'), './')\n self.assertEqual(utils.get_relative_url('/', '/.'), './')\n \n- def test_create_media_urls(self):\n- expected_results = {\n- 'https://media.cdn.org/jq.js': [\n- 'https://media.cdn.org/jq.js',\n- 'https://media.cdn.org/jq.js',\n- 'https://media.cdn.org/jq.js',\n- ],\n- 'http://media.cdn.org/jquery.js': [\n- 'http://media.cdn.org/jquery.js',\n- 'http://media.cdn.org/jquery.js',\n- 'http://media.cdn.org/jquery.js',\n- ],\n- '//media.cdn.org/jquery.js': [\n- '//media.cdn.org/jquery.js',\n- '//media.cdn.org/jquery.js',\n- '//media.cdn.org/jquery.js',\n- ],\n- 'media.cdn.org/jquery.js': [\n- 'media.cdn.org/jquery.js',\n- 'media.cdn.org/jquery.js',\n- '../media.cdn.org/jquery.js',\n- ],\n- 'local/file/jquery.js': [\n- 'local/file/jquery.js',\n- 'local/file/jquery.js',\n- '../local/file/jquery.js',\n- ],\n- 'image.png': [\n- 'image.png',\n- 'image.png',\n- '../image.png',\n- ],\n- 'style.css?v=20180308c': [\n- 'style.css?v=20180308c',\n- 'style.css?v=20180308c',\n- '../style.css?v=20180308c',\n- ],\n- '#some_id': [\n- '#some_id',\n- '#some_id',\n- '#some_id',\n- ],\n- }\n-\n- cfg = load_config(use_directory_urls=False)\n- pages = [\n- Page(\n- 'Home',\n- File('index.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'About',\n- File('about.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'FooBar',\n- File('foo/bar.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- ]\n-\n- for i, page in enumerate(pages):\n- urls = utils.create_media_urls(expected_results.keys(), page)\n- self.assertEqual([v[i] for v in expected_results.values()], urls)\n-\n- def test_create_media_urls_use_directory_urls(self):\n- expected_results = {\n- 'https://media.cdn.org/jq.js': [\n- 'https://media.cdn.org/jq.js',\n- 'https://media.cdn.org/jq.js',\n- 'https://media.cdn.org/jq.js',\n- ],\n- 'http://media.cdn.org/jquery.js': [\n- 'http://media.cdn.org/jquery.js',\n- 'http://media.cdn.org/jquery.js',\n- 'http://media.cdn.org/jquery.js',\n- ],\n- '//media.cdn.org/jquery.js': [\n- '//media.cdn.org/jquery.js',\n- '//media.cdn.org/jquery.js',\n- '//media.cdn.org/jquery.js',\n- ],\n- 'media.cdn.org/jquery.js': [\n- 'media.cdn.org/jquery.js',\n- '../media.cdn.org/jquery.js',\n- '../../media.cdn.org/jquery.js',\n- ],\n- 'local/file/jquery.js': [\n- 'local/file/jquery.js',\n- '../local/file/jquery.js',\n- '../../local/file/jquery.js',\n- ],\n- 'image.png': [\n- 'image.png',\n- '../image.png',\n- '../../image.png',\n- ],\n- 'style.css?v=20180308c': [\n- 'style.css?v=20180308c',\n- '../style.css?v=20180308c',\n- '../../style.css?v=20180308c',\n- ],\n- '#some_id': [\n- '#some_id',\n- '#some_id',\n- '#some_id',\n- ],\n- }\n-\n- cfg = load_config(use_directory_urls=True)\n- pages = [\n- Page(\n- 'Home',\n- File('index.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'About',\n- File('about.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'FooBar',\n- File('foo/bar.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- ]\n-\n- for i, page in enumerate(pages):\n- urls = utils.create_media_urls(expected_results.keys(), page)\n- self.assertEqual([v[i] for v in expected_results.values()], urls)\n+ def test_normalize_url(self):\n+ def test(path, base, expected):\n+ self.assertEqual(utils.normalize_url(path, _Page(base)), expected)\n+\n+ # Absolute paths and anchors are unaffected.\n+ for base in 'about.html', 'foo/bar.html', 'index.html', '', 'about/', 'foo/bar/':\n+ test('https://media.cdn.org/jq.js', base, 'https://media.cdn.org/jq.js')\n+ test('http://media.cdn.org/jquery.js', base, 'http://media.cdn.org/jquery.js')\n+ test('//media.cdn.org/jquery.js', base, '//media.cdn.org/jquery.js')\n+ test('#some_id', base, '#some_id')\n+\n+ path = 'media.cdn.org/jquery.js'\n+ test(path, '', 'media.cdn.org/jquery.js')\n+ test(path, 'index.html', 'media.cdn.org/jquery.js')\n+ test(path, 'about.html', 'media.cdn.org/jquery.js')\n+ test(path, 'about/', '../media.cdn.org/jquery.js')\n+ test(path, 'foo/bar.html', '../media.cdn.org/jquery.js')\n+ test(path, 'foo/bar/', '../../media.cdn.org/jquery.js')\n+\n+ path = 'local/file/jquery.js'\n+ test(path, '', 'local/file/jquery.js')\n+ test(path, 'index.html', 'local/file/jquery.js')\n+ test(path, 'about.html', 'local/file/jquery.js')\n+ test(path, 'about/', '../local/file/jquery.js')\n+ test(path, 'foo/bar.html', '../local/file/jquery.js')\n+ test(path, 'foo/bar/', '../../local/file/jquery.js')\n+\n+ path = '../../../../above/jquery.js'\n+ test(path, '', '../../../../above/jquery.js')\n+ test(path, 'index.html', '../../../../above/jquery.js')\n+ test(path, 'about.html', '../../../../above/jquery.js')\n+ test(path, 'about/', '../../../../../above/jquery.js')\n+ test(path, 'foo/bar.html', '../../../../../above/jquery.js')\n+ test(path, 'foo/bar/', '../../../../../../above/jquery.js')\n+\n+ path = '../some/dir/'\n+ test(path, '', '../some/dir/')\n+ test(path, 'index.html', '../some/dir/')\n+ test(path, 'about.html', '../some/dir/')\n+ test(path, 'about/', '../../some/dir/')\n+ test(path, 'foo/bar.html', '../../some/dir/')\n+ test(path, 'foo/bar/', '../../../some/dir/')\n+\n+ path = 'image.png'\n+ test(path, '', 'image.png')\n+ test(path, 'index.html', 'image.png')\n+ test(path, 'about.html', 'image.png')\n+ test(path, 'about/', '../image.png')\n+ test(path, 'foo/bar.html', '../image.png')\n+ test(path, 'foo/bar/', '../../image.png')\n+\n+ path = 'style.css?v=20180308c'\n+ test(path, '', 'style.css?v=20180308c')\n+ test(path, 'index.html', 'style.css?v=20180308c')\n+ test(path, 'about.html', 'style.css?v=20180308c')\n+ test(path, 'about/', '../style.css?v=20180308c')\n+ test(path, 'foo/bar.html', '../style.css?v=20180308c')\n+ test(path, 'foo/bar/', '../../style.css?v=20180308c')\n \n # TODO: This shouldn't pass on Linux\n # @unittest.skipUnless(sys.platform.startswith(\"win\"), \"requires Windows\")\n- def test_create_media_urls_windows(self):\n- expected_results = {\n- 'local\\\\windows\\\\file\\\\jquery.js': [\n- 'local/windows/file/jquery.js',\n- 'local/windows/file/jquery.js',\n- '../local/windows/file/jquery.js',\n- ],\n- }\n-\n- cfg = load_config(use_directory_urls=False)\n- pages = [\n- Page(\n- 'Home',\n- File('index.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'About',\n- File('about.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- Page(\n- 'FooBar',\n- File('foo/bar.md', cfg['docs_dir'], cfg['site_dir'], cfg['use_directory_urls']),\n- cfg,\n- ),\n- ]\n+ def test_normalize_url_windows(self):\n+ def test(path, base, expected):\n+ self.assertEqual(utils.normalize_url(path, _Page(base)), expected)\n \n with self.assertLogs('mkdocs', level='WARNING'):\n- for i, page in enumerate(pages):\n- urls = utils.create_media_urls(expected_results.keys(), page)\n- self.assertEqual([v[i] for v in expected_results.values()], urls)\n+ path = 'local\\\\windows\\\\file\\\\jquery.js'\n+ test(path, '', 'local/windows/file/jquery.js')\n+ test(path, 'about/', '../local/windows/file/jquery.js')\n+ test(path, 'foo/bar/', '../../local/windows/file/jquery.js')\n \n def test_reduce_list(self):\n self.assertEqual(\n@@ -689,3 +590,8 @@ def test_log_level(self):\n self.log.warning('counted')\n self.log.info('not counted')\n self.assertEqual(self.counter.get_counts(), [('ERROR', 2), ('WARNING', 1)])\n+\n+\n+@dataclasses.dataclass\n+class _Page:\n+ url: str\n"},"problem_statement":{"kind":"string","value":"relative url start with \"../\" in nav no longer works\nWhen I tried to make a link to an external resource in `nav` section of mkdos.yml, using the following example, the actual output HTML omits \"../\" in the relative URL and I couldn't point to external resources out of mkdocs with relative URL.\r\nhttps://www.mkdocs.org/user-guide/configuration/#nav\r\n\r\nThe minimal mkdocs.yml to reproduce the problem is as follows:\r\n```yaml\r\nsite_name: Example\r\nsite_url: https://example.com/foo/\r\n\r\nnav:\r\n - Parent: '../'\r\n - Sibling: '../some/dir/'\r\n - Home: './'\r\n - Index: 'index.md'\r\n```\r\nWhen I compile it with empty docs/index.md file, the navigation section in site/index.html became as follows:\r\n```html\r\n\r\n\r\n```\r\nWhat I expect was that the link of \"Parent\" should point to \"../\"(= https://example.com/) and the link of Sibling should point to \"../some/dir\"(=https://example.com/some/dir/), which are outside of the generated doc.\r\n\r\nI remember this way (Sibling case) worked in past, but when I recompiled the document with the latest mkdocs, it started emitting unexpected URL.\n"},"hints_text":{"kind":"string","value":"I just encountered the same issue. Surprised such a killer bug has not received any response\r\n\nI confirm that https://github.com/mkdocs/mkdocs/pull/2296 (released in 1.2) changed this behavior.\r\n\r\nThe thing is, this usage was never supported and always showed warnings anyway:\r\n```\r\nWARNING - A relative path to '../' is included in the 'nav' configuration, which is not found in the documentation files \r\n```\r\n\r\nIn MkDocs nav, relative links are always assumed to be links to Markdown documents within the site.\r\n\r\nYou can use this appoach instead:\r\n```yaml\r\nsite_url: https://example.com/known/absolute/path/\r\n\r\nnav:\r\n - Sibling: '/known/absolute/some/dir/'\r\n```\r\n\r\nI am not sure if this will be revisited.\nThe reason why I'm using this relative URL approach is that I'm deploying the same document to different path of the server, like /docs/docA/ and /docs_testing/docA/, in order to check the appearance before deploying it to the public, and want to make links to /docs/docB/ and /docs_testing/docB/ with single '../docB/'.\r\nI made this config because I found such '../' way in the example in the official user guide, and it worked before, even though it emits some warnings.\r\nI would be happy if this restriction can be switched off with some configuration in the mkdocs.yml.\r\nAt least, the documentation should be updated if '../' is no longer supported.\nOh wow, you're right! :disappointed: \r\n\r\nhttps://github.com/mkdocs/mkdocs/blob/f725e225adf9b6cfab45042e44637f137f56d1bd/docs/user-guide/configuration.md?plain=1#L195-L206\nIs there any fix or workaround planned for this?\nI also would like this behaviour restored. My use case is wanting to deploy effectively two linked sites under the same base URL.\r\n\r\nI want to do this so that each sub-site can have it's own navigation tabs, and to make a clear distinction between the two sub-sites by styling them with different colours and titles.\r\n\r\nI can achieve the sub-sites easily, by having `site1_mkdocs.yml` and `site2_mkdocs.yml`, each of which build to a subdirectory (`main/site1` and `main/site2`). The problem comes that I want each sub-site to link back to the other with a relative link, `../site1` and `../site2`, and then I get the error and the URL stripped of the relative path.\r\n\nAlso being bit by the same bug. In my case I want to link in my nav to some sphinx docs that are built and available via a relative URL locally. Absolute paths are not an option and neither are URLs."},"created_at":{"kind":"string","value":"2022-10-17T20:39:06Z"},"merged_at":{"kind":"string","value":"2023-05-09T18:56:54Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"test_not_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_not_list)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_unrecognised_keys (mkdocs.tests.config.base_tests.ConfigBaseTests.test_unrecognised_keys)\", \"test_build_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_use_directory_urls)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_nested_anchor (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_nested_anchor)\", \"test_named_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_named_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_github)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_tests.ConfigTests.test_doc_dir_in_site_dir)\", \"test_defined (mkdocs.tests.config.config_options_legacy_tests.PrivateTest.test_defined)\", \"test_nav_bad_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_bad_links)\", \"test_load_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_missing_required)\", \"test_parse_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory)\", \"test_context_base_url_homepage (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage)\", \"test_simple_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_watch_with_broken_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watch_with_broken_symlinks)\", \"test_serve_dirtyreload (mkdocs.tests.cli_tests.CLITests.test_serve_dirtyreload)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_none)\", \"test_copy_file_same_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_same_file)\", \"test_post_validation_error (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_post_validation_error)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_builtins (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_nested_list)\", \"test_event_on_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_defaults)\", \"test_relative_html_link_sub_index_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index_hash)\", \"test_count_critical (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_critical)\", \"test_int_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_int_type)\", \"test_md_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_use_directory_urls)\", \"test_plugin_config_without_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_without_options)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_default)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_prebuild_index (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index)\", \"test_change_is_detected_while_building (mkdocs.tests.livereload_tests.BuildTests.test_change_is_detected_while_building)\", \"test_build_site_dir (mkdocs.tests.cli_tests.CLITests.test_build_site_dir)\", \"test_context_base_url_absolute_nested_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_nested_no_page)\", \"test_removed_option (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_removed_option)\", \"test_correct_events_registered (mkdocs.tests.plugin_tests.TestPluginCollection.test_correct_events_registered)\", \"test_content_parser_no_sections (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_sections)\", \"test_relative_html_link_parent_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_parent_index)\", \"test_default_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_default_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_github)\", \"test_watches_through_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_symlinks)\", \"test_plugin_config_none_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_default)\", \"test_sort_files (mkdocs.tests.structure.file_tests.TestFiles.test_sort_files)\", \"test_inherited_theme (mkdocs.tests.theme_tests.ThemeTests.test_inherited_theme)\", \"test_serve_theme (mkdocs.tests.cli_tests.CLITests.test_serve_theme)\", \"test_plugin_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_lang)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_config_missing_name)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_optional_with_default (mkdocs.tests.config.config_options_tests.TypeTest.test_optional_with_default)\", \"test_count_error (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_error)\", \"test_missing_default (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_missing_config_file (mkdocs.tests.config.config_tests.ConfigTests.test_missing_config_file)\", \"test_invalid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_invalid_plugin_options)\", \"test_skip_missing_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_extra_template)\", \"test_rebuild_after_delete (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_delete)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_bitbucket)\", \"test_builtins (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins)\", \"test_custom_dir_only (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir_only)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_port)\", \"test_copy_file_clean_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_clean_modified)\", \"test_plugin_config_sub_error (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_error)\", \"test_lang_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_code)\", \"test_get_themes (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes)\", \"test_nav_missing_page (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_missing_page)\", \"test_bad_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_bad_relative_html_link)\", \"test_build_theme (mkdocs.tests.cli_tests.CLITests.test_build_theme)\", \"test_provided_empty (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_empty)\", \"test_theme_default (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_default)\", \"test_nested_nonindex_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_nonindex_page)\", \"test_with_unicode (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_with_unicode)\", \"test_get_theme_dir_importerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_importerror)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_none)\", \"test_duplicates (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_context_base_url_relative_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page)\", \"test_serves_polling_with_timeout (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_timeout)\", \"test_lang_no_default_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_list)\", \"test_hooks (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks)\", \"test_count_debug (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_debug)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_build_dirty (mkdocs.tests.cli_tests.CLITests.test_build_dirty)\", \"test_not_a_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_empty_dict)\", \"test_email_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_email_link)\", \"test_relative_html_link_with_unencoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_unencoded_space)\", \"test_custom_dir (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir)\", \"test_plugin_config_with_explicit_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_theme_namespace)\", \"test_missing_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_missing_path)\", \"test_prebuild_index_raises_oserror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_oserror)\", \"test_parse_locale_invalid_characters (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_invalid_characters)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_name_is_none)\", \"test_redirects_to_directory (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_directory)\", \"test_prebuild_index_node (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_node)\", \"test_html_stripping (mkdocs.tests.search_tests.SearchIndexTests.test_html_stripping)\", \"test_content_parser_content_before_header (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_content_before_header)\", \"test_run_build_error_event (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_build_error_event)\", \"test_build_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_modified)\", \"test_parse_locale_language_territory_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory_sep)\", \"test_invalid_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_default)\", \"test_serve_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_no_directory_urls)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_format)\", \"test_build_page_plugin_error (mkdocs.tests.build_tests.BuildTests.test_build_page_plugin_error)\", \"test_relative_image_link_from_sibling (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_sibling)\", \"test_gh_deploy_ignore_version (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_ignore_version)\", \"test_version_unknown (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_version_unknown)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom)\", \"test_invalid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_url)\", \"test_file (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_file)\", \"test_custom_action_warns (mkdocs.tests.livereload_tests.BuildTests.test_custom_action_warns)\", \"test_indented_toc_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc_html)\", \"test_lang_default (mkdocs.tests.search_tests.SearchConfigTests.test_lang_default)\", \"test_css_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_css_file_use_directory_urls)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_rebuild_after_rename (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_rename)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_relative_html_link_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash)\", \"test_count_warning (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_warning)\", \"test_get_remote_url_ssh (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_ssh)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_complex_config)\", \"test_hooks_wrong_type (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks_wrong_type)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_redirects_to_unicode_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_unicode_mount_path)\", \"test_flat_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_toc)\", \"test_entityref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_entityref)\", \"test_javascript_file (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file)\", \"test_default (mkdocs.tests.config.config_options_tests.SubConfigTest.test_default)\", \"test_build_strict (mkdocs.tests.cli_tests.CLITests.test_build_strict)\", \"test_deploy_ignore_version_default (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version_default)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale)\", \"test_named_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_named_address)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_plugin_config_with_deduced_theme_namespace_overridden (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace_overridden)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_format)\", \"test_get_remote_url_enterprise (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_enterprise)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_none)\", \"test_build_page (mkdocs.tests.build_tests.BuildTests.test_build_page)\", \"test_serve_no_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_no_livereload)\", \"test_valid_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_address)\", \"test_plugin_config_as_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_as_dict)\", \"test_relative_html_link_sub_page (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page)\", \"test_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_translations_found)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_plugin_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_defaults)\", \"test_file (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_file)\", \"test_valid_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_address)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_mm_meta_data_blank_first_line (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data_blank_first_line)\", \"test_mixed_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_string)\", \"test_nav_no_directory_urls (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_directory_urls)\", \"test_optional (mkdocs.tests.config.config_options_tests.URLTest.test_optional)\", \"test_md_index_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested_use_directory_urls)\", \"test_yaml_inheritance_missing_parent (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance_missing_parent)\", \"test_normalize_url_windows (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url_windows)\", \"test_event_on_config_include_search_page (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_include_search_page)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_config_missing_name)\", \"test_plugin_config_none_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_empty_default)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_md_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file)\", \"test_mm_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data)\", \"test_lang_no_default_none (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_none)\", \"test_page_title_from_capitalized_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_capitalized_filename)\", \"test_get_current_sha (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_current_sha)\", \"test_md_readme_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file)\", \"test_invalid_choice (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choice)\", \"test_with_unicode (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_with_unicode)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_invalid_type (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_type)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_multiple_dirs_can_cause_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_can_cause_rebuild)\", \"test_non_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_list)\", \"test_gh_deploy_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_use_directory_urls)\", \"test_copy_files (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files)\", \"test_invalid_choices (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choices)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_optional)\", \"test_mixed_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_html)\", \"test_copy_files_without_permissions (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files_without_permissions)\", \"test_content_parser_no_id (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_id)\", \"test_media_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_media_file_use_directory_urls)\", \"test_flat_h2_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_h2_toc)\", \"test_invalid_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_default)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_build_config_file (mkdocs.tests.cli_tests.CLITests.test_build_config_file)\", \"test_jinja_extension_installed (mkdocs.tests.localization_tests.LocalizationTests.test_jinja_extension_installed)\", \"test_get_relative_url_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url_use_directory_urls)\", \"test_empty (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_empty)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_type)\", \"test_populate_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_not_modified)\", \"test_relative_html_link_hash_only (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash_only)\", \"test_int_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_int_type)\", \"test_lang_multi_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_multi_list)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url_is_dir)\", \"test_plugin_config_with_multiple_instances_and_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances_and_warning)\", \"test_serve_default (mkdocs.tests.cli_tests.CLITests.test_serve_default)\", \"test_context_extra_css_js_from_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page)\", \"test_page_no_directory_url (mkdocs.tests.structure.page_tests.PageTests.test_page_no_directory_url)\", \"test_populate_page_read_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_error)\", \"test_prebuild_index_false (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_false)\", \"test_page_defaults (mkdocs.tests.structure.page_tests.PageTests.test_page_defaults)\", \"test_page_edit_url (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url)\", \"test_get_files_include_readme_without_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_include_readme_without_index)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_subconfig_with_multiple_items)\", \"test_copy (mkdocs.tests.config.config_options_tests.SchemaTest.test_copy)\", \"test_empty_nav (mkdocs.tests.config.config_tests.ConfigTests.test_empty_nav)\", \"test_length (mkdocs.tests.config.config_options_tests.TypeTest.test_length)\", \"test_media_file (mkdocs.tests.structure.file_tests.TestFiles.test_media_file)\", \"test_non_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_list)\", \"test_simple_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_simple_nav)\", \"test_invalid_type (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_type)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_invalid_url (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_url)\", \"test_lang_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_str)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_normal)\", \"test_dir_bytes (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_yaml_meta_data_invalid (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_invalid)\", \"test_single_type (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_single_type)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_errors)\", \"test_external_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_external_link)\", \"test_serve_config_file (mkdocs.tests.cli_tests.CLITests.test_serve_config_file)\", \"test_missing_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_missing_path)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_env_var_in_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_env_var_in_yaml)\", \"test_page_canonical_url (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url)\", \"test_insort_key (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort_key)\", \"test_add_files_from_theme (mkdocs.tests.structure.file_tests.TestFiles.test_add_files_from_theme)\", \"test_valid_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_valid_path)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_ok)\", \"test_plugin_config_with_multiple_instances (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_multiple_instances)\", \"test_populate_page (mkdocs.tests.build_tests.BuildTests.test_populate_page)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_gitlab)\", \"test_multiple_dirs_changes_rebuild_only_once (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_changes_rebuild_only_once)\", \"test_defined (mkdocs.tests.config.config_options_tests.PrivateTest.test_defined)\", \"test_new (mkdocs.tests.new_tests.NewTests.test_new)\", \"test_lang_bad_type (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_type)\", \"test_validation_warnings (mkdocs.tests.config.base_tests.ConfigBaseTests.test_validation_warnings)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_prebuild_index_returns_error (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_returns_error)\", \"test_valid_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_dir)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_dir_bytes (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_page_canonical_url_nested (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested)\", \"test_plugin_config_min_search_length (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_min_search_length)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_custom)\", \"test_default_values (mkdocs.tests.utils.utils_tests.LogCounterTests.test_default_values)\", \"test_page_eq (mkdocs.tests.structure.page_tests.PageTests.test_page_eq)\", \"test_simple_theme (mkdocs.tests.theme_tests.ThemeTests.test_simple_theme)\", \"test_copy_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_name_is_none)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_build_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_no_directory_urls)\", \"test_serves_polling_instantly (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_instantly)\", \"test_required (mkdocs.tests.config.config_options_tests.ChoiceTest.test_required)\", \"test_relative_html_link_sub_page_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page_hash)\", \"test_not_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_not_list)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_required)\", \"test_md_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested)\", \"test_plugin_config_multivalue_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_multivalue_dict)\", \"test_gh_deploy_config_file (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_config_file)\", \"test_nonexistant_config (mkdocs.tests.config.config_tests.ConfigTests.test_nonexistant_config)\", \"test_run_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_on_collection)\", \"test_count_multiple (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_multiple)\", \"test_relative_image_link_from_subpage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_subpage)\", \"test_gh_deploy_remote_branch (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_branch)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_serves_polling_with_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_mount_path)\", \"test_gh_deploy_defaults (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_defaults)\", \"test_get_theme_dir (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir)\", \"test_nav_no_title (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_title)\", \"test_page_canonical_url_nested_no_slash (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested_no_slash)\", \"test_serve_dev_addr (mkdocs.tests.cli_tests.CLITests.test_serve_dev_addr)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_int)\", \"test_event_on_config_theme_locale (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_theme_locale)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_gitlab)\", \"test_get_files_exclude_readme_with_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_exclude_readme_with_index)\", \"test_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_optional)\", \"test_md_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested_use_directory_urls)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_warning)\", \"test_empty_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_empty_list)\", \"test_removed_option (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_removed_option)\", \"test_duplicates (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_plugin_config_not_list (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_list)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom)\", \"test_charref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_charref)\", \"test_log_level (mkdocs.tests.utils.utils_tests.LogCounterTests.test_log_level)\", \"test_optional (mkdocs.tests.config.config_options_tests.SubConfigTest.test_optional)\", \"test_extra_context (mkdocs.tests.build_tests.BuildTests.test_extra_context)\", \"test_parse_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_only)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_errors)\", \"test_relative_html_link_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_index)\", \"test_event_on_post_build_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_search_index_only)\", \"test_old_format (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_old_format)\", \"test_mkdocs_newer (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_newer)\", \"test_absolute_win_local_path (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_win_local_path)\", \"test_get_files (mkdocs.tests.structure.file_tests.TestFiles.test_get_files)\", \"test_missing_but_required (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_valid_language_territory (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language_territory)\", \"test_insort (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort)\", \"test_css_file (mkdocs.tests.structure.file_tests.TestFiles.test_css_file)\", \"test_lang_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_list)\", \"test_event_on_post_build_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_defaults)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_range)\", \"test_missing_page (mkdocs.tests.structure.page_tests.PageTests.test_missing_page)\", \"test_simple_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_theme (mkdocs.tests.config.config_tests.ConfigTests.test_theme)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_dict)\", \"test_serves_with_unicode_characters (mkdocs.tests.livereload_tests.BuildTests.test_serves_with_unicode_characters)\", \"test_lang_missing_and_with_territory (mkdocs.tests.search_tests.SearchConfigTests.test_lang_missing_and_with_territory)\", \"test_context_extra_css_js_from_homepage (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_homepage)\", \"test_multiple_types (mkdocs.tests.config.config_options_tests.TypeTest.test_multiple_types)\", \"test_deploy_hostname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_hostname)\", \"test_post_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_post_validation_error)\", \"test_build_page_custom_template (mkdocs.tests.build_tests.BuildTests.test_build_page_custom_template)\", \"test_plugin_config_options_not_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_options_not_dict)\", \"test_optional (mkdocs.tests.config.config_options_tests.ChoiceTest.test_optional)\", \"test_get_relative_url_empty (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url_empty)\", \"test_unknown_extension (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_optional)\", \"test_old_format (mkdocs.tests.config.config_options_tests.NavTest.test_old_format)\", \"test_list_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_complex_config)\", \"test_empty_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_empty_list)\", \"test_gh_deploy_remote_name (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_name)\", \"test_deploy_error (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_error)\", \"test_serves_modified_html (mkdocs.tests.livereload_tests.BuildTests.test_serves_modified_html)\", \"test_none_without_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_none_without_default)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_int)\", \"test_none (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_none)\", \"test_context_base_url_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page_use_directory_urls)\", \"test_build_defaults (mkdocs.tests.cli_tests.CLITests.test_build_defaults)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_gitlab)\", \"test_event_on_post_build_multi_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_multi_lang)\", \"test_gh_deploy_force (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_force)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_nested_list)\", \"test_skip_extra_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_extra_template_empty_output)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_required)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_list_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_unsupported_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_address)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required)\", \"test_list_of_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_of_optional)\", \"test_populate_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_modified)\", \"test_run_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_run_validation_error)\", \"test_non_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_path)\", \"test_context_base_url_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page)\", \"test_build_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_not_modified)\", \"test_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_string)\", \"test_context_extra_css_js_from_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page_use_directory_urls)\", \"test_plugin_config_not_string_or_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_string_or_dict)\", \"test_relative_image_link_from_homepage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_homepage)\", \"test_skip_missing_theme_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_theme_template)\", \"test_get_relative_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url)\", \"test_replace_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_replace_default)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_range)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_valid_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_dir)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_empty_dict)\", \"test_build_verbose (mkdocs.tests.cli_tests.CLITests.test_build_verbose)\", \"test_no_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_no_meta_data)\", \"test_subclass (mkdocs.tests.config.config_options_tests.SchemaTest.test_subclass)\", \"test_valid_language (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language)\", \"test_none (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_none)\", \"test_filter_paths (mkdocs.tests.structure.file_tests.TestFiles.test_filter_paths)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_plugin_config_with_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_options)\", \"test_build_page_error (mkdocs.tests.build_tests.BuildTests.test_build_page_error)\", \"test_md_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_use_directory_urls)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_ok)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_deploy (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy)\", \"test_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_error_handler)\", \"test_static_file (mkdocs.tests.structure.file_tests.TestFiles.test_static_file)\", \"test_static_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_static_file_use_directory_urls)\", \"test_indented_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc)\", \"test_yaml_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_none)\", \"test_valid_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_valid_path)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_is_markdown_file (mkdocs.tests.utils.utils_tests.UtilsTests.test_is_markdown_file)\", \"test_yaml_inheritance (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance)\", \"test_event_priorities (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_priorities)\", \"test_plugin_config_separator (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_separator)\", \"test_list_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_list_default)\", \"test_not_a_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_file)\", \"test_builtins_config (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_redirects_to_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_mount_path)\", \"test_missing_default (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_level (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_level)\", \"test_event_on_config_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_search_index_only)\", \"test_vars (mkdocs.tests.theme_tests.ThemeTests.test_vars)\", \"test_plugin_config_indexing (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_indexing)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_invalid_type)\", \"test_page_edit_url_warning (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url_warning)\", \"test_page_title_from_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_filename)\", \"test_mime_types (mkdocs.tests.livereload_tests.BuildTests.test_mime_types)\", \"test_context_base_url_relative_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page_use_directory_urls)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_gitlab)\", \"test_provided_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_dict)\", \"test_provided_dict (mkdocs.tests.config.config_options_tests.NavTest.test_provided_dict)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_default)\", \"test_absolute_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_link)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_default_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_default_address)\", \"test_no_links (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_no_links)\", \"test_new (mkdocs.tests.cli_tests.CLITests.test_new)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_none)\", \"test_is_cwd_not_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_not_git_repo)\", \"test_get_by_type_nested_sections (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_get_by_type_nested_sections)\", \"test_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_territory)\", \"test_copy_theme_files (mkdocs.tests.build_tests.BuildTests.test_copy_theme_files)\", \"test_skip_theme_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_theme_template_empty_output)\", \"test_nested_index_page_no_parent (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent)\", \"test_missing_site_name (mkdocs.tests.config.config_tests.ConfigTests.test_missing_site_name)\", \"test_plugin_config_empty_list_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_default)\", \"test_parse_locale_unknown_locale (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_unknown_locale)\", \"test_nested_index_page_no_parent_no_directory_urls (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent_no_directory_urls)\", \"test_invalid_choice (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choice)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_normal)\", \"test_lang_good_and_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_good_and_bad_code)\", \"test_plugin_config_uninstalled (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_uninstalled)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_simple_config)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_relative_html_link_sub_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_parse_locale_bad_format (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format)\", \"test_page_ne (mkdocs.tests.structure.page_tests.PageTests.test_page_ne)\", \"test_single_type (mkdocs.tests.config.config_options_tests.TypeTest.test_single_type)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_search_indexing_options (mkdocs.tests.search_tests.SearchIndexTests.test_search_indexing_options)\", \"test_copy_file_dirty_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_modified)\", \"test_predefined_page_title (mkdocs.tests.structure.page_tests.PageTests.test_predefined_page_title)\", \"test_invalid_config (mkdocs.tests.config.config_tests.ConfigTests.test_invalid_config)\", \"test_error_on_pages (mkdocs.tests.config.config_tests.ConfigTests.test_error_on_pages)\", \"test_length (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_length)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url_is_dir)\", \"test_combined_float_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_combined_float_type)\", \"test_mkdocs_older (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_older)\", \"test_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_site_dir_contains_stale_files)\", \"test_is_cwd_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_git_repo)\", \"test_gh_deploy_clean (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_clean)\", \"test_get_theme_dir_keyerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_keyerror)\", \"test_combined_float_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_combined_float_type)\", \"test_plugin_config_empty_list_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_empty_default)\", \"test_yaml_meta_data_not_dict (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_not_dict)\", \"test_page_title_from_homepage_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_homepage_filename)\", \"test_indented_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_indented_nav)\", \"test_unknown_locale (mkdocs.tests.localization_tests.LocalizationTests.test_unknown_locale)\", \"test_lang_no_default_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_str)\", \"test_valid_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_file)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale)\", \"test_context_extra_css_path_warning (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_path_warning)\", \"test_required (mkdocs.tests.config.config_options_tests.SubConfigTest.test_required)\", \"test_nest_paths_native (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths_native)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_github)\", \"test_valid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_valid_plugin_options)\", \"test_event_on_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_lang)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_build_quiet (mkdocs.tests.cli_tests.CLITests.test_build_quiet)\", \"test_deploy_ignore_version (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version)\", \"test_provided_empty (mkdocs.tests.config.config_options_tests.NavTest.test_provided_empty)\", \"test_get_themes_warning (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_warning)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_not_a_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_builtins_config (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_files (mkdocs.tests.structure.file_tests.TestFiles.test_files)\", \"test_run_undefined_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_undefined_event_on_collection)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_simple_config)\", \"test_watches_through_relative_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_relative_symlinks)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_github)\", \"test_missing_but_required (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_gh_deploy_theme (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_theme)\", \"test_mixed_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_only)\", \"test_event_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_returns_None)\", \"test_set_multiple_plugins_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_multiple_plugins_on_collection)\", \"test_plugin_config_sub_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_warning)\", \"test_mixed_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_toc)\", \"test_load_default_file_with_yaml (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_default_file_with_yaml)\", \"test_merge_translations (mkdocs.tests.localization_tests.LocalizationTests.test_merge_translations)\", \"test_skip_ioerror_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_ioerror_extra_template)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_relative_html_link_with_encoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_encoded_space)\", \"test_invalid_choices (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choices)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_theme_default (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_default)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_javascript_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file_use_directory_urls)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_warns_for_dict)\", \"test_parse_locale_bad_type (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_type)\", \"test_count_info (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_info)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_type)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_serve_strict (mkdocs.tests.cli_tests.CLITests.test_serve_strict)\", \"test_not_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_not_site_dir_contains_stale_files)\", \"test_get_themes_error (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_error)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_prebuild_index_raises_ioerror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_ioerror)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_none (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_none)\", \"test_nav_from_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_files)\", \"test_watches_direct_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_direct_symlinks)\", \"test_build_extra_template (mkdocs.tests.build_tests.BuildTests.test_build_extra_template)\", \"test_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_missing_required)\", \"test_get_relative_url (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url)\", \"test_context_extra_css_js_no_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_no_page)\", \"test_nested_ungrouped_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav)\", \"test_valid_url (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url)\", \"test_reduce_list (mkdocs.tests.utils.utils_tests.UtilsTests.test_reduce_list)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_optional)\", \"test_homepage (mkdocs.tests.structure.page_tests.PageTests.test_homepage)\", \"test_event_on_post_build_single_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_single_lang)\", \"test_serves_normal_file (mkdocs.tests.livereload_tests.BuildTests.test_serves_normal_file)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_tests.NavTest.test_warns_for_dict)\", \"test_file_eq (mkdocs.tests.structure.file_tests.TestFiles.test_file_eq)\", \"test_no_theme_config (mkdocs.tests.theme_tests.ThemeTests.test_no_theme_config)\", \"test_multiple_types (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_multiple_types)\", \"test_gh_deploy_strict (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_strict)\", \"test_none_without_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_none_without_default)\", \"test_normal_nav (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_normal_nav)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_custom)\", \"test_plugin_config_with_explicit_empty_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_empty_namespace)\", \"test_page_title_from_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown)\", \"test_not_a_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_file)\", \"test_files_append_remove_src_paths (mkdocs.tests.structure.file_tests.TestFiles.test_files_append_remove_src_paths)\", \"test_create_search_index (mkdocs.tests.search_tests.SearchIndexTests.test_create_search_index)\", \"test_populate_page_read_plugin_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_plugin_error)\", \"test_deploy_no_cname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_no_cname)\", \"test_set_plugin_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_plugin_on_collection)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_dict)\", \"test_gh_deploy_dirty (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_dirty)\", \"test_run_unknown_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_unknown_event_on_collection)\", \"test_nest_paths (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths)\", \"test_build_theme_template (mkdocs.tests.build_tests.BuildTests.test_build_theme_template)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_none)\", \"test_copy (mkdocs.tests.config.config_options_legacy_tests.SchemaTest.test_copy)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_warning)\", \"test_configkey (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_configkey)\", \"test_get_schema (mkdocs.tests.config.base_tests.ConfigBaseTests.test_get_schema)\", \"test_context_base_url__absolute_nested_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_nested_no_page_use_directory_urls)\", \"test_gh_deploy_site_dir (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_site_dir)\", \"test_page_render (mkdocs.tests.structure.page_tests.PageTests.test_page_render)\", \"test_pre_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_pre_validation_error)\", \"test_unsupported_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_address)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_BOM (mkdocs.tests.structure.page_tests.PageTests.test_BOM)\", \"test_get_remote_url_http (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_http)\", \"test_source_date_epoch (mkdocs.tests.structure.page_tests.SourceDateEpochTests.test_source_date_epoch)\", \"test_required_no_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required_no_default)\", \"test_copy_file_dirty_not_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_not_modified)\", \"test_serves_directory_index (mkdocs.tests.livereload_tests.BuildTests.test_serves_directory_index)\", \"test_rebuild_on_edit (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_on_edit)\", \"test_page_title_from_meta (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_meta)\", \"test_list_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_default)\", \"test_gh_deploy_message (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_message)\", \"test_nav_external_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_external_links)\", \"test_nested_index_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page)\", \"test_serves_polling_after_event (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_after_event)\", \"test_content_parser (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_with_multiple_items)\", \"test_file_name_with_space (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_space)\", \"test_valid_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_file)\", \"test_build_sitemap_template (mkdocs.tests.build_tests.BuildTests.test_build_sitemap_template)\", \"test_gh_deploy_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_no_directory_urls)\", \"test_event_empty_item_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item_returns_None)\", \"test_unknown_extension (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_error (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_post_validation_error)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_int)\", \"test_plugin_config_prebuild_index (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_prebuild_index)\", \"test_bad_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_bad_error_handler)\", \"test_md_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_file)\", \"test_normal_nav (mkdocs.tests.config.config_options_tests.NavTest.test_normal_nav)\", \"test_unicode_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_unicode_yaml)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_unwatch (mkdocs.tests.livereload_tests.BuildTests.test_unwatch)\", \"test_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_default)\", \"test_context_base_url__absolute_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_no_page_use_directory_urls)\", \"test_invalid_locale (mkdocs.tests.localization_tests.LocalizationTests.test_invalid_locale)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_bitbucket)\", \"test_event_empty_item (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_load_from_missing_file (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_from_missing_file)\", \"test_prebuild_index_python_missing_lunr (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_python_missing_lunr)\", \"test_md_index_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested)\", \"test_md_readme_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file_use_directory_urls)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_valid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url)\", \"test_plugin_config_with_deduced_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_active (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_active)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_int)\", \"test_nav_from_nested_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_nested_files)\", \"test_run_event_twice_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_twice_on_collection)\", \"test_hooks (mkdocs.tests.config.config_options_legacy_tests.HooksTest.test_hooks)\", \"test_serve_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_livereload)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_non_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_path)\", \"test_build_clean (mkdocs.tests.cli_tests.CLITests.test_build_clean)\", \"test_file_ne (mkdocs.tests.structure.file_tests.TestFiles.test_file_ne)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_basic_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_basic_rebuild)\", \"test_serve_watch_theme (mkdocs.tests.cli_tests.CLITests.test_serve_watch_theme)\", \"test_build_page_empty (mkdocs.tests.build_tests.BuildTests.test_build_page_empty)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_port)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_int)\", \"test_context_base_url_homepage_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage_use_directory_urls)\", \"test_parse_locale_bad_format_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format_sep)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_int)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_invalid_type)\", \"test_serves_from_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_from_mount_path)\", \"test_copying_media (mkdocs.tests.build_tests.BuildTests.test_copying_media)\", \"test_context_base_url_absolute_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_no_page)\", \"test_configkey (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_configkey)\", \"test_nested_ungrouped_nav_no_titles (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav_no_titles)\", \"test_no_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_no_translations_found)\", \"test_serve_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_use_directory_urls)\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"test_normalize_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_normalize_url)\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [], \"pre_install\": [\"tee pyproject.toml <=3.7\\\"\\ndependencies = [\\n \\\"click >=7.0\\\",\\n \\\"Jinja2 >=2.11.1\\\",\\n \\\"markupsafe >=2.0.1\\\",\\n \\\"Markdown >=3.2.1\\\",\\n \\\"PyYAML >=5.1\\\",\\n \\\"watchdog >=2.0\\\",\\n \\\"ghp-import >=1.0\\\",\\n \\\"pyyaml_env_tag >=0.1\\\",\\n \\\"importlib-metadata >=4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions >=3.10; python_version < '3.8'\\\",\\n \\\"packaging >=20.5\\\",\\n \\\"mergedeep >=1.3.4\\\",\\n \\\"pathspec >=0.11.1\\\",\\n \\\"platformdirs >=2.2.0\\\",\\n \\\"colorama >=0.4; platform_system == 'Windows'\\\",\\n]\\n[project.optional-dependencies]\\ni18n = [\\n \\\"babel >=2.9.0\\\",\\n]\\nmin-versions = [\\n \\\"click ==7.0\\\",\\n \\\"Jinja2 ==2.11.1\\\",\\n \\\"markupsafe ==2.0.1\\\",\\n \\\"Markdown ==3.2.1\\\",\\n \\\"PyYAML ==5.1\\\",\\n \\\"watchdog ==2.0\\\",\\n \\\"ghp-import ==1.0\\\",\\n \\\"pyyaml_env_tag ==0.1\\\",\\n \\\"importlib-metadata ==4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions ==3.10; python_version < '3.8'\\\",\\n \\\"packaging ==20.5\\\",\\n \\\"mergedeep ==1.3.4\\\",\\n \\\"pathspec ==0.11.1\\\",\\n \\\"platformdirs ==2.2.0\\\",\\n \\\"colorama ==0.4; platform_system == 'Windows'\\\",\\n \\\"babel ==2.9.0\\\",\\n]\\n\\n[project.urls]\\nDocumentation = \\\"https://www.mkdocs.org/\\\"\\nSource = \\\"https://github.com/mkdocs/mkdocs\\\"\\nIssues = \\\"https://github.com/mkdocs/mkdocs/issues\\\"\\nHistory = \\\"https://www.mkdocs.org/about/release-notes/\\\"\\n\\n[project.scripts]\\nmkdocs = \\\"mkdocs.__main__:cli\\\"\\n\\n[project.entry-points.\\\"mkdocs.themes\\\"]\\nmkdocs = \\\"mkdocs.themes.mkdocs\\\"\\nreadthedocs = \\\"mkdocs.themes.readthedocs\\\"\\n\\n[project.entry-points.\\\"mkdocs.plugins\\\"]\\nsearch = \\\"mkdocs.contrib.search:SearchPlugin\\\"\\n\\n[tool.hatch.version]\\npath = \\\"mkdocs/__init__.py\\\"\\n\\n[tool.hatch.build]\\nartifacts = [\\\"/mkdocs/**/*.mo\\\"]\\n[tool.hatch.build.targets.sdist]\\ninclude = [\\\"/mkdocs\\\"]\\n[tool.hatch.build.targets.wheel]\\nexclude = [\\\"/mkdocs/tests/integration\\\", \\\"*.po\\\", \\\"*.pot\\\", \\\"babel.cfg\\\"]\\n[tool.hatch.build.hooks.custom]\\ndependencies = [\\n \\\"babel\\\",\\n]\\n\\n[tool.hatch.envs.default.scripts]\\nall = [\\n \\\"hatch run style:check\\\",\\n \\\"hatch run types:check\\\",\\n \\\"hatch run test:test\\\",\\n \\\"hatch run lint:check\\\",\\n \\\"hatch run +type=default integration:test\\\",\\n]\\n\\n[tool.hatch.envs.test]\\nfeatures = [\\\"i18n\\\"]\\ndependencies = [\\n \\\"coverage\\\",\\n]\\n[tool.hatch.envs.test.scripts]\\ntest = \\\"coverage run --source=mkdocs --omit 'mkdocs/tests/*' -m unittest discover -v -p '*tests.py' mkdocs --top-level-directory .\\\"\\n_coverage = [\\\"test\\\", \\\"coverage xml\\\", \\\"coverage report --show-missing\\\"]\\nwith-coverage = \\\"test\\\"\\n[[tool.hatch.envs.test.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"min-req\\\"]\\n[tool.hatch.envs.test.overrides]\\nmatrix.type.features = [\\n { value = \\\"min-versions\\\", if = [\\\"min-req\\\"] },\\n]\\nmatrix.type.scripts = [\\n { key = \\\"with-coverage\\\", value = \\\"_coverage\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.integration]\\ntemplate = \\\"docs\\\"\\n[tool.hatch.envs.integration.scripts]\\ntest = \\\"python -m mkdocs.tests.integration\\\"\\n[[tool.hatch.envs.integration.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"no-babel\\\"]\\n[tool.hatch.envs.integration.overrides]\\nmatrix.type.features = [\\n { value = \\\"i18n\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.types]\\ndependencies = [\\n \\\"mypy\\\",\\n \\\"types-Jinja2\\\",\\n \\\"types-Markdown\\\",\\n \\\"types-PyYAML\\\",\\n \\\"types-setuptools\\\",\\n \\\"typing-extensions\\\",\\n]\\n[tool.hatch.envs.types.scripts]\\ncheck = \\\"mypy mkdocs\\\"\\n\\n[tool.hatch.envs.style]\\ndetached = true\\ndependencies = [\\n \\\"black\\\",\\n \\\"isort\\\",\\n \\\"ruff\\\",\\n]\\n[tool.hatch.envs.style.scripts]\\ncheck = [\\n \\\"isort --check-only --diff mkdocs docs\\\",\\n \\\"black -q --check --diff mkdocs docs\\\",\\n \\\"lint\\\",\\n]\\nlint = [\\n \\\"ruff check mkdocs docs\\\"\\n]\\nfix = [\\n \\\"ruff check --fix mkdocs docs\\\",\\n \\\"format\\\",\\n]\\nformat = [\\n \\\"isort -q mkdocs docs\\\",\\n \\\"black -q mkdocs docs\\\",\\n]\\n\\n[tool.hatch.envs.lint]\\ndetached = true\\ndependencies = [\\n \\\"codespell\\\",\\n]\\n[tool.hatch.envs.lint.scripts]\\nspelling = \\\"codespell mkdocs docs *.* -S LC_MESSAGES -S '*.min.js' -S 'lunr*.js' -S fontawesome-webfont.svg -S tinyseg.js\\\"\\nmarkdown = \\\"npm exec --yes -- markdownlint-cli README.md CONTRIBUTING.md docs/ --ignore docs/CNAME\\\"\\njs = \\\"npm exec --yes -- jshint mkdocs/\\\"\\ncss = \\\"npm exec --yes -- csslint --quiet mkdocs/\\\"\\ncheck = [\\\"markdown\\\", \\\"js\\\", \\\"css\\\", \\\"spelling\\\"]\\n\\n[tool.hatch.envs.docs]\\ndependencies = [\\n \\\"Markdown >=3.3.3\\\",\\n \\\"mdx_gh_links >=0.2\\\",\\n \\\"markdown-callouts >=0.3.0\\\",\\n \\\"mkdocs-literate-nav >=0.5.0\\\",\\n \\\"mkdocs-redirects >=1.0.1\\\",\\n \\\"pymdown-extensions >=8.0.1\\\",\\n \\\"mkdocstrings-python >=0.7.1\\\",\\n \\\"mkdocs-click >=0.8.0\\\",\\n]\\n\\n[tool.black]\\nline-length = 100\\ntarget-version = [\\\"py37\\\"] # 3.7\\nskip-string-normalization = true\\n\\n[tool.isort]\\nprofile = \\\"black\\\"\\nline_length = 100\\n\\n[tool.ruff]\\nselect = [\\n \\\"F\\\", \\\"W\\\", \\\"E\\\", \\\"UP\\\", \\\"YTT\\\", \\\"C4\\\", \\\"FA\\\", \\\"PIE\\\", \\\"T20\\\", \\\"RSE\\\", \\\"TCH\\\", \\\"DTZ\\\",\\n \\\"B002\\\", \\\"B003\\\", \\\"B005\\\", \\\"B007\\\", \\\"B009\\\", \\\"B012\\\", \\\"B013\\\", \\\"B014\\\", \\\"B015\\\", \\\"B018\\\", \\\"B020\\\", \\\"B021\\\", \\\"B023\\\", \\\"B026\\\", \\\"B033\\\", \\\"B034\\\", \\\"B905\\\",\\n \\\"COM818\\\",\\n \\\"PERF101\\\",\\n \\\"PGH002\\\", \\\"PGH004\\\", \\\"PGH005\\\",\\n \\\"PLE\\\", \\\"PLW0120\\\", \\\"PLW0127\\\",\\n \\\"RUF001\\\", \\\"RUF007\\\", \\\"RUF010\\\", \\\"RUF100\\\", \\\"RUF200\\\",\\n \\\"SIM101\\\", \\\"SIM107\\\", \\\"SIM201\\\", \\\"SIM202\\\", \\\"SIM208\\\", \\\"SIM210\\\", \\\"SIM211\\\", \\\"SIM300\\\", \\\"SIM401\\\", \\\"SIM910\\\",\\n]\\nignore = [\\\"E501\\\", \\\"E731\\\"]\\n\\n[tool.ruff.flake8-comprehensions]\\nallow-dict-calls-with-keyword-arguments = true\\n\\n[tool.mypy]\\nignore_missing_imports = true\\nwarn_unreachable = true\\nno_implicit_optional = true\\nshow_error_codes = true\\n\\nEOF_1234810234\"], \"python\": \"3.11\", \"pip_packages\": [\"anyio==3.6.2\", \"certifi==2023.5.7\", \"cffi==1.15.1\", \"click==8.1.3\", \"cryptography==40.0.2\", \"distlib==0.3.6\", \"editables==0.3\", \"filelock==3.12.0\", \"h11==0.14.0\", \"hatch==1.7.0\", \"hatchling==1.15.0\", \"httpcore==0.17.0\", \"httpx==0.24.0\", \"hyperlink==21.0.0\", \"idna==3.4\", \"importlib-metadata==6.6.0\", \"jaraco-classes==3.2.3\", \"jeepney==0.8.0\", \"keyring==23.13.1\", \"markdown-it-py==2.2.0\", \"mdurl==0.1.2\", \"more-itertools==9.1.0\", \"packaging==23.1\", \"pathspec==0.11.1\", \"pexpect==4.8.0\", \"platformdirs==3.5.0\", \"pluggy==1.0.0\", \"ptyprocess==0.7.0\", \"pycparser==2.21\", \"pygments==2.15.1\", \"pyperclip==1.8.2\", \"rich==13.3.5\", \"secretstorage==3.3.3\", \"setuptools==75.1.0\", \"shellingham==1.5.0.post1\", \"sniffio==1.3.0\", \"tomli-w==1.0.0\", \"tomlkit==0.11.8\", \"trove-classifiers==2023.5.2\", \"userpath==1.8.0\", \"virtualenv==20.23.0\", \"wheel==0.44.0\", \"zipp==3.15.0\"]}"},"test_framework":{"kind":"null"},"test_commands":{"kind":"string","value":"[\"hatch run +py=3.11 test:with-coverage\"]"},"version":{"kind":"null"},"environment_setup_commit":{"kind":"null"},"docker_image_root":{"kind":"string","value":"swa-bench:sw.eval"}}},{"rowIdx":146,"cells":{"repo":{"kind":"string","value":"mkdocs/mkdocs"},"instance_id":{"kind":"string","value":"mkdocs__mkdocs-3022"},"base_commit":{"kind":"string","value":"1fa2af7926b334a5b02229c3ea1649ff04955b77"},"patch":{"kind":"string","value":"diff --git a/mkdocs/livereload/__init__.py b/mkdocs/livereload/__init__.py\nindex c2e52ab8e2..e136ff05b4 100644\n--- a/mkdocs/livereload/__init__.py\n+++ b/mkdocs/livereload/__init__.py\n@@ -246,7 +246,7 @@ def condition():\n self._epoch_cond.wait_for(condition, timeout=self.poll_response_timeout)\n return [b\"%d\" % self._visible_epoch]\n \n- if path.startswith(self.mount_path):\n+ if (path + \"/\").startswith(self.mount_path):\n rel_file_path = path[len(self.mount_path) :]\n \n if path.endswith(\"/\"):\ndiff --git a/mkdocs/structure/files.py b/mkdocs/structure/files.py\nindex e469c9e4c6..91679f8280 100644\n--- a/mkdocs/structure/files.py\n+++ b/mkdocs/structure/files.py\n@@ -230,10 +230,7 @@ def _get_url(self, use_directory_urls: bool) -> str:\n url = self.dest_uri\n dirname, filename = posixpath.split(url)\n if use_directory_urls and filename == 'index.html':\n- if dirname == '':\n- url = '.'\n- else:\n- url = dirname + '/'\n+ url = (dirname or '.') + '/'\n return urlquote(url)\n \n def url_relative_to(self, other: File) -> str:\ndiff --git a/mkdocs/structure/pages.py b/mkdocs/structure/pages.py\nindex f24ad96733..6592495b97 100644\n--- a/mkdocs/structure/pages.py\n+++ b/mkdocs/structure/pages.py\n@@ -88,7 +88,7 @@ def _indent_print(self, depth=0):\n @property\n def url(self) -> str:\n \"\"\"The URL of the page relative to the MkDocs `site_dir`.\"\"\"\n- return '' if self.file.url == '.' else self.file.url\n+ return '' if self.file.url in ('.', './') else self.file.url\n \n file: File\n \"\"\"The documentation [`File`][mkdocs.structure.files.File] that the page is being rendered from.\"\"\"\n@@ -133,7 +133,7 @@ def is_top_level(self) -> bool:\n @property\n def is_homepage(self) -> bool:\n \"\"\"Evaluates to `True` for the homepage of the site and `False` for all other pages.\"\"\"\n- return self.is_top_level and self.is_index and self.file.url in ['.', 'index.html']\n+ return self.is_top_level and self.is_index and self.file.url in ('.', './', 'index.html')\n \n previous_page: Optional[Page]\n \"\"\"The [page][mkdocs.structure.pages.Page] object for the previous page or `None`.\n"},"test_patch":{"kind":"string","value":"diff --git a/mkdocs/tests/structure/file_tests.py b/mkdocs/tests/structure/file_tests.py\nindex 7f5fd1ee17..8d8257f0d9 100644\n--- a/mkdocs/tests/structure/file_tests.py\n+++ b/mkdocs/tests/structure/file_tests.py\n@@ -168,7 +168,7 @@ def test_md_index_file_use_directory_urls(self):\n self.assertPathsEqual(f.abs_src_path, '/path/to/docs/index.md')\n self.assertEqual(f.dest_uri, 'index.html')\n self.assertPathsEqual(f.abs_dest_path, '/path/to/site/index.html')\n- self.assertEqual(f.url, '.')\n+ self.assertEqual(f.url, './')\n self.assertEqual(f.name, 'index')\n self.assertTrue(f.is_documentation_page())\n self.assertFalse(f.is_static_page())\n@@ -182,7 +182,7 @@ def test_md_readme_index_file_use_directory_urls(self):\n self.assertPathsEqual(f.abs_src_path, '/path/to/docs/README.md')\n self.assertEqual(f.dest_uri, 'index.html')\n self.assertPathsEqual(f.abs_dest_path, '/path/to/site/index.html')\n- self.assertEqual(f.url, '.')\n+ self.assertEqual(f.url, './')\n self.assertEqual(f.name, 'index')\n self.assertTrue(f.is_documentation_page())\n self.assertFalse(f.is_static_page())\n@@ -446,7 +446,7 @@ def test_get_relative_url_use_directory_urls(self):\n ]\n \n to_file_urls = [\n- '.',\n+ './',\n 'foo/',\n 'foo/bar/',\n 'foo/bar/baz/',\n@@ -493,18 +493,18 @@ def test_get_relative_url_use_directory_urls(self):\n \n from_file = File('index.html', '/path/to/docs', '/path/to/site', use_directory_urls=True)\n expected = [\n- '.', # . relative to .\n- '..', # . relative to foo/\n- '../..', # . relative to foo/bar/\n- '../../..', # . relative to foo/bar/baz/\n- '..', # . relative to foo\n- '../..', # . relative to foo/bar\n- '../../..', # . relative to foo/bar/baz\n+ './', # . relative to .\n+ '../', # . relative to foo/\n+ '../../', # . relative to foo/bar/\n+ '../../../', # . relative to foo/bar/baz/\n+ '../', # . relative to foo\n+ '../../', # . relative to foo/bar\n+ '../../../', # . relative to foo/bar/baz\n ]\n \n for i, filename in enumerate(to_files):\n file = File(filename, '/path/to/docs', '/path/to/site', use_directory_urls=True)\n- self.assertEqual(from_file.url, '.')\n+ self.assertEqual(from_file.url, './')\n self.assertEqual(file.url, to_file_urls[i])\n self.assertEqual(from_file.url_relative_to(file.url), expected[i])\n self.assertEqual(from_file.url_relative_to(file), expected[i])\ndiff --git a/mkdocs/tests/structure/page_tests.py b/mkdocs/tests/structure/page_tests.py\nindex 24b17a01a8..9ccd9ff87e 100644\n--- a/mkdocs/tests/structure/page_tests.py\n+++ b/mkdocs/tests/structure/page_tests.py\n@@ -659,7 +659,7 @@ def test_relative_html_link(self):\n def test_relative_html_link_index(self):\n self.assertEqual(\n self.get_rendered_result(['non-index.md', 'index.md']),\n- '

link

',\n+ '

link

',\n )\n \n @mock.patch('mkdocs.structure.pages.open', mock.mock_open(read_data='[link](sub2/index.md)'))\n@@ -696,7 +696,7 @@ def test_relative_html_link_with_unencoded_space(self):\n def test_relative_html_link_parent_index(self):\n self.assertEqual(\n self.get_rendered_result(['sub2/non-index.md', 'index.md']),\n- '

link

',\n+ '

link

',\n )\n \n @mock.patch(\n"},"problem_statement":{"kind":"string","value":"Link to paragraph on index.md breaks\nI try to link from a subpage to a paragraph on my root index.md:\r\n\r\n`[MyLink](../index.md#contact)`\r\n\r\nThis results when clicking in a 404 trying to open the following URL:\r\n\r\n`documentation#contact`\r\n\r\nCorrect would be to link to \r\n\r\n`documentation/#contact` (note the slash)\r\n\r\nJust linking to the page itself works fine\r\n\r\n`[MyLink](../index.md)`\r\n\r\n`documentation/` (slash is in the link)\r\n\r\nAnybody has a clue if I do anything wrong or if this is a bug?\r\n\r\nI use mkdocs with Materials template. Can provide more if required.\n"},"hints_text":{"kind":"string","value":"Hi. This sounds like something that's happening only in your specific case.\r\nIf you don't provide a way for me to see exactly what that case is, I can't start guessing.\r\nPlease provide a complete MkDocs site with `mkdocs.yml` that exhibits the problem, which page I should look at, what's going wrong there and what you expected to see instead.\nHi. Sorry for late reply. I stripped down the root issue into an example. The issue also happens with the default template, so not only with materials\r\n[Documentation.zip](https://github.com/mkdocs/mkdocs/files/9857678/Documentation.zip)\r\n\nI see what's happening, OK. It is a general problem. Thanks for the report."},"created_at":{"kind":"string","value":"2022-10-25T21:45:07Z"},"merged_at":{"kind":"string","value":"2022-10-29T12:41:50Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"test_not_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_not_list)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_unrecognised_keys (mkdocs.tests.config.base_tests.ConfigBaseTests.test_unrecognised_keys)\", \"test_build_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_use_directory_urls)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_nested_anchor (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_nested_anchor)\", \"test_named_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_named_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_github)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_tests.ConfigTests.test_doc_dir_in_site_dir)\", \"test_defined (mkdocs.tests.config.config_options_legacy_tests.PrivateTest.test_defined)\", \"test_nav_bad_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_bad_links)\", \"test_load_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_missing_required)\", \"test_parse_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory)\", \"test_context_base_url_homepage (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage)\", \"test_simple_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_watch_with_broken_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watch_with_broken_symlinks)\", \"test_serve_dirtyreload (mkdocs.tests.cli_tests.CLITests.test_serve_dirtyreload)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_none)\", \"test_copy_file_same_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_same_file)\", \"test_post_validation_error (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_post_validation_error)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_builtins (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_nested_list)\", \"test_event_on_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_defaults)\", \"test_relative_html_link_sub_index_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index_hash)\", \"test_count_critical (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_critical)\", \"test_int_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_int_type)\", \"test_plugin_config_without_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_without_options)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_default)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_prebuild_index (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index)\", \"test_change_is_detected_while_building (mkdocs.tests.livereload_tests.BuildTests.test_change_is_detected_while_building)\", \"test_build_site_dir (mkdocs.tests.cli_tests.CLITests.test_build_site_dir)\", \"test_context_base_url_absolute_nested_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_nested_no_page)\", \"test_removed_option (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_removed_option)\", \"test_correct_events_registered (mkdocs.tests.plugin_tests.TestPluginCollection.test_correct_events_registered)\", \"test_content_parser_no_sections (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_sections)\", \"test_default_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_default_address)\", \"test_repo_name_github (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_github)\", \"test_watches_through_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_symlinks)\", \"test_plugin_config_none_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_default)\", \"test_sort_files (mkdocs.tests.structure.file_tests.TestFiles.test_sort_files)\", \"test_inherited_theme (mkdocs.tests.theme_tests.ThemeTests.test_inherited_theme)\", \"test_serve_theme (mkdocs.tests.cli_tests.CLITests.test_serve_theme)\", \"test_plugin_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_lang)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_config_missing_name)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_optional_with_default (mkdocs.tests.config.config_options_tests.TypeTest.test_optional_with_default)\", \"test_count_error (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_error)\", \"test_missing_default (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_missing_config_file (mkdocs.tests.config.config_tests.ConfigTests.test_missing_config_file)\", \"test_invalid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_invalid_plugin_options)\", \"test_skip_missing_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_extra_template)\", \"test_rebuild_after_delete (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_delete)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_bitbucket)\", \"test_builtins (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins)\", \"test_custom_dir_only (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir_only)\", \"test_valid_full_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_full_IPv6_address)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_port)\", \"test_copy_file_clean_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_clean_modified)\", \"test_plugin_config_sub_error (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_error)\", \"test_lang_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_code)\", \"test_get_themes (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes)\", \"test_nav_missing_page (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_missing_page)\", \"test_bad_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_bad_relative_html_link)\", \"test_build_theme (mkdocs.tests.cli_tests.CLITests.test_build_theme)\", \"test_provided_empty (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_empty)\", \"test_theme_default (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_default)\", \"test_nested_nonindex_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_nonindex_page)\", \"test_with_unicode (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_with_unicode)\", \"test_get_theme_dir_importerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_importerror)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_none)\", \"test_duplicates (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_context_base_url_relative_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page)\", \"test_serves_polling_with_timeout (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_timeout)\", \"test_lang_no_default_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_list)\", \"test_hooks (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks)\", \"test_count_debug (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_debug)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_build_dirty (mkdocs.tests.cli_tests.CLITests.test_build_dirty)\", \"test_not_a_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_empty_dict)\", \"test_email_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_email_link)\", \"test_relative_html_link_with_unencoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_unencoded_space)\", \"test_custom_dir (mkdocs.tests.theme_tests.ThemeTests.test_custom_dir)\", \"test_plugin_config_with_explicit_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_theme_namespace)\", \"test_missing_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_missing_path)\", \"test_prebuild_index_raises_oserror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_oserror)\", \"test_parse_locale_invalid_characters (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_invalid_characters)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_name_is_none)\", \"test_redirects_to_directory (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_directory)\", \"test_prebuild_index_node (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_node)\", \"test_html_stripping (mkdocs.tests.search_tests.SearchIndexTests.test_html_stripping)\", \"test_content_parser_content_before_header (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_content_before_header)\", \"test_run_build_error_event (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_build_error_event)\", \"test_build_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_modified)\", \"test_parse_locale_language_territory_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_territory_sep)\", \"test_invalid_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_default)\", \"test_serve_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_no_directory_urls)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_format)\", \"test_build_page_plugin_error (mkdocs.tests.build_tests.BuildTests.test_build_page_plugin_error)\", \"test_relative_image_link_from_sibling (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_sibling)\", \"test_gh_deploy_ignore_version (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_ignore_version)\", \"test_version_unknown (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_version_unknown)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom)\", \"test_invalid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_url)\", \"test_file (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_file)\", \"test_custom_action_warns (mkdocs.tests.livereload_tests.BuildTests.test_custom_action_warns)\", \"test_indented_toc_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc_html)\", \"test_lang_default (mkdocs.tests.search_tests.SearchConfigTests.test_lang_default)\", \"test_css_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_css_file_use_directory_urls)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_rebuild_after_rename (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_after_rename)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_relative_html_link_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash)\", \"test_count_warning (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_warning)\", \"test_get_remote_url_ssh (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_ssh)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_complex_config)\", \"test_hooks_wrong_type (mkdocs.tests.config.config_options_tests.HooksTest.test_hooks_wrong_type)\", \"test_post_validation_none_theme_name_and_missing_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_none_theme_name_and_missing_custom_dir)\", \"test_redirects_to_unicode_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_unicode_mount_path)\", \"test_flat_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_toc)\", \"test_entityref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_entityref)\", \"test_javascript_file (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file)\", \"test_default (mkdocs.tests.config.config_options_tests.SubConfigTest.test_default)\", \"test_build_strict (mkdocs.tests.cli_tests.CLITests.test_build_strict)\", \"test_deploy_ignore_version_default (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version_default)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale)\", \"test_named_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_named_address)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_plugin_config_with_deduced_theme_namespace_overridden (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace_overridden)\", \"test_invalid_address_format (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_format)\", \"test_get_remote_url_enterprise (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_enterprise)\", \"test_post_validation_locale_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_locale_none)\", \"test_build_page (mkdocs.tests.build_tests.BuildTests.test_build_page)\", \"test_serve_no_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_no_livereload)\", \"test_valid_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_address)\", \"test_plugin_config_as_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_as_dict)\", \"test_relative_html_link_sub_page (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page)\", \"test_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_translations_found)\", \"test_dict_of_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_dict_of_dicts)\", \"test_plugin_config_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_defaults)\", \"test_file (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_file)\", \"test_valid_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_address)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_mm_meta_data_blank_first_line (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data_blank_first_line)\", \"test_mixed_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_string)\", \"test_nav_no_directory_urls (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_directory_urls)\", \"test_optional (mkdocs.tests.config.config_options_tests.URLTest.test_optional)\", \"test_md_index_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested_use_directory_urls)\", \"test_yaml_inheritance_missing_parent (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance_missing_parent)\", \"test_event_on_config_include_search_page (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_include_search_page)\", \"test_theme_config_missing_name (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_config_missing_name)\", \"test_plugin_config_none_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_none_with_empty_default)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_md_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file)\", \"test_mm_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_mm_meta_data)\", \"test_lang_no_default_none (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_none)\", \"test_page_title_from_capitalized_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_capitalized_filename)\", \"test_get_current_sha (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_current_sha)\", \"test_md_readme_index_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file)\", \"test_invalid_choice (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choice)\", \"test_with_unicode (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_with_unicode)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_invalid_type (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_type)\", \"test_create_media_urls_windows (mkdocs.tests.utils.utils_tests.UtilsTests.test_create_media_urls_windows)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_multiple_dirs_can_cause_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_can_cause_rebuild)\", \"test_non_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_list)\", \"test_gh_deploy_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_use_directory_urls)\", \"test_copy_files (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files)\", \"test_invalid_choices (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_choices)\", \"test_config_dir_prepended (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_config_dir_prepended)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_optional)\", \"test_mixed_html (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_html)\", \"test_copy_files_without_permissions (mkdocs.tests.utils.utils_tests.UtilsTests.test_copy_files_without_permissions)\", \"test_content_parser_no_id (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser_no_id)\", \"test_media_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_media_file_use_directory_urls)\", \"test_flat_h2_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_flat_h2_toc)\", \"test_invalid_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_invalid_default)\", \"test_empty_config (mkdocs.tests.config.config_tests.ConfigTests.test_empty_config)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_build_config_file (mkdocs.tests.cli_tests.CLITests.test_build_config_file)\", \"test_jinja_extension_installed (mkdocs.tests.localization_tests.LocalizationTests.test_jinja_extension_installed)\", \"test_empty (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_empty)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_type)\", \"test_populate_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_not_modified)\", \"test_relative_html_link_hash_only (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_hash_only)\", \"test_int_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_int_type)\", \"test_lang_multi_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_multi_list)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url_is_dir)\", \"test_serve_default (mkdocs.tests.cli_tests.CLITests.test_serve_default)\", \"test_context_extra_css_js_from_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page)\", \"test_page_no_directory_url (mkdocs.tests.structure.page_tests.PageTests.test_page_no_directory_url)\", \"test_populate_page_read_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_error)\", \"test_prebuild_index_false (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_false)\", \"test_page_defaults (mkdocs.tests.structure.page_tests.PageTests.test_page_defaults)\", \"test_page_edit_url (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url)\", \"test_get_files_include_readme_without_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_include_readme_without_index)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_subconfig_with_multiple_items)\", \"test_copy (mkdocs.tests.config.config_options_tests.SchemaTest.test_copy)\", \"test_empty_nav (mkdocs.tests.config.config_tests.ConfigTests.test_empty_nav)\", \"test_length (mkdocs.tests.config.config_options_tests.TypeTest.test_length)\", \"test_media_file (mkdocs.tests.structure.file_tests.TestFiles.test_media_file)\", \"test_non_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_list)\", \"test_simple_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_simple_nav)\", \"test_invalid_type (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_invalid_type)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_invalid_url (mkdocs.tests.config.config_options_tests.URLTest.test_invalid_url)\", \"test_lang_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_str)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_normal)\", \"test_dir_bytes (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_yaml_meta_data_invalid (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_invalid)\", \"test_single_type (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_single_type)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_errors)\", \"test_external_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_external_link)\", \"test_serve_config_file (mkdocs.tests.cli_tests.CLITests.test_serve_config_file)\", \"test_missing_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_missing_path)\", \"test_edit_uri_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_bitbucket)\", \"test_env_var_in_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_env_var_in_yaml)\", \"test_page_canonical_url (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url)\", \"test_insort_key (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort_key)\", \"test_add_files_from_theme (mkdocs.tests.structure.file_tests.TestFiles.test_add_files_from_theme)\", \"test_valid_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_valid_path)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_ok)\", \"test_populate_page (mkdocs.tests.build_tests.BuildTests.test_populate_page)\", \"test_uninstalled_theme_as_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_uninstalled_theme_as_config)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_gitlab)\", \"test_multiple_dirs_changes_rebuild_only_once (mkdocs.tests.livereload_tests.BuildTests.test_multiple_dirs_changes_rebuild_only_once)\", \"test_defined (mkdocs.tests.config.config_options_tests.PrivateTest.test_defined)\", \"test_new (mkdocs.tests.new_tests.NewTests.test_new)\", \"test_lang_bad_type (mkdocs.tests.search_tests.SearchConfigTests.test_lang_bad_type)\", \"test_validation_warnings (mkdocs.tests.config.base_tests.ConfigBaseTests.test_validation_warnings)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_prebuild_index_returns_error (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_returns_error)\", \"test_valid_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_dir)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_dir_bytes (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_dir_bytes)\", \"test_page_canonical_url_nested (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested)\", \"test_plugin_config_min_search_length (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_min_search_length)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_custom)\", \"test_default_values (mkdocs.tests.utils.utils_tests.LogCounterTests.test_default_values)\", \"test_page_eq (mkdocs.tests.structure.page_tests.PageTests.test_page_eq)\", \"test_simple_theme (mkdocs.tests.theme_tests.ThemeTests.test_simple_theme)\", \"test_copy_file (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file)\", \"test_theme_name_is_none (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_name_is_none)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_build_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_build_no_directory_urls)\", \"test_serves_polling_instantly (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_instantly)\", \"test_required (mkdocs.tests.config.config_options_tests.ChoiceTest.test_required)\", \"test_relative_html_link_sub_page_hash (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_page_hash)\", \"test_not_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_not_list)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_required)\", \"test_md_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested)\", \"test_plugin_config_multivalue_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_multivalue_dict)\", \"test_gh_deploy_config_file (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_config_file)\", \"test_nonexistant_config (mkdocs.tests.config.config_tests.ConfigTests.test_nonexistant_config)\", \"test_run_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_on_collection)\", \"test_count_multiple (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_multiple)\", \"test_relative_image_link_from_subpage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_subpage)\", \"test_gh_deploy_remote_branch (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_branch)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_serves_polling_with_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_with_mount_path)\", \"test_gh_deploy_defaults (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_defaults)\", \"test_get_theme_dir (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir)\", \"test_nav_no_title (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_no_title)\", \"test_page_canonical_url_nested_no_slash (mkdocs.tests.structure.page_tests.PageTests.test_page_canonical_url_nested_no_slash)\", \"test_serve_dev_addr (mkdocs.tests.cli_tests.CLITests.test_serve_dev_addr)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_int)\", \"test_event_on_config_theme_locale (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_theme_locale)\", \"test_unsupported_IPv6_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_IPv6_address)\", \"test_repo_name_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_gitlab)\", \"test_get_files_exclude_readme_with_index (mkdocs.tests.structure.file_tests.TestFiles.test_get_files_exclude_readme_with_index)\", \"test_relative_html_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.ConfigItemsTest.test_optional)\", \"test_md_file_nested_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_nested_use_directory_urls)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_warning)\", \"test_empty_list (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_empty_list)\", \"test_removed_option (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_removed_option)\", \"test_duplicates (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_duplicates)\", \"test_plugin_config_not_list (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_list)\", \"test_repo_name_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom)\", \"test_charref (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_charref)\", \"test_log_level (mkdocs.tests.utils.utils_tests.LogCounterTests.test_log_level)\", \"test_optional (mkdocs.tests.config.config_options_tests.SubConfigTest.test_optional)\", \"test_extra_context (mkdocs.tests.build_tests.BuildTests.test_extra_context)\", \"test_parse_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_language_only)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_valid_IPv6_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_valid_IPv6_address)\", \"test_edit_uri_template_errors (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_errors)\", \"test_event_on_post_build_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_search_index_only)\", \"test_old_format (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_old_format)\", \"test_mkdocs_newer (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_newer)\", \"test_absolute_win_local_path (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_win_local_path)\", \"test_get_files (mkdocs.tests.structure.file_tests.TestFiles.test_get_files)\", \"test_missing_but_required (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_valid_language_territory (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language_territory)\", \"test_insort (mkdocs.tests.utils.utils_tests.UtilsTests.test_insort)\", \"test_css_file (mkdocs.tests.structure.file_tests.TestFiles.test_css_file)\", \"test_lang_list (mkdocs.tests.search_tests.SearchConfigTests.test_lang_list)\", \"test_event_on_post_build_defaults (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_defaults)\", \"test_incorrect_type_error (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_incorrect_type_error)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_range)\", \"test_missing_page (mkdocs.tests.structure.page_tests.PageTests.test_missing_page)\", \"test_simple_list (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_simple_list)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_deprecated_option_move (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move)\", \"test_site_dir_is_config_dir_fails (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_site_dir_is_config_dir_fails)\", \"test_theme (mkdocs.tests.config.config_tests.ConfigTests.test_theme)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_dict)\", \"test_serves_with_unicode_characters (mkdocs.tests.livereload_tests.BuildTests.test_serves_with_unicode_characters)\", \"test_lang_missing_and_with_territory (mkdocs.tests.search_tests.SearchConfigTests.test_lang_missing_and_with_territory)\", \"test_context_extra_css_js_from_homepage (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_homepage)\", \"test_multiple_types (mkdocs.tests.config.config_options_tests.TypeTest.test_multiple_types)\", \"test_deploy_hostname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_hostname)\", \"test_post_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_post_validation_error)\", \"test_build_page_custom_template (mkdocs.tests.build_tests.BuildTests.test_build_page_custom_template)\", \"test_plugin_config_options_not_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_options_not_dict)\", \"test_optional (mkdocs.tests.config.config_options_tests.ChoiceTest.test_optional)\", \"test_get_relative_url_empty (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url_empty)\", \"test_unknown_extension (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_inexisting_custom_dir (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_inexisting_custom_dir)\", \"test_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_optional)\", \"test_old_format (mkdocs.tests.config.config_options_tests.NavTest.test_old_format)\", \"test_list_dicts (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_theme_as_complex_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_complex_config)\", \"test_empty_list (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_empty_list)\", \"test_gh_deploy_remote_name (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_remote_name)\", \"test_deploy_error (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_error)\", \"test_serves_modified_html (mkdocs.tests.livereload_tests.BuildTests.test_serves_modified_html)\", \"test_none_without_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_none_without_default)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_config_int)\", \"test_none (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_none)\", \"test_context_base_url_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page_use_directory_urls)\", \"test_build_defaults (mkdocs.tests.cli_tests.CLITests.test_build_defaults)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_gitlab)\", \"test_event_on_post_build_multi_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_multi_lang)\", \"test_gh_deploy_force (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_force)\", \"test_deprecated_option_move_existing (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_existing)\", \"test_invalid_nested_list (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_nested_list)\", \"test_skip_extra_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_extra_template_empty_output)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_required)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_list_dicts (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_list_dicts)\", \"test_unsupported_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_unsupported_address)\", \"test_required (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required)\", \"test_list_of_optional (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_of_optional)\", \"test_populate_page_dirty_modified (mkdocs.tests.build_tests.BuildTests.test_populate_page_dirty_modified)\", \"test_run_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_run_validation_error)\", \"test_non_path (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_non_path)\", \"test_context_base_url_nested_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_nested_page)\", \"test_build_page_dirty_not_modified (mkdocs.tests.build_tests.BuildTests.test_build_page_dirty_not_modified)\", \"test_theme_as_string (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_string)\", \"test_context_extra_css_js_from_nested_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_from_nested_page_use_directory_urls)\", \"test_plugin_config_not_string_or_dict (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_not_string_or_dict)\", \"test_relative_image_link_from_homepage (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_image_link_from_homepage)\", \"test_skip_missing_theme_template (mkdocs.tests.build_tests.BuildTests.test_skip_missing_theme_template)\", \"test_get_relative_url (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_relative_url)\", \"test_replace_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_replace_default)\", \"test_invalid_address_range (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_range)\", \"test_invalid_children_oversized_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_oversized_dict)\", \"test_valid_dir (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_dir)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_invalid_children_empty_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_children_empty_dict)\", \"test_build_verbose (mkdocs.tests.cli_tests.CLITests.test_build_verbose)\", \"test_no_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_no_meta_data)\", \"test_subclass (mkdocs.tests.config.config_options_tests.SchemaTest.test_subclass)\", \"test_valid_language (mkdocs.tests.localization_tests.LocalizationTests.test_valid_language)\", \"test_none (mkdocs.tests.config.config_options_tests.ListOfPathsTest.test_none)\", \"test_filter_paths (mkdocs.tests.structure.file_tests.TestFiles.test_filter_paths)\", \"test_invalid_config_option (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_option)\", \"test_plugin_config_with_options (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_options)\", \"test_build_page_error (mkdocs.tests.build_tests.BuildTests.test_build_page_error)\", \"test_md_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_file_use_directory_urls)\", \"test_edit_uri_template_ok (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_template_ok)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_deploy (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy)\", \"test_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_error_handler)\", \"test_static_file (mkdocs.tests.structure.file_tests.TestFiles.test_static_file)\", \"test_static_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_static_file_use_directory_urls)\", \"test_indented_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_indented_toc)\", \"test_yaml_meta_data (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_none)\", \"test_valid_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_valid_path)\", \"test_invalid_dict_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_dict_item)\", \"test_is_markdown_file (mkdocs.tests.utils.utils_tests.UtilsTests.test_is_markdown_file)\", \"test_yaml_inheritance (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_inheritance)\", \"test_event_priorities (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_priorities)\", \"test_plugin_config_separator (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_separator)\", \"test_list_default (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_list_default)\", \"test_not_a_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_not_a_file)\", \"test_builtins_config (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_redirects_to_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_redirects_to_mount_path)\", \"test_missing_default (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_missing_default)\", \"test_level (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_level)\", \"test_event_on_config_search_index_only (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_search_index_only)\", \"test_vars (mkdocs.tests.theme_tests.ThemeTests.test_vars)\", \"test_plugin_config_indexing (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_indexing)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_invalid_type)\", \"test_page_edit_url_warning (mkdocs.tests.structure.page_tests.PageTests.test_page_edit_url_warning)\", \"test_page_title_from_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_filename)\", \"test_mime_types (mkdocs.tests.livereload_tests.BuildTests.test_mime_types)\", \"test_context_base_url_relative_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_relative_no_page_use_directory_urls)\", \"test_edit_uri_gitlab (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_gitlab)\", \"test_provided_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_provided_dict)\", \"test_provided_dict (mkdocs.tests.config.config_options_tests.NavTest.test_provided_dict)\", \"test_deprecated_option_move_complex (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_move_complex)\", \"test_default (mkdocs.tests.config.config_options_legacy_tests.ChoiceTest.test_default)\", \"test_absolute_link (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_absolute_link)\", \"test_deprecated_option_with_invalid_type (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_with_invalid_type)\", \"test_default_address (mkdocs.tests.config.config_options_tests.IpAddressTest.test_default_address)\", \"test_no_links (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_no_links)\", \"test_new (mkdocs.tests.cli_tests.CLITests.test_new)\", \"test_invalid_children_config_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_none)\", \"test_is_cwd_not_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_not_git_repo)\", \"test_get_by_type_nested_sections (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_get_by_type_nested_sections)\", \"test_locale_language_territory (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_territory)\", \"test_copy_theme_files (mkdocs.tests.build_tests.BuildTests.test_copy_theme_files)\", \"test_skip_theme_template_empty_output (mkdocs.tests.build_tests.BuildTests.test_skip_theme_template_empty_output)\", \"test_nested_index_page_no_parent (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent)\", \"test_missing_site_name (mkdocs.tests.config.config_tests.ConfigTests.test_missing_site_name)\", \"test_plugin_config_empty_list_with_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_default)\", \"test_parse_locale_unknown_locale (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_unknown_locale)\", \"test_nested_index_page_no_parent_no_directory_urls (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page_no_parent_no_directory_urls)\", \"test_invalid_choice (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choice)\", \"test_subconfig_normal (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_normal)\", \"test_lang_good_and_bad_code (mkdocs.tests.search_tests.SearchConfigTests.test_lang_good_and_bad_code)\", \"test_plugin_config_uninstalled (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_uninstalled)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_theme_as_simple_config)\", \"test_invalid_config_item (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_invalid_config_item)\", \"test_relative_html_link_sub_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_sub_index)\", \"test_subconfig_invalid_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_invalid_option)\", \"test_parse_locale_bad_format (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format)\", \"test_page_ne (mkdocs.tests.structure.page_tests.PageTests.test_page_ne)\", \"test_single_type (mkdocs.tests.config.config_options_tests.TypeTest.test_single_type)\", \"test_invalid_leading_zeros (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_leading_zeros)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_search_indexing_options (mkdocs.tests.search_tests.SearchIndexTests.test_search_indexing_options)\", \"test_copy_file_dirty_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_modified)\", \"test_predefined_page_title (mkdocs.tests.structure.page_tests.PageTests.test_predefined_page_title)\", \"test_invalid_config (mkdocs.tests.config.config_tests.ConfigTests.test_invalid_config)\", \"test_error_on_pages (mkdocs.tests.config.config_tests.ConfigTests.test_error_on_pages)\", \"test_length (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_length)\", \"test_valid_url_is_dir (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url_is_dir)\", \"test_combined_float_type (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_combined_float_type)\", \"test_mkdocs_older (mkdocs.tests.gh_deploy_tests.TestGitHubDeployLogs.test_mkdocs_older)\", \"test_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_site_dir_contains_stale_files)\", \"test_is_cwd_git_repo (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_is_cwd_git_repo)\", \"test_gh_deploy_clean (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_clean)\", \"test_get_theme_dir_keyerror (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_theme_dir_keyerror)\", \"test_combined_float_type (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_combined_float_type)\", \"test_plugin_config_empty_list_with_empty_default (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_empty_list_with_empty_default)\", \"test_yaml_meta_data_not_dict (mkdocs.tests.utils.utils_tests.UtilsTests.test_yaml_meta_data_not_dict)\", \"test_page_title_from_homepage_filename (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_homepage_filename)\", \"test_indented_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_indented_nav)\", \"test_unknown_locale (mkdocs.tests.localization_tests.LocalizationTests.test_unknown_locale)\", \"test_lang_no_default_str (mkdocs.tests.search_tests.SearchConfigTests.test_lang_no_default_str)\", \"test_valid_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_valid_file)\", \"test_post_validation_locale (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale)\", \"test_context_extra_css_path_warning (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_path_warning)\", \"test_required (mkdocs.tests.config.config_options_tests.SubConfigTest.test_required)\", \"test_nest_paths_native (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths_native)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_tests.EditURITest.test_edit_uri_github)\", \"test_valid_plugin_options (mkdocs.tests.plugin_tests.TestPluginClass.test_valid_plugin_options)\", \"test_event_on_config_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_config_lang)\", \"test_post_validation_locale_invalid_type (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_post_validation_locale_invalid_type)\", \"test_build_quiet (mkdocs.tests.cli_tests.CLITests.test_build_quiet)\", \"test_deploy_ignore_version (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_ignore_version)\", \"test_provided_empty (mkdocs.tests.config.config_options_tests.NavTest.test_provided_empty)\", \"test_create_media_urls (mkdocs.tests.utils.utils_tests.UtilsTests.test_create_media_urls)\", \"test_get_themes_warning (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_warning)\", \"test_deprecated_option_with_type (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type)\", \"test_not_a_dir (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_dir)\", \"test_multiple_markdown_config_instances (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_multiple_markdown_config_instances)\", \"test_builtins_config (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_builtins_config)\", \"test_files (mkdocs.tests.structure.file_tests.TestFiles.test_files)\", \"test_run_undefined_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_undefined_event_on_collection)\", \"test_theme_as_simple_config (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_as_simple_config)\", \"test_watches_through_relative_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_through_relative_symlinks)\", \"test_edit_uri_github (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_github)\", \"test_missing_but_required (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_missing_but_required)\", \"test_gh_deploy_theme (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_theme)\", \"test_mixed_list (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_mixed_list)\", \"test_locale_language_only (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_locale_language_only)\", \"test_event_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_returns_None)\", \"test_set_multiple_plugins_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_multiple_plugins_on_collection)\", \"test_plugin_config_sub_warning (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_sub_warning)\", \"test_mixed_toc (mkdocs.tests.structure.toc_tests.TableOfContentsTests.test_mixed_toc)\", \"test_load_default_file_with_yaml (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_default_file_with_yaml)\", \"test_merge_translations (mkdocs.tests.localization_tests.LocalizationTests.test_merge_translations)\", \"test_skip_ioerror_extra_template (mkdocs.tests.build_tests.BuildTests.test_skip_ioerror_extra_template)\", \"test_missing_without_exists (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_missing_without_exists)\", \"test_relative_html_link_with_encoded_space (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_with_encoded_space)\", \"test_invalid_choices (mkdocs.tests.config.config_options_tests.ChoiceTest.test_invalid_choices)\", \"test_string_not_a_list_of_strings (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_string_not_a_list_of_strings)\", \"test_theme_default (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_default)\", \"test_deprecated_option_move_invalid (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_move_invalid)\", \"test_javascript_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_javascript_file_use_directory_urls)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_warns_for_dict)\", \"test_parse_locale_bad_type (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_type)\", \"test_count_info (mkdocs.tests.utils.utils_tests.LogCounterTests.test_count_info)\", \"test_invalid_address_type (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_type)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_serve_strict (mkdocs.tests.cli_tests.CLITests.test_serve_strict)\", \"test_not_site_dir_contains_stale_files (mkdocs.tests.build_tests.BuildTests.test_not_site_dir_contains_stale_files)\", \"test_get_themes_error (mkdocs.tests.utils.utils_tests.UtilsTests.test_get_themes_error)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_prebuild_index_raises_ioerror (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_raises_ioerror)\", \"test_deprecated_option_with_type_undefined (mkdocs.tests.config.config_options_legacy_tests.DeprecatedTest.test_deprecated_option_with_type_undefined)\", \"test_none (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_none)\", \"test_nav_from_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_files)\", \"test_watches_direct_symlinks (mkdocs.tests.livereload_tests.BuildTests.test_watches_direct_symlinks)\", \"test_build_extra_template (mkdocs.tests.build_tests.BuildTests.test_build_extra_template)\", \"test_missing_required (mkdocs.tests.config.base_tests.ConfigBaseTests.test_missing_required)\", \"test_get_relative_url (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url)\", \"test_context_extra_css_js_no_page (mkdocs.tests.build_tests.BuildTests.test_context_extra_css_js_no_page)\", \"test_nested_ungrouped_nav (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav)\", \"test_valid_url (mkdocs.tests.config.config_options_tests.URLTest.test_valid_url)\", \"test_reduce_list (mkdocs.tests.utils.utils_tests.UtilsTests.test_reduce_list)\", \"test_optional (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_optional)\", \"test_homepage (mkdocs.tests.structure.page_tests.PageTests.test_homepage)\", \"test_event_on_post_build_single_lang (mkdocs.tests.search_tests.SearchPluginTests.test_event_on_post_build_single_lang)\", \"test_serves_normal_file (mkdocs.tests.livereload_tests.BuildTests.test_serves_normal_file)\", \"test_warns_for_dict (mkdocs.tests.config.config_options_tests.NavTest.test_warns_for_dict)\", \"test_file_eq (mkdocs.tests.structure.file_tests.TestFiles.test_file_eq)\", \"test_no_theme_config (mkdocs.tests.theme_tests.ThemeTests.test_no_theme_config)\", \"test_multiple_types (mkdocs.tests.config.config_options_legacy_tests.TypeTest.test_multiple_types)\", \"test_gh_deploy_strict (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_strict)\", \"test_none_without_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_none_without_default)\", \"test_normal_nav (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_normal_nav)\", \"test_edit_uri_custom (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_custom)\", \"test_plugin_config_with_explicit_empty_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_explicit_empty_namespace)\", \"test_page_title_from_markdown (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_markdown)\", \"test_not_a_file (mkdocs.tests.config.config_options_tests.FilesystemObjectTest.test_not_a_file)\", \"test_files_append_remove_src_paths (mkdocs.tests.structure.file_tests.TestFiles.test_files_append_remove_src_paths)\", \"test_create_search_index (mkdocs.tests.search_tests.SearchIndexTests.test_create_search_index)\", \"test_populate_page_read_plugin_error (mkdocs.tests.build_tests.BuildTests.test_populate_page_read_plugin_error)\", \"test_deploy_no_cname (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_deploy_no_cname)\", \"test_set_plugin_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_set_plugin_on_collection)\", \"test_repo_name_custom_and_empty_edit_uri (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_custom_and_empty_edit_uri)\", \"test_invalid_type_dict (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_dict)\", \"test_gh_deploy_dirty (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_dirty)\", \"test_run_unknown_event_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_unknown_event_on_collection)\", \"test_nest_paths (mkdocs.tests.utils.utils_tests.UtilsTests.test_nest_paths)\", \"test_build_theme_template (mkdocs.tests.build_tests.BuildTests.test_build_theme_template)\", \"test_invalid_item_none (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_item_none)\", \"test_copy (mkdocs.tests.config.config_options_legacy_tests.SchemaTest.test_copy)\", \"test_edit_uri_template_warning (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_edit_uri_template_warning)\", \"test_configkey (mkdocs.tests.config.config_options_tests.MarkdownExtensionsTest.test_configkey)\", \"test_get_schema (mkdocs.tests.config.base_tests.ConfigBaseTests.test_get_schema)\", \"test_context_base_url__absolute_nested_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_nested_no_page_use_directory_urls)\", \"test_gh_deploy_site_dir (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_site_dir)\", \"test_page_render (mkdocs.tests.structure.page_tests.PageTests.test_page_render)\", \"test_pre_validation_error (mkdocs.tests.config.base_tests.ConfigBaseTests.test_pre_validation_error)\", \"test_unsupported_address (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_unsupported_address)\", \"test_uninstalled_theme_as_string (mkdocs.tests.config.config_options_legacy_tests.ThemeTest.test_uninstalled_theme_as_string)\", \"test_deprecated_option_simple (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_simple)\", \"test_BOM (mkdocs.tests.structure.page_tests.PageTests.test_BOM)\", \"test_get_remote_url_http (mkdocs.tests.gh_deploy_tests.TestGitHubDeploy.test_get_remote_url_http)\", \"test_source_date_epoch (mkdocs.tests.structure.page_tests.SourceDateEpochTests.test_source_date_epoch)\", \"test_required_no_default (mkdocs.tests.config.config_options_legacy_tests.OptionallyRequiredTest.test_required_no_default)\", \"test_copy_file_dirty_not_modified (mkdocs.tests.structure.file_tests.TestFiles.test_copy_file_dirty_not_modified)\", \"test_serves_directory_index (mkdocs.tests.livereload_tests.BuildTests.test_serves_directory_index)\", \"test_rebuild_on_edit (mkdocs.tests.livereload_tests.BuildTests.test_rebuild_on_edit)\", \"test_page_title_from_meta (mkdocs.tests.structure.page_tests.PageTests.test_page_title_from_meta)\", \"test_list_default (mkdocs.tests.config.config_options_tests.ListOfItemsTest.test_list_default)\", \"test_gh_deploy_message (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_message)\", \"test_nav_external_links (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_external_links)\", \"test_nested_index_page (mkdocs.tests.structure.page_tests.PageTests.test_nested_index_page)\", \"test_serves_polling_after_event (mkdocs.tests.livereload_tests.BuildTests.test_serves_polling_after_event)\", \"test_content_parser (mkdocs.tests.search_tests.SearchIndexTests.test_content_parser)\", \"test_subconfig_with_multiple_items (mkdocs.tests.config.config_options_tests.SubConfigTest.test_subconfig_with_multiple_items)\", \"test_file_name_with_space (mkdocs.tests.structure.file_tests.TestFiles.test_file_name_with_space)\", \"test_valid_file (mkdocs.tests.config.config_options_legacy_tests.FilesystemObjectTest.test_valid_file)\", \"test_build_sitemap_template (mkdocs.tests.build_tests.BuildTests.test_build_sitemap_template)\", \"test_gh_deploy_no_directory_urls (mkdocs.tests.cli_tests.CLITests.test_gh_deploy_no_directory_urls)\", \"test_event_empty_item_returns_None (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item_returns_None)\", \"test_unknown_extension (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_unknown_extension)\", \"test_post_validation_error (mkdocs.tests.config.config_options_legacy_tests.ListOfItemsTest.test_post_validation_error)\", \"test_invalid_item_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_item_int)\", \"test_plugin_config_prebuild_index (mkdocs.tests.search_tests.SearchPluginTests.test_plugin_config_prebuild_index)\", \"test_bad_error_handler (mkdocs.tests.livereload_tests.BuildTests.test_bad_error_handler)\", \"test_md_file (mkdocs.tests.structure.file_tests.TestFiles.test_md_file)\", \"test_normal_nav (mkdocs.tests.config.config_options_tests.NavTest.test_normal_nav)\", \"test_unicode_yaml (mkdocs.tests.utils.utils_tests.UtilsTests.test_unicode_yaml)\", \"test_paths_localized_to_config (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_paths_localized_to_config)\", \"test_unwatch (mkdocs.tests.livereload_tests.BuildTests.test_unwatch)\", \"test_default (mkdocs.tests.config.config_options_tests.ChoiceTest.test_default)\", \"test_context_base_url__absolute_no_page_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url__absolute_no_page_use_directory_urls)\", \"test_invalid_locale (mkdocs.tests.localization_tests.LocalizationTests.test_invalid_locale)\", \"test_repo_name_bitbucket (mkdocs.tests.config.config_options_legacy_tests.EditURITest.test_repo_name_bitbucket)\", \"test_event_empty_item (mkdocs.tests.plugin_tests.TestPluginCollection.test_event_empty_item)\", \"test_subconfig_wrong_type (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_wrong_type)\", \"test_load_from_missing_file (mkdocs.tests.config.base_tests.ConfigBaseTests.test_load_from_missing_file)\", \"test_prebuild_index_python_missing_lunr (mkdocs.tests.search_tests.SearchIndexTests.test_prebuild_index_python_missing_lunr)\", \"test_md_index_file_nested (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_nested)\", \"test_site_dir_in_docs_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_site_dir_in_docs_dir)\", \"test_doc_dir_in_site_dir (mkdocs.tests.config.config_options_legacy_tests.SiteDirTest.test_doc_dir_in_site_dir)\", \"test_valid_url (mkdocs.tests.config.config_options_legacy_tests.URLTest.test_valid_url)\", \"test_plugin_config_with_deduced_theme_namespace (mkdocs.tests.config.config_options_tests.PluginsTest.test_plugin_config_with_deduced_theme_namespace)\", \"test_subconfig_unknown_option (mkdocs.tests.config.config_options_legacy_tests.SubConfigTest.test_subconfig_unknown_option)\", \"test_active (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_active)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_type_int)\", \"test_nav_from_nested_files (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nav_from_nested_files)\", \"test_run_event_twice_on_collection (mkdocs.tests.plugin_tests.TestPluginCollection.test_run_event_twice_on_collection)\", \"test_hooks (mkdocs.tests.config.config_options_legacy_tests.HooksTest.test_hooks)\", \"test_serve_livereload (mkdocs.tests.cli_tests.CLITests.test_serve_livereload)\", \"test_invalid_address_missing_port (mkdocs.tests.config.config_options_legacy_tests.IpAddressTest.test_invalid_address_missing_port)\", \"test_non_path (mkdocs.tests.config.config_options_legacy_tests.ListOfPathsTest.test_non_path)\", \"test_build_clean (mkdocs.tests.cli_tests.CLITests.test_build_clean)\", \"test_file_ne (mkdocs.tests.structure.file_tests.TestFiles.test_file_ne)\", \"test_deprecated_option_message (mkdocs.tests.config.config_options_tests.DeprecatedTest.test_deprecated_option_message)\", \"test_create_media_urls_use_directory_urls (mkdocs.tests.utils.utils_tests.UtilsTests.test_create_media_urls_use_directory_urls)\", \"test_basic_rebuild (mkdocs.tests.livereload_tests.BuildTests.test_basic_rebuild)\", \"test_serve_watch_theme (mkdocs.tests.cli_tests.CLITests.test_serve_watch_theme)\", \"test_build_page_empty (mkdocs.tests.build_tests.BuildTests.test_build_page_empty)\", \"test_invalid_address_port (mkdocs.tests.config.config_options_tests.IpAddressTest.test_invalid_address_port)\", \"test_invalid_children_config_int (mkdocs.tests.config.config_options_tests.NavTest.test_invalid_children_config_int)\", \"test_context_base_url_homepage_use_directory_urls (mkdocs.tests.build_tests.BuildTests.test_context_base_url_homepage_use_directory_urls)\", \"test_parse_locale_bad_format_sep (mkdocs.tests.utils.babel_stub_tests.BabelStubTests.test_parse_locale_bad_format_sep)\", \"test_invalid_type_int (mkdocs.tests.config.config_options_legacy_tests.NavTest.test_invalid_type_int)\", \"test_theme_invalid_type (mkdocs.tests.config.config_options_tests.ThemeTest.test_theme_invalid_type)\", \"test_serves_from_mount_path (mkdocs.tests.livereload_tests.BuildTests.test_serves_from_mount_path)\", \"test_copying_media (mkdocs.tests.build_tests.BuildTests.test_copying_media)\", \"test_context_base_url_absolute_no_page (mkdocs.tests.build_tests.BuildTests.test_context_base_url_absolute_no_page)\", \"test_configkey (mkdocs.tests.config.config_options_legacy_tests.MarkdownExtensionsTest.test_configkey)\", \"test_nested_ungrouped_nav_no_titles (mkdocs.tests.structure.nav_tests.SiteNavigationTests.test_nested_ungrouped_nav_no_titles)\", \"test_no_translations_found (mkdocs.tests.localization_tests.LocalizationTests.test_no_translations_found)\", \"test_serve_use_directory_urls (mkdocs.tests.cli_tests.CLITests.test_serve_use_directory_urls)\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"test_md_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_index_file_use_directory_urls)\", \"test_relative_html_link_parent_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_parent_index)\", \"test_get_relative_url_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_get_relative_url_use_directory_urls)\", \"test_relative_html_link_index (mkdocs.tests.structure.page_tests.RelativePathExtensionTests.test_relative_html_link_index)\", \"test_md_readme_index_file_use_directory_urls (mkdocs.tests.structure.file_tests.TestFiles.test_md_readme_index_file_use_directory_urls)\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [], \"pre_install\": [\"tee pyproject.toml <=3.7\\\"\\ndependencies = [\\n \\\"click >=7.0\\\",\\n \\\"Jinja2 >=2.11.1\\\",\\n \\\"markupsafe >=2.0.1\\\",\\n \\\"Markdown >=3.2.1\\\",\\n \\\"PyYAML >=5.1\\\",\\n \\\"watchdog >=2.0\\\",\\n \\\"ghp-import >=1.0\\\",\\n \\\"pyyaml_env_tag >=0.1\\\",\\n \\\"importlib-metadata >=4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions >=3.10; python_version < '3.8'\\\",\\n \\\"packaging >=20.5\\\",\\n \\\"mergedeep >=1.3.4\\\",\\n \\\"pathspec >=0.11.1\\\",\\n \\\"platformdirs >=2.2.0\\\",\\n \\\"colorama >=0.4; platform_system == 'Windows'\\\",\\n]\\n[project.optional-dependencies]\\ni18n = [\\n \\\"babel >=2.9.0\\\",\\n]\\nmin-versions = [\\n \\\"click ==7.0\\\",\\n \\\"Jinja2 ==2.11.1\\\",\\n \\\"markupsafe ==2.0.1\\\",\\n \\\"Markdown ==3.2.1\\\",\\n \\\"PyYAML ==5.1\\\",\\n \\\"watchdog ==2.0\\\",\\n \\\"ghp-import ==1.0\\\",\\n \\\"pyyaml_env_tag ==0.1\\\",\\n \\\"importlib-metadata ==4.3; python_version < '3.10'\\\",\\n \\\"typing-extensions ==3.10; python_version < '3.8'\\\",\\n \\\"packaging ==20.5\\\",\\n \\\"mergedeep ==1.3.4\\\",\\n \\\"pathspec ==0.11.1\\\",\\n \\\"platformdirs ==2.2.0\\\",\\n \\\"colorama ==0.4; platform_system == 'Windows'\\\",\\n \\\"babel ==2.9.0\\\",\\n]\\n\\n[project.urls]\\nDocumentation = \\\"https://www.mkdocs.org/\\\"\\nSource = \\\"https://github.com/mkdocs/mkdocs\\\"\\nIssues = \\\"https://github.com/mkdocs/mkdocs/issues\\\"\\nHistory = \\\"https://www.mkdocs.org/about/release-notes/\\\"\\n\\n[project.scripts]\\nmkdocs = \\\"mkdocs.__main__:cli\\\"\\n\\n[project.entry-points.\\\"mkdocs.themes\\\"]\\nmkdocs = \\\"mkdocs.themes.mkdocs\\\"\\nreadthedocs = \\\"mkdocs.themes.readthedocs\\\"\\n\\n[project.entry-points.\\\"mkdocs.plugins\\\"]\\nsearch = \\\"mkdocs.contrib.search:SearchPlugin\\\"\\n\\n[tool.hatch.version]\\npath = \\\"mkdocs/__init__.py\\\"\\n\\n[tool.hatch.build]\\nartifacts = [\\\"/mkdocs/**/*.mo\\\"]\\n[tool.hatch.build.targets.sdist]\\ninclude = [\\\"/mkdocs\\\"]\\n[tool.hatch.build.targets.wheel]\\nexclude = [\\\"/mkdocs/tests/integration\\\", \\\"*.po\\\", \\\"*.pot\\\", \\\"babel.cfg\\\"]\\n[tool.hatch.build.hooks.custom]\\ndependencies = [\\n \\\"babel\\\",\\n]\\n\\n[tool.hatch.envs.default.scripts]\\nall = [\\n \\\"hatch run style:check\\\",\\n \\\"hatch run types:check\\\",\\n \\\"hatch run test:test\\\",\\n \\\"hatch run lint:check\\\",\\n \\\"hatch run +type=default integration:test\\\",\\n]\\n\\n[tool.hatch.envs.test]\\nfeatures = [\\\"i18n\\\"]\\ndependencies = [\\n \\\"coverage\\\",\\n]\\n[tool.hatch.envs.test.scripts]\\ntest = \\\"coverage run --source=mkdocs --omit 'mkdocs/tests/*' -m unittest discover -v -p '*tests.py' mkdocs --top-level-directory .\\\"\\n_coverage = [\\\"test\\\", \\\"coverage xml\\\", \\\"coverage report --show-missing\\\"]\\nwith-coverage = \\\"test\\\"\\n[[tool.hatch.envs.test.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"min-req\\\"]\\n[tool.hatch.envs.test.overrides]\\nmatrix.type.features = [\\n { value = \\\"min-versions\\\", if = [\\\"min-req\\\"] },\\n]\\nmatrix.type.scripts = [\\n { key = \\\"with-coverage\\\", value = \\\"_coverage\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.integration]\\ntemplate = \\\"docs\\\"\\n[tool.hatch.envs.integration.scripts]\\ntest = \\\"python -m mkdocs.tests.integration\\\"\\n[[tool.hatch.envs.integration.matrix]]\\npython = [\\\"3.7\\\", \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"pypy3\\\"]\\ntype = [\\\"default\\\", \\\"no-babel\\\"]\\n[tool.hatch.envs.integration.overrides]\\nmatrix.type.features = [\\n { value = \\\"i18n\\\", if = [\\\"default\\\"] },\\n]\\n\\n[tool.hatch.envs.types]\\ndependencies = [\\n \\\"mypy\\\",\\n \\\"types-Jinja2\\\",\\n \\\"types-Markdown\\\",\\n \\\"types-PyYAML\\\",\\n \\\"types-setuptools\\\",\\n \\\"typing-extensions\\\",\\n]\\n[tool.hatch.envs.types.scripts]\\ncheck = \\\"mypy mkdocs\\\"\\n\\n[tool.hatch.envs.style]\\ndetached = true\\ndependencies = [\\n \\\"black\\\",\\n \\\"isort\\\",\\n \\\"ruff\\\",\\n]\\n[tool.hatch.envs.style.scripts]\\ncheck = [\\n \\\"isort --check-only --diff mkdocs docs\\\",\\n \\\"black -q --check --diff mkdocs docs\\\",\\n \\\"lint\\\",\\n]\\nlint = [\\n \\\"ruff check mkdocs docs\\\"\\n]\\nfix = [\\n \\\"ruff check --fix mkdocs docs\\\",\\n \\\"format\\\",\\n]\\nformat = [\\n \\\"isort -q mkdocs docs\\\",\\n \\\"black -q mkdocs docs\\\",\\n]\\n\\n[tool.hatch.envs.lint]\\ndetached = true\\ndependencies = [\\n \\\"codespell\\\",\\n]\\n[tool.hatch.envs.lint.scripts]\\nspelling = \\\"codespell mkdocs docs *.* -S LC_MESSAGES -S '*.min.js' -S 'lunr*.js' -S fontawesome-webfont.svg -S tinyseg.js\\\"\\nmarkdown = \\\"npm exec --yes -- markdownlint-cli README.md CONTRIBUTING.md docs/ --ignore docs/CNAME\\\"\\njs = \\\"npm exec --yes -- jshint mkdocs/\\\"\\ncss = \\\"npm exec --yes -- csslint --quiet mkdocs/\\\"\\ncheck = [\\\"markdown\\\", \\\"js\\\", \\\"css\\\", \\\"spelling\\\"]\\n\\n[tool.hatch.envs.docs]\\ndependencies = [\\n \\\"Markdown >=3.3.3\\\",\\n \\\"mdx_gh_links >=0.2\\\",\\n \\\"markdown-callouts >=0.3.0\\\",\\n \\\"mkdocs-literate-nav >=0.5.0\\\",\\n \\\"mkdocs-redirects >=1.0.1\\\",\\n \\\"pymdown-extensions >=8.0.1\\\",\\n \\\"mkdocstrings-python >=0.7.1\\\",\\n \\\"mkdocs-click >=0.8.0\\\",\\n]\\n\\n[tool.black]\\nline-length = 100\\ntarget-version = [\\\"py37\\\"] # 3.7\\nskip-string-normalization = true\\n\\n[tool.isort]\\nprofile = \\\"black\\\"\\nline_length = 100\\n\\n[tool.ruff]\\nselect = [\\n \\\"F\\\", \\\"W\\\", \\\"E\\\", \\\"UP\\\", \\\"YTT\\\", \\\"C4\\\", \\\"FA\\\", \\\"PIE\\\", \\\"T20\\\", \\\"RSE\\\", \\\"TCH\\\", \\\"DTZ\\\",\\n \\\"B002\\\", \\\"B003\\\", \\\"B005\\\", \\\"B007\\\", \\\"B009\\\", \\\"B012\\\", \\\"B013\\\", \\\"B014\\\", \\\"B015\\\", \\\"B018\\\", \\\"B020\\\", \\\"B021\\\", \\\"B023\\\", \\\"B026\\\", \\\"B033\\\", \\\"B034\\\", \\\"B905\\\",\\n \\\"COM818\\\",\\n \\\"PERF101\\\",\\n \\\"PGH002\\\", \\\"PGH004\\\", \\\"PGH005\\\",\\n \\\"PLE\\\", \\\"PLW0120\\\", \\\"PLW0127\\\",\\n \\\"RUF001\\\", \\\"RUF007\\\", \\\"RUF010\\\", \\\"RUF100\\\", \\\"RUF200\\\",\\n \\\"SIM101\\\", \\\"SIM107\\\", \\\"SIM201\\\", \\\"SIM202\\\", \\\"SIM208\\\", \\\"SIM210\\\", \\\"SIM211\\\", \\\"SIM300\\\", \\\"SIM401\\\", \\\"SIM910\\\",\\n]\\nignore = [\\\"E501\\\", \\\"E731\\\"]\\n\\n[tool.ruff.flake8-comprehensions]\\nallow-dict-calls-with-keyword-arguments = true\\n\\n[tool.mypy]\\nignore_missing_imports = true\\nwarn_unreachable = true\\nno_implicit_optional = true\\nshow_error_codes = true\\n\\nEOF_1234810234\"], \"python\": \"3.11\", \"pip_packages\": [\"anyio==3.6.2\", \"certifi==2022.9.24\", \"cffi==1.15.1\", \"click==8.1.3\", \"commonmark==0.9.1\", \"cryptography==38.0.1\", \"distlib==0.3.6\", \"editables==0.3\", \"filelock==3.8.0\", \"h11==0.12.0\", \"hatch==1.6.3\", \"hatchling==1.11.1\", \"httpcore==0.15.0\", \"httpx==0.23.0\", \"hyperlink==21.0.0\", \"idna==3.4\", \"jaraco-classes==3.2.3\", \"jeepney==0.8.0\", \"keyring==23.9.3\", \"more-itertools==9.0.0\", \"packaging==21.3\", \"pathspec==0.10.1\", \"pexpect==4.8.0\", \"platformdirs==2.5.2\", \"pluggy==1.0.0\", \"ptyprocess==0.7.0\", \"pycparser==2.21\", \"pygments==2.13.0\", \"pyparsing==3.0.9\", \"pyperclip==1.8.2\", \"rfc3986==1.5.0\", \"rich==12.6.0\", \"secretstorage==3.3.3\", \"setuptools==75.1.0\", \"shellingham==1.4.0\", \"sniffio==1.3.0\", \"tomli-w==1.0.0\", \"tomlkit==0.11.6\", \"userpath==1.8.0\", \"virtualenv==20.16.6\", \"wheel==0.44.0\"]}"},"test_framework":{"kind":"null"},"test_commands":{"kind":"string","value":"[\"hatch run +py=3.11 test:with-coverage\"]"},"version":{"kind":"null"},"environment_setup_commit":{"kind":"null"},"docker_image_root":{"kind":"string","value":"swa-bench:sw.eval"}}},{"rowIdx":147,"cells":{"repo":{"kind":"string","value":"pallets/click"},"instance_id":{"kind":"string","value":"pallets__click-2271"},"base_commit":{"kind":"string","value":"fde47b4b4f978f179b9dff34583cb2b99021f482"},"patch":{"kind":"string","value":"diff --git a/CHANGES.rst b/CHANGES.rst\nindex aedea8894..a90ff58f1 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -79,6 +79,16 @@ Unreleased\n allows the user to search for future output of the generator when\n using less and then aborting the program using ctrl-c.\n \n+- ``deprecated: bool | str`` can now be used on options and arguments. This\n+ previously was only available for ``Command``. The message can now also be\n+ customised by using a ``str`` instead of a ``bool``. :issue:`2263` :pr:`2271`\n+\n+ - ``Command.deprecated`` formatting in ``--help`` changed from\n+ ``(Deprecated) help`` to ``help (DEPRECATED)``.\n+ - Parameters cannot be required nor prompted or an error is raised.\n+ - A warning will be printed when something deprecated is used.\n+\n+\n Version 8.1.8\n -------------\n \ndiff --git a/src/click/core.py b/src/click/core.py\nindex abe9fa9bb..1c1a46714 100644\n--- a/src/click/core.py\n+++ b/src/click/core.py\n@@ -856,12 +856,15 @@ class Command:\n If enabled this will add ``--help`` as argument\n if no arguments are passed\n :param hidden: hide this command from help outputs.\n-\n- :param deprecated: issues a message indicating that\n- the command is deprecated.\n+ :param deprecated: If ``True`` or non-empty string, issues a message\n+ indicating that the command is deprecated and highlights\n+ its deprecation in --help. The message can be customized\n+ by using a string as the value.\n \n .. versionchanged:: 8.2\n This is the base class for all commands, not ``BaseCommand``.\n+ ``deprecated`` can be set to a string as well to customize the\n+ deprecation message.\n \n .. versionchanged:: 8.1\n ``help``, ``epilog``, and ``short_help`` are stored unprocessed,\n@@ -905,7 +908,7 @@ def __init__(\n add_help_option: bool = True,\n no_args_is_help: bool = False,\n hidden: bool = False,\n- deprecated: bool = False,\n+ deprecated: bool | str = False,\n ) -> None:\n #: the name the command thinks it has. Upon registering a command\n #: on a :class:`Group` the group will default the command name\n@@ -1059,7 +1062,14 @@ def get_short_help_str(self, limit: int = 45) -> str:\n text = \"\"\n \n if self.deprecated:\n- text = _(\"(Deprecated) {text}\").format(text=text)\n+ deprecated_message = (\n+ f\"(DEPRECATED: {self.deprecated})\"\n+ if isinstance(self.deprecated, str)\n+ else \"(DEPRECATED)\"\n+ )\n+ text = _(\"{text} {deprecated_message}\").format(\n+ text=text, deprecated_message=deprecated_message\n+ )\n \n return text.strip()\n \n@@ -1089,7 +1099,14 @@ def format_help_text(self, ctx: Context, formatter: HelpFormatter) -> None:\n text = \"\"\n \n if self.deprecated:\n- text = _(\"(Deprecated) {text}\").format(text=text)\n+ deprecated_message = (\n+ f\"(DEPRECATED: {self.deprecated})\"\n+ if isinstance(self.deprecated, str)\n+ else \"(DEPRECATED)\"\n+ )\n+ text = _(\"{text} {deprecated_message}\").format(\n+ text=text, deprecated_message=deprecated_message\n+ )\n \n if text:\n formatter.write_paragraph()\n@@ -1183,9 +1200,13 @@ def invoke(self, ctx: Context) -> t.Any:\n in the right way.\n \"\"\"\n if self.deprecated:\n+ extra_message = (\n+ f\" {self.deprecated}\" if isinstance(self.deprecated, str) else \"\"\n+ )\n message = _(\n \"DeprecationWarning: The command {name!r} is deprecated.\"\n- ).format(name=self.name)\n+ \"{extra_message}\"\n+ ).format(name=self.name, extra_message=extra_message)\n echo(style(message, fg=\"red\"), err=True)\n \n if self.callback is not None:\n@@ -1988,6 +2009,18 @@ class Parameter:\n given. Takes ``ctx, param, incomplete`` and must return a list\n of :class:`~click.shell_completion.CompletionItem` or a list of\n strings.\n+ :param deprecated: If ``True`` or non-empty string, issues a message\n+ indicating that the argument is deprecated and highlights\n+ its deprecation in --help. The message can be customized\n+ by using a string as the value. A deprecated parameter\n+ cannot be required, a ValueError will be raised otherwise.\n+\n+ .. versionchanged:: 8.2.0\n+ Introduction of ``deprecated``.\n+\n+ .. versionchanged:: 8.2\n+ Adding duplicate parameter names to a :class:`~click.core.Command` will\n+ result in a ``UserWarning`` being shown.\n \n .. versionchanged:: 8.2\n Adding duplicate parameter names to a :class:`~click.core.Command` will\n@@ -2044,6 +2077,7 @@ def __init__(\n [Context, Parameter, str], list[CompletionItem] | list[str]\n ]\n | None = None,\n+ deprecated: bool | str = False,\n ) -> None:\n self.name: str | None\n self.opts: list[str]\n@@ -2071,6 +2105,7 @@ def __init__(\n self.metavar = metavar\n self.envvar = envvar\n self._custom_shell_complete = shell_complete\n+ self.deprecated = deprecated\n \n if __debug__:\n if self.type.is_composite and nargs != self.type.arity:\n@@ -2113,6 +2148,13 @@ def __init__(\n f\"'default' {subject} must match nargs={nargs}.\"\n )\n \n+ if required and deprecated:\n+ raise ValueError(\n+ f\"The {self.param_type_name} '{self.human_readable_name}' \"\n+ \"is deprecated and still required. A deprecated \"\n+ f\"{self.param_type_name} cannot be required.\"\n+ )\n+\n def to_info_dict(self) -> dict[str, t.Any]:\n \"\"\"Gather information that could be useful for a tool generating\n user-facing documentation.\n@@ -2332,6 +2374,29 @@ def handle_parse_result(\n ) -> tuple[t.Any, list[str]]:\n with augment_usage_errors(ctx, param=self):\n value, source = self.consume_value(ctx, opts)\n+\n+ if (\n+ self.deprecated\n+ and value is not None\n+ and source\n+ not in (\n+ ParameterSource.DEFAULT,\n+ ParameterSource.DEFAULT_MAP,\n+ )\n+ ):\n+ extra_message = (\n+ f\" {self.deprecated}\" if isinstance(self.deprecated, str) else \"\"\n+ )\n+ message = _(\n+ \"DeprecationWarning: The {param_type} {name!r} is deprecated.\"\n+ \"{extra_message}\"\n+ ).format(\n+ param_type=self.param_type_name,\n+ name=self.human_readable_name,\n+ extra_message=extra_message,\n+ )\n+ echo(style(message, fg=\"red\"), err=True)\n+\n ctx.set_parameter_source(self.name, source) # type: ignore\n \n try:\n@@ -2402,7 +2467,8 @@ class Option(Parameter):\n Normally, environment variables are not shown.\n :param prompt: If set to ``True`` or a non empty string then the\n user will be prompted for input. If set to ``True`` the prompt\n- will be the option name capitalized.\n+ will be the option name capitalized. A deprecated option cannot be\n+ prompted.\n :param confirmation_prompt: Prompt a second time to confirm the\n value if it was prompted for. Can be set to a string instead of\n ``True`` to customize the message.\n@@ -2469,13 +2535,16 @@ def __init__(\n hidden: bool = False,\n show_choices: bool = True,\n show_envvar: bool = False,\n+ deprecated: bool | str = False,\n **attrs: t.Any,\n ) -> None:\n if help:\n help = inspect.cleandoc(help)\n \n default_is_missing = \"default\" not in attrs\n- super().__init__(param_decls, type=type, multiple=multiple, **attrs)\n+ super().__init__(\n+ param_decls, type=type, multiple=multiple, deprecated=deprecated, **attrs\n+ )\n \n if prompt is True:\n if self.name is None:\n@@ -2487,6 +2556,14 @@ def __init__(\n else:\n prompt_text = prompt\n \n+ if deprecated:\n+ deprecated_message = (\n+ f\"(DEPRECATED: {deprecated})\"\n+ if isinstance(deprecated, str)\n+ else \"(DEPRECATED)\"\n+ )\n+ help = help + deprecated_message if help is not None else deprecated_message\n+\n self.prompt = prompt_text\n self.confirmation_prompt = confirmation_prompt\n self.prompt_required = prompt_required\n@@ -2548,6 +2625,9 @@ def __init__(\n self.show_envvar = show_envvar\n \n if __debug__:\n+ if deprecated and prompt:\n+ raise ValueError(\"`deprecated` options cannot use `prompt`.\")\n+\n if self.nargs == -1:\n raise TypeError(\"nargs=-1 is not supported for options.\")\n \n@@ -2983,6 +3063,8 @@ def make_metavar(self) -> str:\n var = self.type.get_metavar(self)\n if not var:\n var = self.name.upper() # type: ignore\n+ if self.deprecated:\n+ var += \"!\"\n if not self.required:\n var = f\"[{var}]\"\n if self.nargs != 1:\n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_arguments.py b/tests/test_arguments.py\nindex 5dc56a468..8c1ff0064 100644\n--- a/tests/test_arguments.py\n+++ b/tests/test_arguments.py\n@@ -275,6 +275,44 @@ def cli(f):\n assert result.output == \"test\\n\"\n \n \n+def test_deprecated_usage(runner):\n+ @click.command()\n+ @click.argument(\"f\", required=False, deprecated=True)\n+ def cli(f):\n+ click.echo(f)\n+\n+ result = runner.invoke(cli, [\"--help\"])\n+ assert result.exit_code == 0, result.output\n+ assert \"[F!]\" in result.output\n+\n+\n+@pytest.mark.parametrize(\"deprecated\", [True, \"USE B INSTEAD\"])\n+def test_deprecated_warning(runner, deprecated):\n+ @click.command()\n+ @click.argument(\n+ \"my-argument\", required=False, deprecated=deprecated, default=\"default argument\"\n+ )\n+ def cli(my_argument: str):\n+ click.echo(f\"{my_argument}\")\n+\n+ # defaults should not give a deprecated warning\n+ result = runner.invoke(cli, [])\n+ assert result.exit_code == 0, result.output\n+ assert \"is deprecated\" not in result.output\n+\n+ result = runner.invoke(cli, [\"hello\"])\n+ assert result.exit_code == 0, result.output\n+ assert \"argument 'MY_ARGUMENT' is deprecated\" in result.output\n+\n+ if isinstance(deprecated, str):\n+ assert deprecated in result.output\n+\n+\n+def test_deprecated_required(runner):\n+ with pytest.raises(ValueError, match=\"is deprecated and still required\"):\n+ click.Argument([\"a\"], required=True, deprecated=True)\n+\n+\n def test_eat_options(runner):\n @click.command()\n @click.option(\"-f\")\ndiff --git a/tests/test_commands.py b/tests/test_commands.py\nindex 02c4a3043..eb8df85f9 100644\n--- a/tests/test_commands.py\n+++ b/tests/test_commands.py\n@@ -318,23 +318,31 @@ def cli(verbose, args):\n \n \n @pytest.mark.parametrize(\"doc\", [\"CLI HELP\", None])\n-def test_deprecated_in_help_messages(runner, doc):\n- @click.command(deprecated=True, help=doc)\n+@pytest.mark.parametrize(\"deprecated\", [True, \"USE OTHER COMMAND INSTEAD\"])\n+def test_deprecated_in_help_messages(runner, doc, deprecated):\n+ @click.command(deprecated=deprecated, help=doc)\n def cli():\n pass\n \n result = runner.invoke(cli, [\"--help\"])\n- assert \"(Deprecated)\" in result.output\n+ assert \"(DEPRECATED\" in result.output\n \n+ if isinstance(deprecated, str):\n+ assert deprecated in result.output\n \n-def test_deprecated_in_invocation(runner):\n- @click.command(deprecated=True)\n+\n+@pytest.mark.parametrize(\"deprecated\", [True, \"USE OTHER COMMAND INSTEAD\"])\n+def test_deprecated_in_invocation(runner, deprecated):\n+ @click.command(deprecated=deprecated)\n def deprecated_cmd():\n pass\n \n result = runner.invoke(deprecated_cmd)\n assert \"DeprecationWarning:\" in result.output\n \n+ if isinstance(deprecated, str):\n+ assert deprecated in result.output\n+\n \n def test_command_parse_args_collects_option_prefixes():\n @click.command()\ndiff --git a/tests/test_options.py b/tests/test_options.py\nindex 2a3b69287..b7267c182 100644\n--- a/tests/test_options.py\n+++ b/tests/test_options.py\n@@ -33,6 +33,52 @@ def test_invalid_option(runner):\n assert \"'--foo'\" in message\n \n \n+@pytest.mark.parametrize(\"deprecated\", [True, \"USE B INSTEAD\"])\n+def test_deprecated_usage(runner, deprecated):\n+ @click.command()\n+ @click.option(\"--foo\", default=\"bar\", deprecated=deprecated)\n+ def cmd(foo):\n+ click.echo(foo)\n+\n+ result = runner.invoke(cmd, [\"--help\"])\n+ assert \"(DEPRECATED\" in result.output\n+\n+ if isinstance(deprecated, str):\n+ assert deprecated in result.output\n+\n+\n+@pytest.mark.parametrize(\"deprecated\", [True, \"USE B INSTEAD\"])\n+def test_deprecated_warning(runner, deprecated):\n+ @click.command()\n+ @click.option(\n+ \"--my-option\", required=False, deprecated=deprecated, default=\"default option\"\n+ )\n+ def cli(my_option: str):\n+ click.echo(f\"{my_option}\")\n+\n+ # defaults should not give a deprecated warning\n+ result = runner.invoke(cli, [])\n+ assert result.exit_code == 0, result.output\n+ assert \"is deprecated\" not in result.output\n+\n+ result = runner.invoke(cli, [\"--my-option\", \"hello\"])\n+ assert result.exit_code == 0, result.output\n+ assert \"option 'my_option' is deprecated\" in result.output\n+\n+ if isinstance(deprecated, str):\n+ assert deprecated in result.output\n+\n+\n+def test_deprecated_required(runner):\n+ with pytest.raises(ValueError, match=\"is deprecated and still required\"):\n+ click.Option([\"--a\"], required=True, deprecated=True)\n+\n+\n+def test_deprecated_prompt(runner):\n+ with pytest.raises(ValueError, match=\"`deprecated` options cannot use `prompt`\"):\n+ click.Option([\"--a\"], prompt=True, deprecated=True)\n+\n+\n def test_invalid_nargs(runner):\n with pytest.raises(TypeError, match=\"nargs=-1\"):\n \n"},"problem_statement":{"kind":"string","value":"Mark parameter as deprecated\nThanks for this great project!\r\nPerhaps it's just me who feels that it is rather cumbersome mark a single parameter as deprecated (the closet I found was https://stackoverflow.com/a/50402799). Is there perhaps a more official method to mark a single parameter as deprecated?\r\nThat would somewhat be similar to https://github.com/pallets/click/issues/1507.\r\n\r\nPossible scenarios:\r\n- the parameter was renamed (e.g. a previous version was using `--name` as option, but now a dev want's to make sure it's the `--sur-name`.\r\n- the parameter is not needed anymore\r\n\r\nPerhaps as an example consider:\r\n```\r\nimport click\r\n\r\n@click.command()\r\n@click.option('--count', default=1, help='Number of greetings.')\r\n@click.option('--name', prompt='Your name',\r\n help='The person to greet.')\r\ndef hello(count, name):\r\n \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\r\n for x in range(count):\r\n click.echo(f\"Hello {name}!\")\r\n\r\nif __name__ == '__main__':\r\n hello()\r\n```\r\nand I want to rename `--count` to `--greetings-count`.\r\nHowever I don't want to remove `--count` instantly, instead when users use `--count` prompt a message that they should use the new `--greetings-count`. The usage of `--count` and `--greetings-count` should be forbidden.\r\n\r\nThanks.\n"},"hints_text":{"kind":"string","value":"I'll work on this\n@davidism I just implemented to show the message with `--help`.\r\nIs it better to show same message running without `--help`?"},"created_at":{"kind":"string","value":"2022-05-02T21:09:55Z"},"merged_at":{"kind":"string","value":"2024-11-29T00:31:31Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_commands.py::test_other_command_invoke_with_defaults\", \"tests/test_arguments.py::test_nargs_envvar[-1-a b c-expect4]\", \"tests/test_arguments.py::test_duplicate_names_warning[args_one0-args_two0]\", \"tests/test_commands.py::test_group_with_args[args3-2-Show this message and exit.]\", \"tests/test_options.py::test_show_default_precedence[False-one-extra_value9-True]\", \"tests/test_options.py::test_do_not_show_default_empty_multiple\", \"tests/test_commands.py::test_other_command_forward\", \"tests/test_options.py::test_flag_duplicate_names\", \"tests/test_commands.py::test_object_propagation\", \"tests/test_commands.py::test_group_add_command_name\", \"tests/test_options.py::test_empty_envvar[AUTO_MYPATH]\", \"tests/test_arguments.py::test_nargs_envvar[2-a-Takes 2 values but 1 was given.]\", \"tests/test_commands.py::test_group_with_args[args1-0-Show this message and exit.]\", \"tests/test_options.py::test_show_true_default_boolean_flag_value\", \"tests/test_arguments.py::test_subcommand_help\", \"tests/test_options.py::test_prefixes\", \"tests/test_commands.py::test_default_maps\", \"tests/test_options.py::test_show_default_precedence[False-None-extra_value3-False]\", \"tests/test_arguments.py::test_when_argument_decorator_is_used_multiple_times_cls_is_preserved\", \"tests/test_commands.py::test_group_parse_args_collects_base_option_prefixes\", \"tests/test_options.py::test_intrange_default_help_text[type2-x>=1]\", \"tests/test_arguments.py::test_file_args\", \"tests/test_arguments.py::test_missing_arg\", \"tests/test_options.py::test_show_default_string\", \"tests/test_options.py::test_unknown_options[--foo]\", \"tests/test_commands.py::test_aliased_command_canonical_name\", \"tests/test_arguments.py::test_eat_options\", \"tests/test_arguments.py::test_nargs_star\", \"tests/test_options.py::test_invalid_option\", \"tests/test_arguments.py::test_nargs_envvar_only_if_values_empty\", \"tests/test_options.py::test_invalid_flag_combinations[kwargs1-'count' is not valid with 'is_flag'.]\", \"tests/test_arguments.py::test_nargs_bad_default[value0]\", \"tests/test_commands.py::test_group_with_args[args0-2-Error: Missing command.]\", \"tests/test_arguments.py::test_multiple_param_decls_not_allowed\", \"tests/test_options.py::test_show_envvar\", \"tests/test_arguments.py::test_file_atomics\", \"tests/test_arguments.py::test_nargs_envvar[2--None]\", \"tests/test_options.py::test_init_good_default_list[True-1-default0]\", \"tests/test_options.py::test_show_default_precedence[False-True-extra_value5-True]\", \"tests/test_options.py::test_option_with_optional_value[None-expect0]\", \"tests/test_options.py::test_init_bad_default_list[False-2-default1]\", \"tests/test_options.py::test_multiple_envvar\", \"tests/test_arguments.py::test_nargs_err\", \"tests/test_options.py::test_usage_show_choices[text/int choices]\", \"tests/test_arguments.py::test_implicit_non_required\", \"tests/test_options.py::test_dynamic_default_help_text\", \"tests/test_arguments.py::test_nargs_tup_composite[opts2]\", \"tests/test_options.py::test_option_with_optional_value[args13-expect13]\", \"tests/test_options.py::test_trailing_blanks_boolean_envvar\", \"tests/test_options.py::test_option_with_optional_value[args6-expect6]\", \"tests/test_options.py::test_invalid_nargs\", \"tests/test_options.py::test_option_with_optional_value[args11-expect11]\", \"tests/test_commands.py::test_group_invoke_collects_used_option_prefixes\", \"tests/test_options.py::test_suggest_possible_options[--cat-Did you mean --count?]\", \"tests/test_arguments.py::test_stdout_default\", \"tests/test_options.py::test_unknown_options[-f]\", \"tests/test_options.py::test_multiple_option_with_optional_value\", \"tests/test_options.py::test_bool_flag_with_type\", \"tests/test_arguments.py::test_nargs_envvar[-1--expect5]\", \"tests/test_arguments.py::test_nargs_bad_default[value2]\", \"tests/test_options.py::test_option_with_optional_value[args4-expect4]\", \"tests/test_options.py::test_option_names[option_args1-first]\", \"tests/test_arguments.py::test_argument_unbounded_nargs_cant_have_default\", \"tests/test_options.py::test_show_default_precedence[None-None-extra_value0-False]\", \"tests/test_commands.py::test_abort_exceptions_with_disabled_standalone_mode[EOFError]\", \"tests/test_commands.py::test_auto_shorthelp\", \"tests/test_options.py::test_option_with_optional_value[args7-expect7]\", \"tests/test_arguments.py::test_nargs_tup_composite[opts3]\", \"tests/test_commands.py::test_unprocessed_options\", \"tests/test_arguments.py::test_empty_nargs\", \"tests/test_arguments.py::test_nargs_tup_composite[opts0]\", \"tests/test_options.py::test_aliases_for_flags\", \"tests/test_commands.py::test_command_parse_args_collects_option_prefixes\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[secondary option [implicit flag]]\", \"tests/test_arguments.py::test_nargs_specified_plus_star_ordering\", \"tests/test_options.py::test_multiple_required\", \"tests/test_options.py::test_show_default_default_map\", \"tests/test_options.py::test_invalid_flag_combinations[kwargs0-'count' is not valid with 'multiple'.]\", \"tests/test_commands.py::test_group_with_args[args2-0-obj=obj1\\\\nmove\\\\n]\", \"tests/test_arguments.py::test_nargs_envvar[2-a b c-Takes 2 values but 3 were given.]\", \"tests/test_commands.py::test_custom_parser\", \"tests/test_options.py::test_option_names[option_args4-a]\", \"tests/test_options.py::test_nargs_tup_composite_mult\", \"tests/test_options.py::test_suggest_possible_options[--bounds-(Possible options: --bound, --count)]\", \"tests/test_options.py::test_intrange_default_help_text[type0-1<=x<=32]\", \"tests/test_options.py::test_intrange_default_help_text[type3-x<=32]\", \"tests/test_options.py::test_nargs_envvar\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [None]]\", \"tests/test_options.py::test_option_help_preserve_paragraphs\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [True]]\", \"tests/test_options.py::test_count_default_type_help\", \"tests/test_options.py::test_legacy_options\", \"tests/test_options.py::test_option_names[option_args9-_ret]\", \"tests/test_options.py::test_show_envvar_auto_prefix\", \"tests/test_options.py::test_option_with_optional_value[args3-expect3]\", \"tests/test_options.py::test_show_default_precedence[None-True-extra_value2-True]\", \"tests/test_options.py::test_argument_custom_class\", \"tests/test_options.py::test_usage_show_choices[float choices]\", \"tests/test_options.py::test_duplicate_names_warning[opts_one0-opts_two0]\", \"tests/test_options.py::test_show_default_with_empty_string\", \"tests/test_options.py::test_dynamic_default_help_special_method\", \"tests/test_options.py::test_hide_false_default_boolean_flag_value[False]\", \"tests/test_options.py::test_suggest_possible_options[--bount-(Possible options: --bound, --count)]\", \"tests/test_options.py::test_missing_option_string_cast\", \"tests/test_options.py::test_toupper_envvar_prefix\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[is_flag=True]\", \"tests/test_arguments.py::test_defaults_for_nargs\", \"tests/test_options.py::test_winstyle_options\", \"tests/test_arguments.py::test_missing_argument_string_cast\", \"tests/test_options.py::test_missing_required_flag\", \"tests/test_options.py::test_case_insensitive_choice_returned_exactly\", \"tests/test_options.py::test_show_default_precedence[True-True-extra_value8-True]\", \"tests/test_options.py::test_usage_show_choices[bool choices]\", \"tests/test_options.py::test_dynamic_default_help_unset\", \"tests/test_options.py::test_option_names[option_args2-apple]\", \"tests/test_options.py::test_init_good_default_list[False-2-default2]\", \"tests/test_options.py::test_hide_false_default_boolean_flag_value[None]\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool flag_value]\", \"tests/test_commands.py::test_abort_exceptions_with_disabled_standalone_mode[KeyboardInterrupt]\", \"tests/test_options.py::test_callback_validates_prompt\", \"tests/test_commands.py::test_other_command_invoke\", \"tests/test_options.py::test_option_names[option_args8-_from]\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [False]]\", \"tests/test_options.py::test_multiple_default_composite_type\", \"tests/test_arguments.py::test_nargs_tup_composite[opts1]\", \"tests/test_arguments.py::test_envvar_flag_value\", \"tests/test_options.py::test_usage_show_choices[text choices]\", \"tests/test_options.py::test_option_with_optional_value[args2-expect2]\", \"tests/test_options.py::test_type_from_flag_value\", \"tests/test_options.py::test_case_insensitive_choice\", \"tests/test_options.py::test_init_good_default_list[True-2-default4]\", \"tests/test_options.py::test_intrange_default_help_text[type1-1 t.NoReturn:\n \"\"\"Exits the application with a given exit code.\n \n .. versionchanged:: 8.2\n- Force closing of callbacks registered with\n- :meth:`call_on_close` before exiting the CLI.\n+ Callbacks and context managers registered with :meth:`call_on_close`\n+ and :meth:`with_resource` are closed before exiting.\n \"\"\"\n self.close()\n raise Exit(code)\ndiff --git a/src/click/shell_completion.py b/src/click/shell_completion.py\nindex 6fd9e5422..c8655b12a 100644\n--- a/src/click/shell_completion.py\n+++ b/src/click/shell_completion.py\n@@ -544,44 +544,48 @@ def _resolve_context(\n :param args: List of complete args before the incomplete value.\n \"\"\"\n ctx_args[\"resilient_parsing\"] = True\n- ctx = cli.make_context(prog_name, args.copy(), **ctx_args)\n- args = ctx._protected_args + ctx.args\n+ with cli.make_context(prog_name, args.copy(), **ctx_args) as ctx:\n+ args = ctx._protected_args + ctx.args\n \n- while args:\n- command = ctx.command\n+ while args:\n+ command = ctx.command\n \n- if isinstance(command, Group):\n- if not command.chain:\n- name, cmd, args = command.resolve_command(ctx, args)\n-\n- if cmd is None:\n- return ctx\n-\n- ctx = cmd.make_context(name, args, parent=ctx, resilient_parsing=True)\n- args = ctx._protected_args + ctx.args\n- else:\n- sub_ctx = ctx\n-\n- while args:\n+ if isinstance(command, Group):\n+ if not command.chain:\n name, cmd, args = command.resolve_command(ctx, args)\n \n if cmd is None:\n return ctx\n \n- sub_ctx = cmd.make_context(\n- name,\n- args,\n- parent=ctx,\n- allow_extra_args=True,\n- allow_interspersed_args=False,\n- resilient_parsing=True,\n- )\n- args = sub_ctx.args\n-\n- ctx = sub_ctx\n- args = [*sub_ctx._protected_args, *sub_ctx.args]\n- else:\n- break\n+ with cmd.make_context(\n+ name, args, parent=ctx, resilient_parsing=True\n+ ) as sub_ctx:\n+ args = ctx._protected_args + ctx.args\n+ ctx = sub_ctx\n+ else:\n+ sub_ctx = ctx\n+\n+ while args:\n+ name, cmd, args = command.resolve_command(ctx, args)\n+\n+ if cmd is None:\n+ return ctx\n+\n+ with cmd.make_context(\n+ name,\n+ args,\n+ parent=ctx,\n+ allow_extra_args=True,\n+ allow_interspersed_args=False,\n+ resilient_parsing=True,\n+ ) as sub_sub_ctx:\n+ args = sub_ctx.args\n+ sub_ctx = sub_sub_ctx\n+\n+ ctx = sub_ctx\n+ args = [*sub_ctx._protected_args, *sub_ctx.args]\n+ else:\n+ break\n \n return ctx\n \n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_shell_completion.py b/tests/test_shell_completion.py\nindex 3e7a2bd7f..3511f0743 100644\n--- a/tests/test_shell_completion.py\n+++ b/tests/test_shell_completion.py\n@@ -1,3 +1,5 @@\n+import warnings\n+\n import pytest\n \n import click.shell_completion\n@@ -414,3 +416,27 @@ class MyshComplete(ShellComplete):\n # Using `add_completion_class` as a decorator adds the new shell immediately\n assert \"mysh\" in click.shell_completion._available_shells\n assert click.shell_completion._available_shells[\"mysh\"] is MyshComplete\n+\n+\n+# Don't make the ResourceWarning give an error\n+@pytest.mark.filterwarnings(\"default\")\n+def test_files_closed(runner) -> None:\n+ with runner.isolated_filesystem():\n+ config_file = \"foo.txt\"\n+ with open(config_file, \"w\") as f:\n+ f.write(\"bar\")\n+\n+ @click.group()\n+ @click.option(\n+ \"--config-file\",\n+ default=config_file,\n+ type=click.File(mode=\"r\"),\n+ )\n+ @click.pass_context\n+ def cli(ctx, config_file):\n+ pass\n+\n+ with warnings.catch_warnings(record=True) as current_warnings:\n+ assert not current_warnings, \"There should be no warnings to start\"\n+ _get_completions(cli, args=[], incomplete=\"\")\n+ assert not current_warnings, \"There should be no warnings after either\"\n"},"problem_statement":{"kind":"string","value":"Click doesn't close file options during shell completion\nClick doesn't close file options during shell completion, which causes a resource warning if a program uses a file option.\r\n\r\nFor example, I have group like this:\r\n\r\n```python\r\n@click.group()\r\n@click.option('--config_file',\r\n default=CONFIG,\r\n type=click.File(mode='r'),\r\n help='help')\r\n@click.pass_context\r\ndef cli(ctx, config_file: typing.TextIO):\r\n```\r\n\r\nand I get this warning:\r\n\r\n```\r\n/Users/grzesiek/Library/Caches/pypoetry/virtualenvs/findata-fetcher-3hK6JJJX-py3.12/lib/python3.12/site-packages/click/shell_completion.py:293: ResourceWarning: unclosed file <_io.TextIOWrapper name='/Users/grzesiek/.config/findata/fetcher.json' mode='r' encoding='UTF-8'>\r\n completions = self.get_completions(args, incomplete)\r\n```\r\n\r\n## Details\r\n\r\nI don't come with reproduction steps, but I can give something equally valuable, I can explain how this bug comes to be.\r\n\r\nThe issue stems from allocating a context in `core.py` outside of a `with` statement during shell completion. Here's a stack-trace of how that happens:\r\n\r\n```\r\n File \"/Users/grzesiek/.local/bin/findata-fetcher\", line 8, in \r\n sys.exit(main())\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/fetcher/tool.py\", line 576, in main\r\n cli(obj={})\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/core.py\", line 1171, in __call__\r\n return self.main(*args, **kwargs)\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/core.py\", line 1084, in main\r\n self._main_shell_completion(extra, prog_name, complete_var)\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/core.py\", line 1165, in _main_shell_completion\r\n rv = shell_complete(self, ctx_args, prog_name, complete_var,\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/shell_completion.py\", line 49, in shell_complete\r\n echo(comp.complete())\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/shell_completion.py\", line 296, in complete\r\n completions = self.get_completions(args, incomplete)\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/shell_completion.py\", line 273, in get_completions\r\n ctx = _resolve_context(self.cli, self.ctx_args, self.prog_name, args)\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/shell_completion.py\", line 513, in _resolve_context\r\n ctx = cli.make_context(prog_name, args.copy(), **ctx_args)\r\n File \"/Users/grzesiek/.local/pipx/venvs/findata-fetcher/lib/python3.12/site-packages/click/core.py\", line 952, in make_context\r\n with ctx.scope(cleanup=False):\r\n```\r\n\r\nThis context gets [returned](https://github.com/pallets/click/blob/ca5e1c3d75e95cbc70fa6ed51ef263592e9ac0d0/src/click/core.py#L1147C19-L1147C19) to `get_completions`, but `get_completions` or its caller never call the context's `__exit__` function. \r\n\r\nCalling the `__exit__` function is essential, because `types.File` depends on it for cleanup: https://github.com/pallets/click/blob/ca5e1c3d75e95cbc70fa6ed51ef263592e9ac0d0/src/click/types.py#L740.\r\n\r\n## Environment\r\n\r\n- Python version: 3.12\r\n- Click version: 8.1.7\r\n\n"},"hints_text":{"kind":"string","value":""},"created_at":{"kind":"string","value":"2024-11-03T13:31:59Z"},"merged_at":{"kind":"string","value":"2024-11-03T20:38:31Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_shell_completion.py::test_choice_conflicting_prefix\", \"tests/test_shell_completion.py::test_option_multiple\", \"tests/test_shell_completion.py::test_type_choice\", \"tests/test_shell_completion.py::test_full_source[zsh]\", \"tests/test_shell_completion.py::test_chained\", \"tests/test_shell_completion.py::test_full_source[fish]\", \"tests/test_shell_completion.py::test_full_complete[fish-env4-plain,a\\\\nplain,b\\\\tbee\\\\n]\", \"tests/test_shell_completion.py::test_option_count\", \"tests/test_shell_completion.py::test_full_complete[zsh-env2-plain\\\\na\\\\n_\\\\nplain\\\\nb\\\\nbee\\\\n]\", \"tests/test_shell_completion.py::test_argument_nargs\", \"tests/test_shell_completion.py::test_option_custom\", \"tests/test_shell_completion.py::test_completion_item_data\", \"tests/test_shell_completion.py::test_help_option\", \"tests/test_shell_completion.py::test_option_flag\", \"tests/test_shell_completion.py::test_add_completion_class_with_name\", \"tests/test_shell_completion.py::test_option_optional\", \"tests/test_shell_completion.py::test_absolute_path\", \"tests/test_shell_completion.py::test_full_complete[zsh-env3-plain\\\\nb\\\\nbee\\\\n]\", \"tests/test_shell_completion.py::test_add_different_name\", \"tests/test_shell_completion.py::test_group\", \"tests/test_shell_completion.py::test_choice_special_characters\", \"tests/test_shell_completion.py::test_argument_default\", \"tests/test_shell_completion.py::test_double_dash\", \"tests/test_shell_completion.py::test_choice_case_sensitive[False-expect0]\", \"tests/test_shell_completion.py::test_hidden\", \"tests/test_shell_completion.py::test_option_nargs\", \"tests/test_shell_completion.py::test_path_types[type0-file]\", \"tests/test_shell_completion.py::test_command\", \"tests/test_shell_completion.py::test_choice_case_sensitive[True-expect1]\", \"tests/test_shell_completion.py::test_full_complete[bash-env0-plain,a\\\\nplain,b\\\\n]\", \"tests/test_shell_completion.py::test_argument_order\", \"tests/test_shell_completion.py::test_add_completion_class\", \"tests/test_shell_completion.py::test_full_complete[fish-env5-plain,b\\\\tbee\\\\n]\", \"tests/test_shell_completion.py::test_full_complete[bash-env1-plain,b\\\\n]\", \"tests/test_shell_completion.py::test_path_types[type2-dir]\", \"tests/test_shell_completion.py::test_path_types[type1-file]\", \"tests/test_shell_completion.py::test_group_command_same_option\", \"tests/test_shell_completion.py::test_full_source[bash]\", \"tests/test_shell_completion.py::test_context_settings\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"tests/test_shell_completion.py::test_add_completion_class_decorator\", \"tests/test_shell_completion.py::test_files_closed\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [\"uv pip install -e .\", \"pre-commit install\"], \"pre_install\": [\"tee tox.ini < list[str]:\n if not args and self.no_args_is_help and not ctx.resilient_parsing:\n- echo(ctx.get_help(), color=ctx.color)\n- ctx.exit()\n+ raise NoArgsIsHelpError(ctx)\n \n parser = self.make_parser(ctx)\n opts, args, param_order = parser.parse_args(args=args)\n@@ -1747,8 +1747,7 @@ def format_commands(self, ctx: Context, formatter: HelpFormatter) -> None:\n \n def parse_args(self, ctx: Context, args: list[str]) -> list[str]:\n if not args and self.no_args_is_help and not ctx.resilient_parsing:\n- echo(ctx.get_help(), color=ctx.color)\n- ctx.exit()\n+ raise NoArgsIsHelpError(ctx)\n \n rest = super().parse_args(ctx, args)\n \n@@ -1851,7 +1850,7 @@ def resolve_command(\n # place.\n if cmd is None and not ctx.resilient_parsing:\n if _split_opt(cmd_name)[0]:\n- self.parse_args(ctx, ctx.args)\n+ self.parse_args(ctx, args)\n ctx.fail(_(\"No such command {name!r}.\").format(name=original_cmd_name))\n return cmd_name if cmd else None, cmd, args[1:]\n \ndiff --git a/src/click/exceptions.py b/src/click/exceptions.py\nindex c7ebe8187..27dd5e010 100644\n--- a/src/click/exceptions.py\n+++ b/src/click/exceptions.py\n@@ -255,6 +255,15 @@ class BadArgumentUsage(UsageError):\n \"\"\"\n \n \n+class NoArgsIsHelpError(UsageError):\n+ def __init__(self, ctx: Context) -> None:\n+ self.ctx: Context\n+ super().__init__(ctx.get_help(), ctx=ctx)\n+\n+ def show(self, file: t.IO[t.Any] | None = None) -> None:\n+ echo(self.format_message(), file=file, err=True, color=self.ctx.color)\n+\n+\n class FileError(ClickException):\n \"\"\"Raised if a file cannot be opened.\"\"\"\n \n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_commands.py b/tests/test_commands.py\nindex 5a56799ad..02c4a3043 100644\n--- a/tests/test_commands.py\n+++ b/tests/test_commands.py\n@@ -95,13 +95,9 @@ def long():\n )\n \n \n-def test_no_args_is_help(runner):\n- @click.command(no_args_is_help=True)\n- def cli():\n- pass\n-\n- result = runner.invoke(cli, [])\n- assert result.exit_code == 0\n+def test_command_no_args_is_help(runner):\n+ result = runner.invoke(click.Command(\"test\", no_args_is_help=True))\n+ assert result.exit_code == 2\n assert \"Show this message and exit.\" in result.output\n \n \n@@ -127,7 +123,7 @@ def foo(name):\n ([\"obj1\"], 2, \"Error: Missing command.\"),\n ([\"obj1\", \"--help\"], 0, \"Show this message and exit.\"),\n ([\"obj1\", \"move\"], 0, \"obj=obj1\\nmove\\n\"),\n- ([], 0, \"Show this message and exit.\"),\n+ ([], 2, \"Show this message and exit.\"),\n ],\n )\n def test_group_with_args(runner, args, exit_code, expect):\n"},"problem_statement":{"kind":"string","value":"Not specifying a group's command exits with code 0\nWhen a group is created with multiple commands, but the script is called without any commands, the exit code is 0. It looks like [this line](https://github.com/pallets/click/blob/466d0add86f48502db9c02c32e30287d39ab866b/click/core.py#L1028) just needs to be changed to have an exit code. But it's not clear if `ctx.fail()` should be used instead.\r\n\r\n### Example Code\r\n\r\n```python\r\nimport click\r\n\r\n@click.group()\r\ndef cli():\r\n print(\"in group\")\r\n\r\n@cli.command()\r\ndef foo():\r\n print(\"foo\")\r\n\r\n@cli.command()\r\ndef bar():\r\n print(\"bar\")\r\n\r\nif __name__ == \"__main__\":\r\n print(\"before group\")\r\n cli()\r\n```\r\n\r\n### Expected Behavior\r\n\r\nA non-zero exit code.\r\n\r\n### Actual Behavior\r\n\r\n```shell\r\n$ python click_poc.py \r\nbefore group\r\nUsage: click_poc.py [OPTIONS] COMMAND [ARGS]...\r\n\r\nOptions:\r\n --help Show this message and exit.\r\n\r\nCommands:\r\n bar\r\n foo\r\n$ echo $?\r\n0\r\n```\r\n\r\n### Environment\r\n\r\n* Python version: Python 3.8.0\r\n* Click version: Click==7.0\n"},"hints_text":{"kind":"string","value":""},"created_at":{"kind":"string","value":"2020-03-06T22:34:03Z"},"merged_at":{"kind":"string","value":"2024-11-03T19:56:42Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_commands.py::test_other_command_invoke_with_defaults\", \"tests/test_commands.py::test_group_invoke_collects_used_option_prefixes\", \"tests/test_commands.py::test_other_command_forward\", \"tests/test_commands.py::test_abort_exceptions_with_disabled_standalone_mode[EOFError]\", \"tests/test_commands.py::test_auto_shorthelp\", \"tests/test_commands.py::test_object_propagation\", \"tests/test_commands.py::test_group_add_command_name\", \"tests/test_commands.py::test_group_with_args[args1-0-Show this message and exit.]\", \"tests/test_commands.py::test_unprocessed_options\", \"tests/test_commands.py::test_deprecated_in_invocation\", \"tests/test_commands.py::test_default_maps\", \"tests/test_commands.py::test_group_parse_args_collects_base_option_prefixes\", \"tests/test_commands.py::test_command_parse_args_collects_option_prefixes\", \"tests/test_commands.py::test_aliased_command_canonical_name\", \"tests/test_commands.py::test_group_with_args[args2-0-obj=obj1\\\\nmove\\\\n]\", \"tests/test_commands.py::test_other_command_invoke\", \"tests/test_commands.py::test_custom_parser\", \"tests/test_commands.py::test_group_with_args[args0-2-Error: Missing command.]\", \"tests/test_commands.py::test_deprecated_in_help_messages[CLI HELP]\", \"tests/test_commands.py::test_deprecated_in_help_messages[None]\", \"tests/test_commands.py::test_forwarded_params_consistency\", \"tests/test_commands.py::test_invoked_subcommand\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"tests/test_commands.py::test_command_no_args_is_help\", \"tests/test_commands.py::test_abort_exceptions_with_disabled_standalone_mode[KeyboardInterrupt]\", \"tests/test_commands.py::test_group_with_args[args3-2-Show this message and exit.]\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [\"uv pip install -e .\", \"pre-commit install\"], \"pre_install\": [\"tee tox.ini < str:\n+ \"\"\"Get the error message when the given choice is invalid.\n+\n+ :param value: The invalid value.\n+\n+ .. versionadded:: 8.2\n+ \"\"\"\n choices_str = \", \".join(map(repr, self.choices))\n- self.fail(\n- ngettext(\n- \"{value!r} is not {choice}.\",\n- \"{value!r} is not one of {choices}.\",\n- len(self.choices),\n- ).format(value=value, choice=choices_str, choices=choices_str),\n- param,\n- ctx,\n- )\n+ return ngettext(\n+ \"{value!r} is not {choice}.\",\n+ \"{value!r} is not one of {choices}.\",\n+ len(self.choices),\n+ ).format(value=value, choice=choices_str, choices=choices_str)\n \n def __repr__(self) -> str:\n return f\"Choice({list(self.choices)})\"\n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_types.py b/tests/test_types.py\nindex 79068e189..667953a47 100644\n--- a/tests/test_types.py\n+++ b/tests/test_types.py\n@@ -244,3 +244,9 @@ def test_invalid_path_with_esc_sequence():\n click.Path(dir_okay=False).convert(tempdir, None, None)\n \n assert \"my\\\\ndir\" in exc_info.value.message\n+\n+\n+def test_choice_get_invalid_choice_message():\n+ choice = click.Choice([\"a\", \"b\", \"c\"])\n+ message = choice.get_invalid_choice_message(\"d\")\n+ assert message == \"'d' is not one of 'a', 'b', 'c'.\"\n"},"problem_statement":{"kind":"string","value":"Allow customizing fail message for invalid choice in `click.types.Choice`\nMove the fail art of `convert()` in the `Choice` class to a new method `get_invalid_choice_fail_message(self)` so in my subclass of `click.Choice` I can customize the way it shows the failing value for the choice\r\n\r\nSome CLI option choices are multi-part meaning they are separated by some value, like a comma separated list for example. Maybe each section of this value represents a different part of a schema and it is nice to show a custom message about the specific part.\r\n\r\nContrived version:\r\nLet says my choices are `[\"maine::goat\", \"maine::themepark\"]` and I give it \"maine::toast\"`, it'd be nice to say the `maine` part was correct and the `toast` part was not.\r\n\r\n\r\n\n"},"hints_text":{"kind":"string","value":""},"created_at":{"kind":"string","value":"2023-10-04T21:40:39Z"},"merged_at":{"kind":"string","value":"2024-11-03T14:54:03Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_types.py::test_cast_multi_default[2-False-default1-expect1]\", \"tests/test_types.py::test_path_type[Path-expect3]\", \"tests/test_types.py::test_file_error_surrogates\", \"tests/test_types.py::test_range_fail[type2-6-6 is not in the range x<=5.]\", \"tests/test_types.py::test_cast_multi_default[None-True-None-expect2]\", \"tests/test_types.py::test_range[type5--1-0]\", \"tests/test_types.py::test_range_fail[type4-5-0<=x<5]\", \"tests/test_types.py::test_range[type7-0-1]\", \"tests/test_types.py::test_path_type[str-a/b/c.txt]\", \"tests/test_types.py::test_range[type4--100--100]\", \"tests/test_types.py::test_cast_multi_default[None-True-default3-expect3]\", \"tests/test_types.py::test_range[type10-0.51-0.51]\", \"tests/test_types.py::test_range[type13-inf-1.5]\", \"tests/test_types.py::test_range_fail[type0-6-6 is not in the range 0<=x<=5.]\", \"tests/test_types.py::test_cast_multi_default[2-True-None-expect4]\", \"tests/test_types.py::test_path_type[bytes-a/b/c.txt]\", \"tests/test_types.py::test_range[type6-6-5]\", \"tests/test_types.py::test_file_surrogates[type1]\", \"tests/test_types.py::test_range[type11-1.49-1.49]\", \"tests/test_types.py::test_range[type9-1.2-1.2]\", \"tests/test_types.py::test_range_fail[type5-0.5-x>0.5]\", \"tests/test_types.py::test_range_fail[type3-0-0=5.]\", \"tests/test_types.py::test_cast_multi_default[2-False-None-None]\", \"tests/test_types.py::test_float_range_no_clamp_open\", \"tests/test_types.py::test_cast_multi_default[-1-None-None-expect6]\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"tests/test_types.py::test_choice_get_invalid_choice_message\", \"tests/test_types.py::test_invalid_path_with_esc_sequence\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [\"uv pip install -e .\", \"pre-commit install\"], \"pre_install\": [\"tee tox.ini < str | None:\n rv = super().resolve_envvar_value(ctx)\n \n if rv is not None:\n+ if self.is_flag and self.flag_value:\n+ return str(self.flag_value)\n return rv\n \n if (\n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_arguments.py b/tests/test_arguments.py\nindex 825bcc487..5dc56a468 100644\n--- a/tests/test_arguments.py\n+++ b/tests/test_arguments.py\n@@ -198,6 +198,19 @@ def cmd(arg):\n assert result.return_value == expect\n \n \n+def test_envvar_flag_value(runner):\n+ @click.command()\n+ # is_flag is implicitly true\n+ @click.option(\"--upper\", flag_value=\"upper\", envvar=\"UPPER\")\n+ def cmd(upper):\n+ click.echo(upper)\n+ return upper\n+\n+ # For whatever value of the `env` variable, if it exists, the flag should be `upper`\n+ result = runner.invoke(cmd, env={\"UPPER\": \"whatever\"})\n+ assert result.output.strip() == \"upper\"\n+\n+\n def test_nargs_envvar_only_if_values_empty(runner):\n @click.command()\n @click.argument(\"arg\", envvar=\"X\", nargs=-1)\n"},"problem_statement":{"kind":"string","value":"`flag_value` is not taken into account with `envvar`\nWhen using the ~~--debug option~~ `DEBUG` environment variable in the sample command, the debug value is not correctly set (`flag_value`). It is expected to be either `logging.DEBUG` or `None`, but it seems to be getting the integer value directly from the environment variable.\r\n\r\nSample:\r\n\r\n```python\r\nimport logging\r\nimport os\r\nimport sys\r\n\r\nimport click\r\n\r\n\r\n# Works as expected\r\n# sys.argv = ['', '--debug']\r\n\r\n# Does not work as expected\r\n# os.environ['DEBUG'] = '1'\r\n\r\n@click.command()\r\n@click.option('--debug', is_flag=True, flag_value=logging.DEBUG, envvar='DEBUG')\r\ndef sample(debug):\r\n click.echo(f\"DEBUG: {debug}\")\r\n assert debug in [logging.DEBUG, None], f\"Invalid debug value: {debug} - expected >{logging.DEBUG}< or None\"\r\n\r\n\r\nif __name__ == '__main__':\r\n sample()\r\n\r\n```\r\n\r\nThere is no different in using `os.environ` or `DEBUG=1 python cli.py`.\r\n\r\n`DEBUG=8 python cli.py` prints out: `8`\r\n\r\nEnvironment:\r\n\r\n- Python version: 3.12.4\r\n- Click version: 8.1.7\r\n\n"},"hints_text":{"kind":"string","value":""},"created_at":{"kind":"string","value":"2024-10-13T20:47:53Z"},"merged_at":{"kind":"string","value":"2024-11-03T14:40:46Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_arguments.py::test_nargs_envvar[2-a b-expect2]\", \"tests/test_arguments.py::test_nargs_envvar[-1-a b c-expect4]\", \"tests/test_arguments.py::test_stdout_default\", \"tests/test_arguments.py::test_nargs_bad_default[value2]\", \"tests/test_arguments.py::test_nargs_envvar[-1--expect5]\", \"tests/test_arguments.py::test_multiple_not_allowed\", \"tests/test_arguments.py::test_argument_unbounded_nargs_cant_have_default\", \"tests/test_arguments.py::test_defaults_for_nargs\", \"tests/test_arguments.py::test_missing_argument_string_cast\", \"tests/test_arguments.py::test_nargs_envvar[2-a-Takes 2 values but 1 was given.]\", \"tests/test_arguments.py::test_nargs_bad_default[value1]\", \"tests/test_arguments.py::test_nargs_tup_composite[opts3]\", \"tests/test_arguments.py::test_subcommand_help\", \"tests/test_arguments.py::test_nested_subcommand_help\", \"tests/test_arguments.py::test_empty_nargs\", \"tests/test_arguments.py::test_nargs_tup_composite[opts0]\", \"tests/test_arguments.py::test_nargs_star_ordering\", \"tests/test_arguments.py::test_when_argument_decorator_is_used_multiple_times_cls_is_preserved\", \"tests/test_arguments.py::test_file_args\", \"tests/test_arguments.py::test_missing_arg\", \"tests/test_arguments.py::test_path_allow_dash\", \"tests/test_arguments.py::test_nargs_specified_plus_star_ordering\", \"tests/test_arguments.py::test_eat_options\", \"tests/test_arguments.py::test_nargs_star\", \"tests/test_arguments.py::test_nargs_envvar[2-a b c-Takes 2 values but 3 were given.]\", \"tests/test_arguments.py::test_nargs_envvar_only_if_values_empty\", \"tests/test_arguments.py::test_nargs_tup\", \"tests/test_arguments.py::test_nargs_bad_default[value0]\", \"tests/test_arguments.py::test_nargs_tup_composite[opts1]\", \"tests/test_arguments.py::test_multiple_param_decls_not_allowed\", \"tests/test_arguments.py::test_file_atomics\", \"tests/test_arguments.py::test_nargs_envvar[2--None]\", \"tests/test_arguments.py::test_nargs_err\", \"tests/test_arguments.py::test_bytes_args\", \"tests/test_arguments.py::test_implicit_non_required\", \"tests/test_arguments.py::test_nargs_tup_composite[opts2]\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"tests/test_arguments.py::test_envvar_flag_value\", \"tests/test_arguments.py::test_duplicate_names_warning[args_one0-args_two0]\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [\"uv pip install -e .\", \"pre-commit install\"], \"pre_install\": [\"tee tox.ini < str:\n return formatter.getvalue().rstrip(\"\\n\")\n \n def get_params(self, ctx: Context) -> list[Parameter]:\n- rv = self.params\n+ params = self.params\n help_option = self.get_help_option(ctx)\n \n if help_option is not None:\n- rv = [*rv, help_option]\n+ params = [*params, help_option]\n \n- return rv\n+ if __debug__:\n+ import warnings\n+\n+ opts = [opt for param in params for opt in param.opts]\n+ opts_counter = Counter(opts)\n+ duplicate_opts = (opt for opt, count in opts_counter.items() if count > 1)\n+\n+ for duplicate_opt in duplicate_opts:\n+ warnings.warn(\n+ (\n+ f\"The parameter {duplicate_opt} is used more than once. \"\n+ \"Remove its duplicate as parameters should be unique.\"\n+ ),\n+ stacklevel=3,\n+ )\n+\n+ return params\n \n def format_usage(self, ctx: Context, formatter: HelpFormatter) -> None:\n \"\"\"Writes the usage line into the formatter.\n@@ -1973,6 +1990,10 @@ class Parameter:\n of :class:`~click.shell_completion.CompletionItem` or a list of\n strings.\n \n+ .. versionchanged:: 8.2\n+ Adding duplicate parameter names to a :class:`~click.core.Command` will\n+ result in a ``UserWarning`` being shown.\n+\n .. versionchanged:: 8.0\n ``process_value`` validates required parameters and bounded\n ``nargs``, and invokes the parameter callback before returning\n@@ -2974,7 +2995,7 @@ def _parse_decls(\n else:\n raise TypeError(\n \"Arguments take exactly one parameter declaration, got\"\n- f\" {len(decls)}.\"\n+ f\" {len(decls)}: {decls}.\"\n )\n return name, [arg], []\n \n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_arguments.py b/tests/test_arguments.py\nindex 7f6629fba..825bcc487 100644\n--- a/tests/test_arguments.py\n+++ b/tests/test_arguments.py\n@@ -401,3 +401,23 @@ def bar(arg):\n \n assert isinstance(foo.params[0], CustomArgument)\n assert isinstance(bar.params[0], CustomArgument)\n+\n+\n+@pytest.mark.parametrize(\n+ \"args_one,args_two\",\n+ [\n+ (\n+ (\"aardvark\",),\n+ (\"aardvark\",),\n+ ),\n+ ],\n+)\n+def test_duplicate_names_warning(runner, args_one, args_two):\n+ @click.command()\n+ @click.argument(*args_one)\n+ @click.argument(*args_two)\n+ def cli(one, two):\n+ pass\n+\n+ with pytest.warns(UserWarning):\n+ runner.invoke(cli, [])\ndiff --git a/tests/test_options.py b/tests/test_options.py\nindex 74ccc5ff9..2a3b69287 100644\n--- a/tests/test_options.py\n+++ b/tests/test_options.py\n@@ -989,3 +989,29 @@ def cli_without_choices(g):\n \n result = runner.invoke(cli_without_choices, [\"--help\"])\n assert metavars in result.output\n+\n+\n+@pytest.mark.parametrize(\n+ \"opts_one,opts_two\",\n+ [\n+ # No duplicate shortnames\n+ (\n+ (\"-a\", \"--aardvark\"),\n+ (\"-a\", \"--avocado\"),\n+ ),\n+ # No duplicate long names\n+ (\n+ (\"-a\", \"--aardvark\"),\n+ (\"-b\", \"--aardvark\"),\n+ ),\n+ ],\n+)\n+def test_duplicate_names_warning(runner, opts_one, opts_two):\n+ @click.command()\n+ @click.option(*opts_one)\n+ @click.option(*opts_two)\n+ def cli(one, two):\n+ pass\n+\n+ with pytest.warns(UserWarning):\n+ runner.invoke(cli, [])\n"},"problem_statement":{"kind":"string","value":"Issue UserWarning when overriding Parameter name\nWhen a command is given multiple parameters that use the same name, a UserWarning should be fired to highlight the conflict. Currently, the command will quietly allow one parameter to override the names of another.\r\n\r\n(This is a slightly different problem than https://github.com/pallets/click/issues/1465. In that issue, True and False values were given the same names within a single parameter.)\r\n\r\n**Example of the issue:**\r\n\r\n```python\r\n@click.command()\r\n@click.option(\"-a\", \"--aardvark\", is_flag=True)\r\n@click.option(\"-a\", \"--avocado\", is_flag=True)\r\ndef cli(aardvark: bool = False, avocado: bool = False):\r\n if aardvark:\r\n print(\"Animal\")\r\n if avocado:\r\n print(\"Fruit\")\r\n```\r\n\r\nIn this scenario, the short-name, `-a`, appears ambiguous. A warning would help the user realize the conflict they've introduced.\r\n\r\nI'll also provide a pull request for consideration.\n"},"hints_text":{"kind":"string","value":""},"created_at":{"kind":"string","value":"2022-11-07T03:47:35Z"},"merged_at":{"kind":"string","value":"2024-11-03T14:11:59Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_arguments.py::test_nargs_envvar[-1-a b c-expect4]\", \"tests/test_options.py::test_show_default_precedence[False-one-extra_value9-True]\", \"tests/test_options.py::test_do_not_show_default_empty_multiple\", \"tests/test_options.py::test_flag_duplicate_names\", \"tests/test_options.py::test_empty_envvar[AUTO_MYPATH]\", \"tests/test_arguments.py::test_nargs_envvar[2-a-Takes 2 values but 1 was given.]\", \"tests/test_options.py::test_show_true_default_boolean_flag_value\", \"tests/test_arguments.py::test_subcommand_help\", \"tests/test_options.py::test_prefixes\", \"tests/test_options.py::test_show_default_precedence[False-None-extra_value3-False]\", \"tests/test_arguments.py::test_when_argument_decorator_is_used_multiple_times_cls_is_preserved\", \"tests/test_options.py::test_intrange_default_help_text[type2-x>=1]\", \"tests/test_arguments.py::test_file_args\", \"tests/test_arguments.py::test_missing_arg\", \"tests/test_options.py::test_show_default_string\", \"tests/test_options.py::test_unknown_options[--foo]\", \"tests/test_arguments.py::test_eat_options\", \"tests/test_arguments.py::test_nargs_star\", \"tests/test_options.py::test_invalid_option\", \"tests/test_arguments.py::test_nargs_envvar_only_if_values_empty\", \"tests/test_options.py::test_invalid_flag_combinations[kwargs1-'count' is not valid with 'is_flag'.]\", \"tests/test_arguments.py::test_nargs_bad_default[value0]\", \"tests/test_arguments.py::test_multiple_param_decls_not_allowed\", \"tests/test_options.py::test_show_envvar\", \"tests/test_arguments.py::test_file_atomics\", \"tests/test_arguments.py::test_nargs_envvar[2--None]\", \"tests/test_options.py::test_init_good_default_list[True-1-default0]\", \"tests/test_options.py::test_show_default_precedence[False-True-extra_value5-True]\", \"tests/test_options.py::test_option_with_optional_value[None-expect0]\", \"tests/test_options.py::test_init_bad_default_list[False-2-default1]\", \"tests/test_options.py::test_multiple_envvar\", \"tests/test_arguments.py::test_nargs_err\", \"tests/test_options.py::test_usage_show_choices[text/int choices]\", \"tests/test_arguments.py::test_implicit_non_required\", \"tests/test_options.py::test_dynamic_default_help_text\", \"tests/test_arguments.py::test_nargs_tup_composite[opts2]\", \"tests/test_options.py::test_option_with_optional_value[args13-expect13]\", \"tests/test_options.py::test_trailing_blanks_boolean_envvar\", \"tests/test_options.py::test_option_with_optional_value[args6-expect6]\", \"tests/test_options.py::test_invalid_nargs\", \"tests/test_options.py::test_option_with_optional_value[args11-expect11]\", \"tests/test_options.py::test_suggest_possible_options[--cat-Did you mean --count?]\", \"tests/test_arguments.py::test_stdout_default\", \"tests/test_options.py::test_unknown_options[-f]\", \"tests/test_options.py::test_multiple_option_with_optional_value\", \"tests/test_options.py::test_bool_flag_with_type\", \"tests/test_arguments.py::test_nargs_envvar[-1--expect5]\", \"tests/test_arguments.py::test_nargs_bad_default[value2]\", \"tests/test_options.py::test_option_with_optional_value[args4-expect4]\", \"tests/test_options.py::test_option_names[option_args1-first]\", \"tests/test_arguments.py::test_argument_unbounded_nargs_cant_have_default\", \"tests/test_options.py::test_show_default_precedence[None-None-extra_value0-False]\", \"tests/test_options.py::test_option_with_optional_value[args7-expect7]\", \"tests/test_arguments.py::test_nargs_tup_composite[opts3]\", \"tests/test_arguments.py::test_empty_nargs\", \"tests/test_arguments.py::test_nargs_tup_composite[opts0]\", \"tests/test_options.py::test_aliases_for_flags\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[secondary option [implicit flag]]\", \"tests/test_arguments.py::test_nargs_specified_plus_star_ordering\", \"tests/test_options.py::test_multiple_required\", \"tests/test_options.py::test_show_default_default_map\", \"tests/test_options.py::test_invalid_flag_combinations[kwargs0-'count' is not valid with 'multiple'.]\", \"tests/test_arguments.py::test_nargs_envvar[2-a b c-Takes 2 values but 3 were given.]\", \"tests/test_options.py::test_option_names[option_args4-a]\", \"tests/test_options.py::test_nargs_tup_composite_mult\", \"tests/test_options.py::test_suggest_possible_options[--bounds-(Possible options: --bound, --count)]\", \"tests/test_options.py::test_intrange_default_help_text[type0-1<=x<=32]\", \"tests/test_options.py::test_intrange_default_help_text[type3-x<=32]\", \"tests/test_options.py::test_nargs_envvar\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [None]]\", \"tests/test_options.py::test_option_help_preserve_paragraphs\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [True]]\", \"tests/test_options.py::test_count_default_type_help\", \"tests/test_options.py::test_legacy_options\", \"tests/test_options.py::test_option_names[option_args9-_ret]\", \"tests/test_options.py::test_show_envvar_auto_prefix\", \"tests/test_options.py::test_option_with_optional_value[args3-expect3]\", \"tests/test_options.py::test_show_default_precedence[None-True-extra_value2-True]\", \"tests/test_options.py::test_argument_custom_class\", \"tests/test_options.py::test_usage_show_choices[float choices]\", \"tests/test_options.py::test_show_default_with_empty_string\", \"tests/test_options.py::test_dynamic_default_help_special_method\", \"tests/test_options.py::test_hide_false_default_boolean_flag_value[False]\", \"tests/test_options.py::test_suggest_possible_options[--bount-(Possible options: --bound, --count)]\", \"tests/test_options.py::test_missing_option_string_cast\", \"tests/test_options.py::test_toupper_envvar_prefix\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[is_flag=True]\", \"tests/test_arguments.py::test_defaults_for_nargs\", \"tests/test_options.py::test_winstyle_options\", \"tests/test_arguments.py::test_missing_argument_string_cast\", \"tests/test_options.py::test_missing_required_flag\", \"tests/test_options.py::test_case_insensitive_choice_returned_exactly\", \"tests/test_options.py::test_show_default_precedence[True-True-extra_value8-True]\", \"tests/test_options.py::test_usage_show_choices[bool choices]\", \"tests/test_options.py::test_dynamic_default_help_unset\", \"tests/test_options.py::test_option_names[option_args2-apple]\", \"tests/test_options.py::test_init_good_default_list[False-2-default2]\", \"tests/test_options.py::test_hide_false_default_boolean_flag_value[None]\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool flag_value]\", \"tests/test_options.py::test_callback_validates_prompt\", \"tests/test_options.py::test_option_names[option_args8-_from]\", \"tests/test_options.py::test_is_bool_flag_is_correctly_set[bool non-flag [False]]\", \"tests/test_options.py::test_multiple_default_composite_type\", \"tests/test_arguments.py::test_nargs_tup_composite[opts1]\", \"tests/test_options.py::test_usage_show_choices[text choices]\", \"tests/test_options.py::test_option_with_optional_value[args2-expect2]\", \"tests/test_options.py::test_type_from_flag_value\", \"tests/test_options.py::test_case_insensitive_choice\", \"tests/test_options.py::test_init_good_default_list[True-2-default4]\", \"tests/test_options.py::test_intrange_default_help_text[type1-1 ProgressBar[V]:\n@@ -136,7 +138,7 @@ def __next__(self) -> V:\n return next(iter(self))\n \n def render_finish(self) -> None:\n- if self.is_hidden:\n+ if self.hidden or not self._is_atty:\n return\n self.file.write(AFTER_BAR)\n self.file.flush()\n@@ -232,13 +234,14 @@ def format_progress_line(self) -> str:\n def render_progress(self) -> None:\n import shutil\n \n- if self.is_hidden:\n- # Only output the label as it changes if the output is not a\n- # TTY. Use file=stderr if you expect to be piping stdout.\n+ if self.hidden:\n+ return\n+\n+ if not self._is_atty:\n+ # Only output the label once if the output is not a TTY.\n if self._last_line != self.label:\n self._last_line = self.label\n echo(self.label, file=self.file, color=self.color)\n-\n return\n \n buf = []\n@@ -342,7 +345,7 @@ def generator(self) -> cabc.Iterator[V]:\n if not self.entered:\n raise RuntimeError(\"You need to use progress bars in a with block.\")\n \n- if self.is_hidden:\n+ if not self._is_atty:\n yield from self.iter\n else:\n for rv in self.iter:\ndiff --git a/src/click/termui.py b/src/click/termui.py\nindex 12d6edf5f..e14e6701c 100644\n--- a/src/click/termui.py\n+++ b/src/click/termui.py\n@@ -288,6 +288,7 @@ def progressbar(\n iterable: cabc.Iterable[V] | None = None,\n length: int | None = None,\n label: str | None = None,\n+ hidden: bool = False,\n show_eta: bool = True,\n show_percent: bool | None = None,\n show_pos: bool = False,\n@@ -363,6 +364,9 @@ def progressbar(\n length. If an iterable is not provided the progress bar\n will iterate over a range of that length.\n :param label: the label to show next to the progress bar.\n+ :param hidden: hide the progressbar. Defaults to ``False``. When no tty is\n+ detected, it will only print the progressbar label. Setting this to\n+ ``False`` also disables that.\n :param show_eta: enables or disables the estimated time display. This is\n automatically disabled if the length cannot be\n determined.\n@@ -395,6 +399,9 @@ def progressbar(\n :param update_min_steps: Render only when this many updates have\n completed. This allows tuning for very fast iterators.\n \n+ .. versionadded:: 8.2\n+ The ``hidden`` argument.\n+\n .. versionchanged:: 8.0\n Output is shown even if execution time is less than 0.5 seconds.\n \n@@ -406,11 +413,10 @@ def progressbar(\n in 7.0 that removed all output.\n \n .. versionadded:: 8.0\n- Added the ``update_min_steps`` parameter.\n+ The ``update_min_steps`` parameter.\n \n- .. versionchanged:: 4.0\n- Added the ``color`` parameter. Added the ``update`` method to\n- the object.\n+ .. versionadded:: 4.0\n+ The ``color`` parameter and ``update`` method.\n \n .. versionadded:: 2.0\n \"\"\"\n@@ -420,6 +426,7 @@ def progressbar(\n return ProgressBar(\n iterable=iterable,\n length=length,\n+ hidden=hidden,\n show_eta=show_eta,\n show_percent=show_percent,\n show_pos=show_pos,\n"},"test_patch":{"kind":"string","value":"diff --git a/tests/test_termui.py b/tests/test_termui.py\nindex 0dcd2330c..8fdfe8d64 100644\n--- a/tests/test_termui.py\n+++ b/tests/test_termui.py\n@@ -71,7 +71,7 @@ def cli():\n assert result.exception is None\n \n \n-def test_progressbar_hidden(runner, monkeypatch):\n+def test_progressbar_no_tty(runner, monkeypatch):\n @click.command()\n def cli():\n with _create_progress(label=\"working\") as progress:\n@@ -82,6 +82,17 @@ def cli():\n assert runner.invoke(cli, []).output == \"working\\n\"\n \n \n+def test_progressbar_hidden_manual(runner, monkeypatch):\n+ @click.command()\n+ def cli():\n+ with _create_progress(label=\"see nothing\", hidden=True) as progress:\n+ for _ in progress:\n+ pass\n+\n+ monkeypatch.setattr(click._termui_impl, \"isatty\", lambda _: True)\n+ assert runner.invoke(cli, []).output == \"\"\n+\n+\n @pytest.mark.parametrize(\"avg, expected\", [([], 0.0), ([1, 4], 2.5)])\n def test_progressbar_time_per_iteration(runner, avg, expected):\n with _create_progress(2, avg=avg) as progress:\n"},"problem_statement":{"kind":"string","value":"`progressbar(hide=True)` option for hiding the progress bar\nOften when I use the Click `progressbar` I find myself wanting to conditionally hide it. Sometimes it's because there's another option in play which means I have output to display in place of it - others it's because I added a `--silent` option (as seen in `curl`) for disabling it entirely.\r\n\r\nIt's actually a bit tricky doing this at the moment, due to its use as a context manager.\r\n\r\nWhat I'd really like to be able to do is this:\r\n\r\n```python\r\nhide = True # or False depending on various things\r\n\r\nwith click.progressbar(items, show_eta=True, hide=hide):\r\n for item in items:\r\n process_item(item)\r\n```\r\n\n"},"hints_text":{"kind":"string","value":"Here's [one workaround](https://github.com/simonw/sqlite-utils/blob/622c3a5a7dd53a09c029e2af40c2643fe7579340/sqlite_utils/utils.py#L432-L450) I've used for this, which feels pretty messy:\r\n\r\n```python\r\nclass NullProgressBar:\r\n def __init__(self, *args):\r\n self.args = args\r\n\r\n def __iter__(self):\r\n yield from self.args[0]\r\n\r\n def update(self, value):\r\n pass\r\n\r\n\r\n@contextlib.contextmanager\r\ndef progressbar(*args, **kwargs):\r\n silent = kwargs.pop(\"silent\")\r\n if silent:\r\n yield NullProgressBar(*args)\r\n else:\r\n with click.progressbar(*args, **kwargs) as bar:\r\n yield bar\r\n```\r\nThen:\r\n```python\r\n with progressbar(\r\n length=self.count, silent=not show_progress, label=\"1: Evaluating\"\r\n ) as bar:\r\n```\nIt looks like there's already a property that could be used for this:\r\n\r\nhttps://github.com/pallets/click/blob/ca5e1c3d75e95cbc70fa6ed51ef263592e9ac0d0/src/click/_termui_impl.py#L107\r\n\r\nSo the implementation may be as straight-forward as adding a `hide: bool = False` parameter and then doing this:\r\n\r\n```python\r\n self.is_hidden: bool = not hide and not isatty(self.file) \r\n```\nI tried this:\r\n```python\r\n with click.progressbar(\r\n ids, label=\"Calculating similarities\", show_percent=True\r\n ) as bar:\r\n if hide:\r\n bar.is_hidden = True\r\n```\r\nBut it still shows the bar once at the start of the loop, because of this:\r\n\r\nhttps://github.com/pallets/click/blob/ca5e1c3d75e95cbc70fa6ed51ef263592e9ac0d0/src/click/_termui_impl.py#L110-L113\r\n\r\nWhich calls `render_progress()` before I've had a chance to toggle `is_hidden` to `False`: https://github.com/pallets/click/blob/ca5e1c3d75e95cbc70fa6ed51ef263592e9ac0d0/src/click/_termui_impl.py#L231-L239"},"created_at":{"kind":"string","value":"2024-05-20T22:11:49Z"},"merged_at":{"kind":"string","value":"2024-11-03T13:12:06Z"},"PASS_TO_PASS":{"kind":"string","value":"[\"tests/test_termui.py::test_progressbar_format_eta[900-00:15:00]\", \"tests/test_termui.py::test_file_prompt_default_format[file_kwargs1]\", \"tests/test_termui.py::test_progressbar_format_eta[0-00:00:00]\", \"tests/test_termui.py::test_prompt_required_false[short sep value]\", \"tests/test_termui.py::test_progressbar_update_with_item_show_func\", \"tests/test_termui.py::test_progressbar_format_progress_line[0-True-True-0- [--------] 0/0 0%]\", \"tests/test_termui.py::test_prompt_required_false[long no value]\", \"tests/test_termui.py::test_progressbar_eta[True-0]\", \"tests/test_termui.py::test_progressbar_format_pos[0-5]\", \"tests/test_termui.py::test_prompt_required_false[no flag]\", \"tests/test_termui.py::test_progressbar_length_hint\", \"tests/test_termui.py::test_progressbar_yields_all_items\", \"tests/test_termui.py::test_prompt_required_false[long sep value]\", \"tests/test_termui.py::test_progressbar_format_pos[4-0]\", \"tests/test_termui.py::test_progressbar_format_pos[-1-1]\", \"tests/test_termui.py::test_progressbar_format_pos[5-5]\", \"tests/test_termui.py::test_progressbar_time_per_iteration[avg0-0.0]\", \"tests/test_termui.py::test_progressbar_format_progress_line[0-False-True-0- [--------] 0/0]\", \"tests/test_termui.py::test_secho_non_text[test-test]\", \"tests/test_termui.py::test_progressbar_init_exceptions\", \"tests/test_termui.py::test_secho_non_text[123-\\\\x1b[45m123\\\\x1b[0m]\", \"tests/test_termui.py::test_progressbar_update\", \"tests/test_termui.py::test_fast_edit\", \"tests/test_termui.py::test_file_prompt_default_format[file_kwargs2]\", \"tests/test_termui.py::test_progressbar_format_eta[90-00:01:30]\", \"tests/test_termui.py::test_false_show_default_cause_no_default_display_in_prompt\", \"tests/test_termui.py::test_progressbar_eta[False-5]\", \"tests/test_termui.py::test_progressbar_format_progress_line[0-False-False-0- [--------]1]\", \"tests/test_termui.py::test_progressbar_format_bar[0-True-8-0-########]\", \"tests/test_termui.py::test_prompt_required_with_required[True-False-None-prompt]\", \"tests/test_termui.py::test_prompt_required_with_required[False-True-args3-prompt]\", \"tests/test_termui.py::test_confirmation_prompt[True---]\", \"tests/test_termui.py::test_progressbar_iter_outside_with_exceptions\", \"tests/test_termui.py::test_progressbar_format_pos[6-5]\", \"tests/test_termui.py::test_progressbar_format_bar[8-False-7-0-#######-]\", \"tests/test_termui.py::test_progressbar_format_progress_line_with_show_func[test]\", \"tests/test_termui.py::test_prompt_required_false[long join value]\", \"tests/test_termui.py::test_confirmation_prompt[Confirm Password-password\\\\npassword\\\\n-None-password]\", \"tests/test_termui.py::test_choices_list_in_prompt\", \"tests/test_termui.py::test_progressbar_format_eta[99999999999-1157407d 09:46:39]\", \"tests/test_termui.py::test_progressbar_time_per_iteration[avg1-2.5]\", \"tests/test_termui.py::test_file_prompt_default_format[file_kwargs0]\", \"tests/test_termui.py::test_progressbar_format_eta[9000-02:30:00]\", \"tests/test_termui.py::test_progressbar_format_eta[30-00:00:30]\", \"tests/test_termui.py::test_confirmation_prompt[False-None-None-None]\", \"tests/test_termui.py::test_prompt_required_with_required[False-True-None-prompt]\", \"tests/test_termui.py::test_progressbar_no_tty\", \"tests/test_termui.py::test_progressbar_format_progress_line_with_show_func[None]\", \"tests/test_termui.py::test_progressbar_strip_regression\", \"tests/test_termui.py::test_secho\", \"tests/test_termui.py::test_progressbar_format_progress_line[0-False-False-0- [--------]0]\", \"tests/test_termui.py::test_progress_bar_update_min_steps\", \"tests/test_termui.py::test_progressbar_item_show_func\", \"tests/test_termui.py::test_prompt_required_false[short no value]\", \"tests/test_termui.py::test_confirmation_prompt[True-password\\\\npassword-None-password]\", \"tests/test_termui.py::test_prompt_required_false[no value opt]\", \"tests/test_termui.py::test_progressbar_format_progress_line[8-True-True-8- [########] 8/8 100%]\", \"tests/test_termui.py::test_prompt_required_false[short join value]\", \"tests/test_termui.py::test_prompt_required_with_required[True-False-args1-Option '-v' requires an argument.]\", \"tests/test_termui.py::test_progressbar_format_eta[None-]\", \"tests/test_termui.py::test_progressbar_is_iterator\"]"},"PASS_TO_FAIL":{"kind":"string","value":"[]"},"FAIL_TO_PASS":{"kind":"string","value":"[\"tests/test_termui.py::test_progressbar_hidden_manual\"]"},"FAIL_TO_FAIL":{"kind":"string","value":"[]"},"install":{"kind":"string","value":"{\"install\": [\"uv pip install -e .\", \"pre-commit install\"], \"pre_install\": [\"tee tox.ini <