mkdocs-include-markdown-plugin 7.1.3__py3-none-any.whl → 7.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -315,6 +315,10 @@ def rewrite_relative_urls(
315
315
  except IndexError: # pragma: no cover
316
316
  pass
317
317
 
318
+ # ensure that links to the same file are not rewritten
319
+ if new_path == '.':
320
+ new_path = ''
321
+
318
322
  return urlunparse((scheme, netloc, new_path, params, query, fragment))
319
323
 
320
324
  def found_href(m: re.Match[str], url_group_index: int = -1) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-include-markdown-plugin
3
- Version: 7.1.3
3
+ Version: 7.1.4
4
4
  Summary: Mkdocs Markdown includer plugin.
5
5
  Project-URL: Source, https://github.com/mondeja/mkdocs-include-markdown-plugin
6
6
  Project-URL: Documentation, https://github.com/mondeja/mkdocs-include-markdown-plugin#documentation
@@ -6,10 +6,10 @@ mkdocs_include_markdown_plugin/event.py,sha256=LakZDvyyZ4gSZyuUpqT11aiMmRiDVjECH
6
6
  mkdocs_include_markdown_plugin/files_watcher.py,sha256=hu-63u8syl00mXP59vP_iqD7T1R9iU9JjiZOHDV5fas,298
7
7
  mkdocs_include_markdown_plugin/logger.py,sha256=nl63G4IJSt5mEYHbObuh7BmmowSv-aa1l_v9I257570,230
8
8
  mkdocs_include_markdown_plugin/plugin.py,sha256=0muHIhmklC7v-QKWsAcAtZKhhZQ2olH6b28b3_3e4gI,3850
9
- mkdocs_include_markdown_plugin/process.py,sha256=SfNPW58737fz8dsUwD5CM-cevI4gC3AuUk3whJIYihQ,19745
9
+ mkdocs_include_markdown_plugin/process.py,sha256=dnEgyoSfg9hd5-xEvw90RdaTEm0_v2h9QJi75hJg_Es,19863
10
10
  mkdocs_include_markdown_plugin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- mkdocs_include_markdown_plugin-7.1.3.dist-info/METADATA,sha256=J-2SGDeVHNcQjuVdMIyRdt4wPIrVNOvoN0af_NHclmc,12770
12
- mkdocs_include_markdown_plugin-7.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- mkdocs_include_markdown_plugin-7.1.3.dist-info/entry_points.txt,sha256=WEL5m7sw5ZMBwmdOs5S_9mGoZfLCaUDPkDKw7CUk16Q,96
14
- mkdocs_include_markdown_plugin-7.1.3.dist-info/licenses/LICENSE,sha256=qm1MNzU_lIANFB-1cBpD9hqdD_Htv3_Xr6hobt0IHq8,11365
15
- mkdocs_include_markdown_plugin-7.1.3.dist-info/RECORD,,
11
+ mkdocs_include_markdown_plugin-7.1.4.dist-info/METADATA,sha256=SyXLR8GB_wJepbtz89y9-r-YQQsn4MWspbkgQigy8pg,12770
12
+ mkdocs_include_markdown_plugin-7.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ mkdocs_include_markdown_plugin-7.1.4.dist-info/entry_points.txt,sha256=WEL5m7sw5ZMBwmdOs5S_9mGoZfLCaUDPkDKw7CUk16Q,96
14
+ mkdocs_include_markdown_plugin-7.1.4.dist-info/licenses/LICENSE,sha256=qm1MNzU_lIANFB-1cBpD9hqdD_Htv3_Xr6hobt0IHq8,11365
15
+ mkdocs_include_markdown_plugin-7.1.4.dist-info/RECORD,,