Skip to content

Commit d3caf8e

Browse files
committed
chore(dependencies): Add fork
1 parent 9e4a4a6 commit d3caf8e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mkdocs_embed_file_plugins/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def mini_ez_links(urlo, base, end, url_whitespace, url_case):
6464
else: # fallback to searching
6565
if urlo[2].endswith('.md'):
6666
internal_link = str(search_file_in_documentation(Path(urlo[2]).resolve(), Path(md_link_path).parent))
67-
if not os.path.isfile(internal_link):
67+
if not os.path.isfile(internal_link): # manual search
6868
file_name = urlo[2].replace('index', '')
6969
file_name = file_name.replace('../', '')
7070
file_name = file_name.replace('./', '')
@@ -185,7 +185,6 @@ def search_file_in_documentation(link: Path|str, config_dir: Path):
185185
if not file_name.endswith('.md'):
186186
file_name = file_name + '.md'
187187
for p in config_dir.rglob(f"*{file_name}"):
188-
print(p)
189188
return p
190189
return 0
191190

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ setuptools
33
Markdown
44
beautifulsoup4
55
python-frontmatter
6-
mdx_wikilink_plus @ git+https://github.com/Mara-Li/mdx_wikilink_plus.git#egg=mdx_wikilink_plus
6+
mdx-wikilink-plus-fork
77
mkdocs-callouts
88
mkdocs-custom-tags-attributes

0 commit comments

Comments
 (0)