Ale*_*lex 10 markdown github readme
我在github上有一个repo作为组织的一部分.例如:
MYORGANIZATION/MyRepository
repo包含README.md文件.
在这个README.md文件中,我有一个链接,所以另一个.md文件位于与README.md相同的文件夹中的同一个repo中:
/README.md /anotherMarkdown.md
README.md包含一个相对链接(如下所述:https://help.github.com/articles/relative-links-in-readmes/ )到anotherMarkdown.md:
[This is my relative link](anotherMarkdown.md)
Run Code Online (Sandbox Code Playgroud)
如果我使用此URL打开自述文件,相关链接将起作用:
https://github.com/MYORGANIZATION/MyRepository/blob/master/README.md
链接指向:
https://github.com/MYORGANIZATION/MyRepository/blob/master/anotherMarkdown.md
如果我打开Repository-URL https://github.com/MYORGANIZATION/MyRepository/,则会显示reposiutory的根目录,以及文件列表下方的自述文件.
但是上面描述的相对链接现在被打破(给出404)并指向:
https://github.com/MYORGANIZATION/MyRepository/anotherMarkdown.md
这是预期的行为吗?我的链接有什么问题?