Link to the docdir of the remote repo in non-rtd themes for mkdocs #5513
Currently we depend on
For non-rtd themes we are generating a link like
I'm proposing the solution of just linking to the docsdir
Another option is just to link to the repo, and only show the
What do you think?
Also, looks like we can refactor this code, let me know if you feel like something that can be done here or we can create an issue later.
The text was updated successfully, but these errors were encountered:
Currently we depend on https://github.com/mkdocs/mkdocs/blob/d101522aa197aaa212f1424180d693dd5d497875/mkdocs/themes/readthedocs/base.html#L35-L40 which is only available in the rtd theme. For non-rtd themes we are generating a link like `https://github.com/mkdocs/mkdocs/blob/master/docs/.md`