DevDocs API Documentation
devdocs.io
devdocs.io
* It links to the real documentation
* world class search
* lets you pick and choose versions and languages/frameworks you want to have searchable
* provides a consistent UI across all docs which is fantastic when you are switching between several while developing.
* Is updated with terrifying frequency (I don't think I've ever opened it and NOT had some kind of docs update notification!)
* There are editor plugins available that let you press a key and open the highlighted word as search in devdocs.io
If you use devdocs.io and feel like it has saved you time or money, donate to them on Gratipay [0].
* Ability to tab-select [1] a language to limit your search to.
The lack of this feature in Zeal [2] is one of the reasons I stay with devdocs although i tend to like old-school real desktop apps.
[1] (Write the lang and press tab)
Behaves like a substitute for man pages with most useful examples. Saved me hours of googling and searching.
Also, works on GNU/Linux and Windows. Also, free software. Also, I'm the co-author.
I know the whole point of Dash is to have locally cached, offline documentation copies, but I was thinking it would be amazing to use that to feed Helm candidates, but actually open the real, live documentation page.
It seems there are some docsets already doing that[1]. Creating your own docsets is dead easy. just a simple sqlite3 file with a single table.
You can find an example I hacked myself here[2] (very hackish).
It's basically creating a table:
create table searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT);
CREATE UNIQUE INDEX anchr ON searchIndex (name, type, path);
And filling it with data: insert into searchIndex(name,type,path) VALUES ('foo','function','https://example.com')
[1]. https://github.com/areina/helm-dash/issues/65 .The helm-dash repo tagline on GitHub says "Browse Dash docsets inside emacs", so I quickly dismissed it as I don't use Mac.
Reading a bit further, now I see that it doesn't need Dash to be installed. So that's great! I'll see if an ivy/counsel version is out there.
Yep, helm-dash can download docsets from dash servers and use them without the need of Dash whatsoever.
https://github.com/nathankot/counsel-dash .
Enjoy!
There are a few main things that will probably keep me on Dash, for the time being. In no particular order:
1. Global shortcut - Being able to quickly show-search-hide from anywhere is extremely useful for me. I can quickly refresh myself on the syntax of an uncommon function. The faster I can do that, the less likely I am to break my flow.
2. Support for random/obscure projects - On top of community-added docs, Dash lets you point it at any random GitHub project and it will pull down the README. This has come in handy plenty of times for me when using small tools and components. Sure, it's not as nice as full documentation, but it's nice having that README searchable in the same place and offline (see reason #1).
3. Docsets - Dash lets you define groups of frameworks (etc.) and name them. You can even specify which version of a framework to use in the docset. This allows me to tailor my results to a particular stack, depending on which project I'm currently working on.
EDIT: I should read :)
http://www.loopinsight.com/2016/10/10/apple-responds-to-dash...
In any case, it's water long under the bridge now, and Dash is an excellent app used my many developers (including within Apple). Trying to poison the well is in pretty bad taste.
Facts not up for debate: the developer of Dash enrolled two accounts in the ADP with the same credit card, and these accounts shared at least one test device. One of these accounts participated in obvious fraudulent activity.
Unfortunately, nobody is around to corroborate Bogdan's side of the story. As far as we know, Bogdan made up his supposed relative/friend (ala "I didn't send that embarrassing text to my crush - it was my asshole friend!") to escape blame. And even if his side of the story is true, how is he not partially culpable for the fraud? By enrolling an account with his credit card and giving it to someone else, he enabled them to commit fraud on the App Store. If I buy a gun and give it to my brother and he shoots someone, am I not partially responsible for that outcome?
It's not quite damning enough for me to not use Dash, but it doesn't exactly give me faith in Dash's developer either.
They’re allegations, sure. I said that in my second comment. But Tom didn’t hedge his words there.
Publishing the phone call was kinda dumb, yeah, but it's still pretty far from "engaging in unethical practices". It seems more like a guy feeling cornered, acting under pressure and making bad decisions.
[1] https://blog.kapeli.com/dash-for-ios-back-on-the-app-store
Disclaimer: I'm the maintainer of DevDocs
As a long-time dash user in the past, devdocs felt like home and just works nicely and without any unnecessary features.
For what it’s worth on Linux the open source alternative is Zeal
I can !dd with duckduckgo to get to devdocs, but I wish there was some natural language processing that knew I wanted to look up a cpp/rust what have you term and send me there.
Additionally, C# doesn't seem to be included, which is a big bummer.
Go to search bar -> type in 'devdocs' -> hit tab ("Search DevDocs"). You can then search directly.
It's pretty awesome.
How summon
Great work guys!
Don't feel like you have to donate, though. The app is cheap to host (one of the benefits of an offline-enabled, no-accounts-required, optimized-to-the-max web app is that the backend doesn't do much :P), and I'm lucky that MaxCDN & others are providing free service to the app.
What keeps me going is seeing the impact that DevDocs is having (people using and liking it). So the best way to "give back" is to spread the word, send a thank you note, and contribute (one thing in particular that would be great to see is more/better extensions & integrations with code editors).
(I'm the creator/maintainer of DevDocs)
I've been thinking about writing blog posts on DevDocs's internals and the techniques it uses for a while, but it's hard to find the time, especially when I already spend a lot of my spare time maintaining/updating the app.
That said, feel free to open a GitHub issue to remind me to write blog posts at some point (if there is interest), or if you have specific questions.
edit: nvm. I found it: https://marketplace.visualstudio.com/items?itemName=akfish.v...
Happy our paths crossed again here!
All of the code is licensed under MPL 2.0 [1], so you're welcome to reuse/modify it in your own projects.
You can submit pull requests to add new docs if you're so motivated.
It seems that this time it got more traction. Good luck with your project!
That being said, not every HackerNews reader is aware of every single project in the wild, so re-posting the link from time to time is a good idea, not only to let more people know about it but also to increase the contributions and donations which may be forgotten after the popularity fades away. I can see this re-posted many more times in the future.
Remember that every year new Computer Science students graduate and and they are going to be the ones saying "First time I see this project" next year. So let the re-posts flow no matter what.
Compare these two pages:
https://devdocs.io/javascript/global_objects/array/entries
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I think the blue "sections" on devdocs are really <h3> so they are not sections at all and it throws me off.
Also would love to see Racket notes.
(I'm the author.)
For offline docs. I prefer a native UX. I've found it doesn't always work well to access an offline capable page from my browser without internet.
There is an Electron app here — https://github.com/egoist/devdocs-desktop
Java is under the JDK section by the way.
Thanks for sharing!!
https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...
EDIT: NM it already supports offline mode. Nice work.
There were technical reasons in the past [1] but not anymore. Should be able to add those. Feel free to open GitHub issues so I don't forget.
[1] Non API entries are harder to index (need unique names); for a while I wanted to keep the app focused to API docs; and the scraping framework used to only support one root URL per doc (most docs host guides/manual on a different domain than API docs).
Some people here seem to recommend it and they have been using it a lot apparently. Where did you learn about it? Is there a community our there I am missing out on?
That being said, not every HackerNews reader is aware of every single project in the wild, so re-posting the link from time to time is a good idea, not only to let more people know about it but also to increase the contributions and donations which may be forgotten after the popularity fades away. I can see this re-posted many more times in the future.
Remember that every year new Computer Science students graduate and and they are going to be the ones saying "First time I see this project" next year. So let the re-posts flow no matter what.
To answer your question, there is no extracurricular community, it's just people like you and me who one day know the project, and next year decide to post it again so the new university graduates can learn about it, that's it.
If only it had the Elm docs as well :)
Source: the WhatRuns browser addin: https://www.whatruns.com/?source=plugin
DevDocs is running inside an Android WebView. Some features may not work properly.
And is it indexing all popular tools into one place and providing a search box?
Take a look at [0] and see if it would be worth the trouble of adding it yourself or at least starting the process.
[0] https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING....
Here's a list of all published Elm modules pointing to their respective packages: https://github.com/fiatjaf/module-linker/tree/backends/data/...
Scraped with this simple fish script: https://github.com/fiatjaf/module-linker/blob/backends/data/...