Skip to content
New issue

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

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

Already on GitHub? # to your account

mrdocs cannot parse a path to mrdocs.yml file on WSL #672

Closed
akrzemi1 opened this issue Sep 27, 2024 · 0 comments · Fixed by #685
Closed

mrdocs cannot parse a path to mrdocs.yml file on WSL #672

akrzemi1 opened this issue Sep 27, 2024 · 0 comments · Fixed by #685
Assignees

Comments

@akrzemi1
Copy link
Contributor

I am using WSL on Windows 11. I am using the prebuilt binary package https://github.com/cppalliance/mrdocs/releases/download/v0.0.2/MrDocs-0.0.2-Linux.tar.gz

When I run command:

./mrdocs /mnt/c/Users/pc/source/repos/markable/documentation/mrdocs.yml

I get an error message:

Generating reference failed: The config mrdocs.yml path does not exist (src/tool/ToolArgs.cpp:224)
    Reported at src/tool/ToolMain.cpp(83)

However, when I do cat on the same absolute path, the mrdocs.yml file is clearly there. Also, when I run mrdocs directly from the folder where mrdocs.yml seats, the file is detected correctly. It looks like mrdocs has problems parsing paths in WSL.

Problem 2

The error message is unclear. It is not gramatically correct.
I do not know whether path that is reported nonexistent is the path to the YAML file, or some path mentioned in the YAML file.
Also, I do not need to know the source locations that initiated the error message.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants