Comments (10)
@yyx990803 The configuration of the crawler was still the old one so the v2 version tag did not exist. Just fixed it, should be good now.
from v2.cn.vuejs.org.
@yyx990803 求助 - -
from v2.cn.vuejs.org.
@Jinjiang
it might be of your help.
vuejs/v2.vuejs.org#575 (comment)
from v2.cn.vuejs.org.
@kazupon Thank you. I will update it soon :-)
from v2.cn.vuejs.org.
@maxiloc - we accidentally overwrote the cn site with the API key for the English version, but after reverting to the key for the Chinese index the queries are now always returning empty results. Any ideas?
from v2.cn.vuejs.org.
我的错,之前从 vuejs.org 获取更新到 vuefe 改中文后,没有更改中文搜索,真抱歉
from v2.cn.vuejs.org.
@maxiloc It works! Thank you very much :-)
from v2.cn.vuejs.org.
@Jinjiang 谢谢 现在恢复正常了 大家辛苦了!
对了 我还有一个建议哦 我发现搜索接口返回的 url
是绝对地址 我认为应该改成相对路径
这么做有几个好处 例如这次出现的搜索结果变成英文的问题 如果 url
是相对的 那至少影响不大
还是可以跳转过去查看 还有一个就是我发现 http://cn.vuejs.org 服务器是放在国外的 有时候访问慢
就拉了一下仓库在本地部署一个 gh-pages
服务 这样会很方便 访问速度也很快 即使没有网络的时候也能查看 不过因为搜索接口返回的 url
写死了域名 这样的话在本地浏览也会跳转到 http://cn.vuejs.org
{
"hierarchy": {
"lvl2": "全局 API",
"lvl3": null,
"lvl0": "API",
"lvl1": null,
"lvl6": null,
"lvl4": null,
"lvl5": null
},
"url": "http://cn.vuejs.org/v2/api/#全局-API",
"content": null,
"anchor": "全局-API",
"objectID": "914724202",
"_highlightResult": {
"hierarchy": {
"lvl2": {
"value": "全局 <span class=\"algolia-docsearch-suggestion--highlight\">A</span>PI",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [
"a"
]
},
"lvl0": {
"value": "<span class=\"algolia-docsearch-suggestion--highlight\">A</span>PI",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [
"a"
]
}
},
"hierarchy_camel": {
"lvl2": {
"value": "全局 <span class=\"algolia-docsearch-suggestion--highlight\">A</span>PI",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [
"a"
]
},
"lvl0": {
"value": "<span class=\"algolia-docsearch-suggestion--highlight\">A</span>PI",
"matchLevel": "full",
"fullyHighlighted": false,
"matchedWords": [
"a"
]
}
}
}
}
from v2.cn.vuejs.org.
这个搜索服务是第三方提供的,本身有一定的局限性,目前这样的状态我觉得是可接受的
感谢你的建议
from v2.cn.vuejs.org.
@u3u @Jinjiang
I have fixed this url issue on my localhost: replace the ajax content.
修改第三方服务返回的字符串中的url
提交代码在这里: wuliupo@b3893e6
req.responseText.replace(/cn\.vuejs\.org/g, location.hostname + ':' + location.port);
from v2.cn.vuejs.org.
Related Issues (20)
- Vue 3 Docs are ready for translation! HOT 2
- components.md-动态组件-示例代码:频繁切换home/posts/archive会使页面scroll down HOT 1
- "export 'default' (imported as 'Vue') was not found in 'vue'
- 小疑惑 HOT 4
- Vue 不能检测以下数组的变动:通过索引或长度改变数组。有歧义
- 关于中文站跳转的建议(仅针对中文站) HOT 2
- select option v-for 出错 HOT 1
- component 标签动态事件
- 教程 -> 组件基础 -> 监听子组件事件 -> 在组件上使用 v-model 菜单对应的地址被重定向到了错误的页面
- “v2.x中文文档->深入了解组件->动态组件 & 异步组件” 中存在病句
- vue2的选项框,多选不起作用 HOT 1
- amazing url, refresh forever HOT 3
- v-if与v-for一起使用时的介绍错误 HOT 1
- 侦听器这节文档的最后的测试demo无法正常运行 HOT 2
- website error for cn.vuejs.org HOT 5
- API list not found for cn.vuejs.org/v2/api/ HOT 1
- 标题:在 v-for 里使用范围,是否翻译不当?
- https://v2.cn.vuejs.org/ 搜索功能失效,跳转地址错误 HOT 3
- Vue.config.productionTip = false 无效 HOT 2
- Inaccuracy in comparisons guide
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2.cn.vuejs.org.