Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: local file:// path in !import statement on Windows #134

Open
9Lukas5 opened this issue Dec 18, 2023 · 0 comments
Open

Question: local file:// path in !import statement on Windows #134

9Lukas5 opened this issue Dec 18, 2023 · 0 comments

Comments

@9Lukas5
Copy link

9Lukas5 commented Dec 18, 2023

Hey, I tested that yesterday at home on a linux machine, using in the mkdocs yaml this:

site_name: Project-A

plugins:
  - multirepo:
      cleanup: false


nav:
  - index.md
  - Project-B: '!import file://///some/absolute/path/to/project-B?branch=main'

I tried this today on a windows machine using the git for windows bash, using various combinations like:

  • file://///c/some/absolute/path/to/project-B?branch=main
  • file:///c/some/absolute/path/to/project-B?branch=main
  • file:C:\\some/absolute/path/to/project-B?branch=main
  • file://///C:\\some\\absolute\\path\\to\\project-B?branch=main

But it always complains it can't clone/the target path wouldn't seem to be a valid Git-Repo.
Anyone an idea, how to put the path for local development correct on Windows using the Git-Bash?

That was my idea of a workaround until #129 is dealt with (and on my linux setup it works)^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant