Skip to content

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

@akrzemi1

Description

@akrzemi1

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions