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

Offline API documentation #128

Open
2 of 7 tasks
amitguptagwl opened this issue Apr 28, 2018 · 7 comments
Open
2 of 7 tasks

Offline API documentation #128

amitguptagwl opened this issue Apr 28, 2018 · 7 comments
Labels

Comments

@amitguptagwl
Copy link

This is a(n):

  • New feature proposal
  • Reporting a keyword
  • Error
  • Proposal to the Search Engine
  • Other

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?

  • Yes
  • No
@AdiChat
Copy link
Member

AdiChat commented Apr 28, 2018

Hi Amit, Welcome to our OpenGenus community 👨‍👩‍👧‍👦

Yes, providing documentation offline will be a great feature. 👍

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 📖 .

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. 👍

@AdiChat AdiChat added enhancement ✨ New feature or request new feature 🏆 labels Apr 28, 2018
@amitguptagwl
Copy link
Author

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

@amitguptagwl
Copy link
Author

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
Copy link
Member

AdiChat commented Apr 29, 2018

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. 👍

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. 😄

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

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. ✨

@amitguptagwl
Copy link
Author

amitguptagwl commented Apr 30, 2018

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
Copy link
Member

AdiChat commented Apr 30, 2018

Okay 👍

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. 😄

@amitguptagwl
Copy link
Author

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.

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

No branches or pull requests

2 participants