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

Search插件会去抓取name link的内容 #102

Closed
woshiguabi opened this issue Feb 24, 2017 · 2 comments
Closed

Search插件会去抓取name link的内容 #102

woshiguabi opened this issue Feb 24, 2017 · 2 comments
Labels
bug confirmed as a bug

Comments

@woshiguabi
Copy link
Contributor

woshiguabi commented Feb 24, 2017

在Index目录和文档目录不一致时,这种情况可能不是想要的结果。

比如在MVC框架下我的访问路径是 //xxx/docs/index,文档目录可能是 //xxx/static/docs/,name link和访问路径一样,这时候就search插件就会去抓 /docs/index.md 这个文件,导致报错。

因为每个页面都有name link所以每次导航都会去抓,也就是点一下就会报一个错,看着不太舒服。

我现在的做法是在根路径下创建docs文件夹然后放个空的index.md文件,但是感觉这样做也不太好,有没有什么好的办法解决?

@QingWei-Li QingWei-Li added the bug confirmed as a bug label Feb 24, 2017
@QingWei-Li
Copy link
Member

我也遇到这问题 但是一直没想到怎么回事,原来是 nameLink 😂

@woshiguabi
Copy link
Contributor Author

woshiguabi commented Feb 24, 2017

😂😂😂
我也是思考了一个中午才发现是这个问题

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants