Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文API文档浏览器 #165

Open
nobodxbodon opened this issue Jul 18, 2019 · 3 comments
Open

中文API文档浏览器 #165

nobodxbodon opened this issue Jul 18, 2019 · 3 comments

Comments

@nobodxbodon
Copy link
Member

源自这里。现有类似项目devdocs,但作者对多语言支持暂无意向, 但乐于外链fork项目
先尝试fork后,添加一些中文API文档。

@nobodxbodon
Copy link
Member Author

尝试本地搭建环境,但不幸在bundle install这步报错止步:

config.status: error: could not create libxml2.spec
...
An error occurred while installing nokogiri (1.10.1), and Bundler cannot continue.

于是仅粗略看了代码。此目录下有大多数在线文档的路径等详细信息,可以利用。比如Python的:

self.base_url = 'https://docs.python.org/3.7/'

考虑使用类似miniblink的浏览器控件,以避免对网页浏览器的依赖(目标是桌面软件而非网站)。

@nobodxbodon
Copy link
Member Author

nobodxbodon commented Jul 19, 2019

初步查看miniblink与其他方式集成浏览器(如java-cef)。
为节省工作量,第一步不作任何集成,提取API链接后,建立索引,添加中文词典,提供中文关键字搜索功能,点击链接后在外部浏览器中打开网页。

@nobodxbodon
Copy link
Member Author

一些原型进展,8 月初后暂时搁置(记不清何故):
用JS Search实现客户端JSON内容索引和搜索
API 中文搜索+例程 初步演示原型 0805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant