Coder Social home page Coder Social logo

Comments (8)

AjayShanker-geek avatar AjayShanker-geek commented on September 26, 2024 1

Haha, I will look into if I am able to dump and convert in markdown. Hopefully I can use it markdown preview within Alfred

from alfred-docs-searches.

chrisgrieser avatar chrisgrieser commented on September 26, 2024

Huh, interesting. I once looked into devdocs, but didn't find any documentation on how to get their index. https://documents.devdocs.io/lang/index.json appears to be quite interesting. How did you find that one? Also any idea if there is a list of all available languages somewhere?

from alfred-docs-searches.

AjayShanker-geek avatar AjayShanker-geek commented on September 26, 2024

nvim-devdoc is the project I read.

from alfred-docs-searches.

chrisgrieser avatar chrisgrieser commented on September 26, 2024

I see. Huh, those indexes are undocumented, but if nvim-devdocs is using them, I guess they are good enough to use. List of languages/docs seems to be here: https://devdocs.io/docs.json

I'll see what I can do, does look pretty straightforward to implement.

from alfred-docs-searches.

chrisgrieser avatar chrisgrieser commented on September 26, 2024

Okay, I have completely rewritten the workflow to now use devdocs 😅

https://github.com/chrisgrieser/alfred-docs-searches/releases/download/2.0.0/alfred-docs-searches.alfredworkflow

from alfred-docs-searches.

AjayShanker-geek avatar AjayShanker-geek commented on September 26, 2024

Cool! That was fast

from alfred-docs-searches.

chrisgrieser avatar chrisgrieser commented on September 26, 2024

Had an empty Sunday for once 😅

from alfred-docs-searches.

chrisgrieser avatar chrisgrieser commented on September 26, 2024

Hmm, I think I prefer the current solution, since the Alfred window disappears as soon as switch to another app, while a browser tab persists, allowing you for example to switch between docs and your IDE.

Nonetheless, the current implementation still has much room for improvement, for instance it (mostly) lacks icons for the individual searches. The icons used by devdocs are too small to use for Alfred.

Also, I'd like to add shorter keywords for the docs, e.g. js for javascript. However, I am not familiar what the common shorthands are for the various languages, some sort of language → shorthand database would be great, but I am not aware of any.

from alfred-docs-searches.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.