duckduckgo / zeroclickinfo-fathead

DuckDuckGo Instant Answers based on keyword data files
https://duckduckhack.com/
Other
318 stars 365 forks source link

CSS: Create New Less CSS Fathead #634

Closed MariagraziaAlastra closed 7 years ago

MariagraziaAlastra commented 7 years ago

Create a new Less Fathead Instant Answer

Help us make DuckDuckGo the best search engine for programmers!

What do I need to know?

You'll need to know how to code in Perl, Python, Ruby, or JavaScript. fathead languages

What am I doing?

You will write a script that scrapes or downloads the data source below, and generates an output.txt file containing the parsed documentation. You can learn more about Fatheads and the output.txt syntax here.

Data source: http://lesscss.org/ We can start by covering the functions (http://lesscss.org/functions/) and then language features (http://lesscss.org/features/)

Instant Answer Page: to be created by developer

What is the Goal?

As part of our Programming Mission, we're aiming to reach 100% Instant Answer (IA) coverage for searches related to programming languages by creating new Instant Answers, and improving existing ones.

Here are some Fathead examples:

See more related Instant Answers

Get Started

Resources

beng commented 7 years ago

i'd like to take this

beng commented 7 years ago

in the color operating and color blending sections (and also scattered throughout the docs) there are images that show the user the output of calling each function with various parameters. should i capture these images in the output.txt?

hchienjo commented 7 years ago

Thanks @beng for offering to do this. As at now, the fathead support referencing one image and I see that there are two images. So for now we can focus on capturing the example and output parts instead of the image output.

beng commented 7 years ago

@hchienjo yeah, that makes sense except there are some functions where output is the image, eg multiply (seen here). should i only extract the example for these functions and ignore the output?

hchienjo commented 7 years ago

For the moment yes, you can ignore the output images but you can capture the returns part and maybe one example as well for that case.

mayank commented 7 years ago

I am picking this.

pjhampton commented 7 years ago

Sorry, @mayank. This is a duplicate issue which is already being worked on (https://github.com/duckduckgo/zeroclickinfo-fathead/issues/764). Please see https://github.com/duckduckgo/zeroclickinfo-fathead/issues/747 for high value tasks.

pjhampton commented 7 years ago

I have pinged @beng on Slack

mayank commented 7 years ago

@pjhampton It's okay I will pick something else.