Ignore broken symlinks in mkdocs serve. #639
What I am experiencing:
What I expect:
What I see instead:
What I propose:
I'm open to a bunch of ideas. I wanted to file this in the hopes of sparking a discussion where the maintainers of mkdocs could express their opinion about the best way forward.
Thanks so much! Also hi! I'm twitter.com/asheeshlaroia and was chatting with a mkdocs developer earlier today. Seems like a great project! I learned about it via http://ericholscher.com/blog/2014/feb/27/how-i-judge-documentation-quality/ !
The text was updated successfully, but these errors were encountered:
First I'd like to point out that I like this project quite much and currently implement mkdocs for our internal repository.
Unfortunately I've stumbled on an issue caused by the way this bugfix handles symbolic links. It looks like symbolic links with relative path are not processed properly.
Sample tree (lets assume path
It looks like this happens because the CWD is different from
This could be probably written a bit nicer so I'm just pasting the diff here.
PS. I'm using mkdocs installed via
@ky4n this sounds like a legitimate issue with a reasonable solution. Unfortunately, you risk it getting forgotten as you commented on a closed issue. It would have been better to create a new issue which links to this one for context. Actually, as you have a provided fix, a pull request would be the quickest way to have the fix applied.