Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Aug 10, 2023
1 parent 99bf83c commit de146c4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/mkdocs_include_markdown_plugin/directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,11 @@ def resolve_file_paths_to_include(
# relative to docs_dir
return process.filter_paths(
glob.iglob(
os.path.join(
docs_dir,
os.path.realpath(filename_or_url),
os.path.realpath(
os.path.join(
docs_dir,
os.path.normpath(filename_or_url),
),
),
flags=GLOB_FLAGS,
),
Expand Down

0 comments on commit de146c4

Please sign in to comment.