OpenGenus / quark

Stay happy while offline | World's first offline search engine.
https://chrome.google.com/webstore/detail/opengenus-offline-search/lfoloadpfjildomeafpdopahkdaoofbn
GNU General Public License v3.0
619 stars 112 forks source link

Offline API documentation #128

Open amitguptagwl opened 6 years ago

amitguptagwl commented 6 years ago

This is a(n):

Details: I work on many programming /scripting languages. Hence mix their syntaxe. It's more frustrating when I'm out of Internet because of xyz reason.

I wonder if we can bring API documentation of famous libraries also offline. Eg. devdocs.io , previously this site was working offline through chrome plugin but now I need to be online. If we bring some feature like them

Would you like to work on this issue?

AdiChat commented 6 years ago

Hi Amit, Welcome to our OpenGenus community :family_man_woman_girl_boy:

Yes, providing documentation offline will be a great feature. :+1:

One possible easy and a scalable path towards solving this is to crawl an online documentation recursively and save it as a text document or a single html file (possible through existing modules).

After this, the task is to integrate with our extension which will provide the existing features to be used with any API documentation :book: .

You can develop the script in any language and focus on one particular API documentation (such as Java) at the moment. After this, we can work on this to make it more effective and extensible to other documentations.

Feel free to get in touch regarding anything. Keep us updated on your progress. :+1:

amitguptagwl commented 6 years ago

Sure, I'll start it in few days. And will update you with the progress.

amitguptagwl commented 6 years ago

I'm also wondering if we should keep documentation version wise. And if there is any small change then should we maintain the whole copy for another version or just the change?

It'll be little tricky to implement but can save a lot of space. In addition, it can also compare multiple versions for changes.

AdiChat commented 6 years ago

Yes, for different versions of the same documentation, we must store only the difference. This will improve the setup time and will result in great features like comparing different versions, analysing progress of various technologies and others. :+1:

For most basic users, the latest version of a documentation should address the majority of the queries. Different versions will be useful for advanced or experienced users. With the development of additional features, it will be of interest to all users. :smile:

You may, initially, work on integrating the latest (or any one) version of a particular documentation. :+1:

Once done, we can work on the feature of storing different versions as a separate feature. This will be globally applicable as we can use the same structure for the documentations, code data-store and other future data-related feature. :sparkles:

amitguptagwl commented 6 years ago

I've just checked and found that devdocs is already open source and works offline. So I believe there is no need to create another repo.

Going further, I've created a collection for such tools.

AdiChat commented 6 years ago

Okay :+1:

Our approach towards solving this problem is more general and goes beyond documentation. If anyone wants to work on this feature, free feel to let us know and go for it. :smile:

amitguptagwl commented 6 years ago

I believe you mean version difference. What should be the end result in that case? As the process will be automated, what we can show is just text difference. We can't actually say which api is added, removed, or updated.

let me know what do you think.