-
Notifications
You must be signed in to change notification settings - Fork 105
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
Improve the documentation #75
Comments
Have you taken a look at the interactive Remote Browser tour? It goes into much more detail than the README, and it allows you to run working examples in your browser. It would be great to improve the documentation, and we would greatly appreciate your contributions here. Our general thoughts on the README is that it should serve as a relatively concise overview of the project. That's why the tour exists as a separate project to cover how things work in more depth than the README. We think that the sort of additions that you're discussing would work best if we introduce some organizational hierarchy in the project. One way to do this would be to have a It would also be great to see third-party guides and tutorials relating to Remote Browser. We would be happy to link to these from the README, and could host them on the Intoli blog if someone doesn't have a blog of their own. |
So somehow I did go through the remote browser tour and yet missed the little details that I mentioned in this issue. I could think of a few topics and write a more detailed doc and we can take a call on linking it or hosting it. However, prior to that, is there anything that you would like me to contribute to in this project itself? Maybe a reference documentation? So, when I did create this issue it wasn't about improving just the README, but overall providing exhaustive documentation of all features. I am currently not aware of the entire codebase, but can pick up specific topics which we might think are important and would love to contribute. Let me know what you think |
Hey @rohanprabhu, sorry for the slow response here. This is definitely still something that we want to pursue. Because so much of the functionality of the library is provided by the Web Extensions API, I think that the most useful contributions at this point would be more comprehensive test coverage and documentation examples. There was recently an issue (#71) where somebody tried to do request interception and ran into a bug/limitation of the serialization. Realistically, there are probably more issues of this nature out there. I think that adding documentation/examples for specific use-cases and writing corresponding tests would likely turn up some of this areas that need more polish. |
That sounds like a good idea. Sorry for the delay from my side too, I have been very busy with work. Let me take this weekend and I'll try to come up with a list of things I think can be addressed and then we can discuss them further? |
Sounds good! |
Dear @sangaline, Is the project still maintained ? Kind Regards |
I have recently started using remote-browser and when I was working on it, I realized that the documentation is extremely lacking and it took me snooping around the code a lot of time to figure out what's happening.
Towards that effort, I would like to work on the documentation for this project and hence creating this issue so that we can discuss what all needs to be covered. A list of topics off the top of my head are:
evaluateInContent
function and the rationale behind why variables are not closed-over. This one took me quite some time to figure out till I realized that the function is serialized and sent over to the browser. In retrospect, it looks quite obvious, but would be very deterring to new users.evaluator.readyState
works, but it didn't work for me. I am using a kind-of hack to wait before proceeding:I was thinking of starting with some basic additions to the current README, maybe add more details to each section - especially places where I got stuck and then move on to a caveats guide as well. Before starting, I'll share a quick outline of what I am thinking about the documentation and once we both agree that it looks good, I'll write it out and submit a PR.
Please let me know what else you think can be useful and should be included in the documentation and I'll work on the outline accordingly.
The text was updated successfully, but these errors were encountered: