duckduckgo / zeroclickinfo-fathead

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

Improve Apple Docs macOS: Add redirects to the output file #283

Closed jagtalon closed 8 years ago

jagtalon commented 8 years ago

Attention @duckduckgo/duckduckhack-contributors

The proposal:

Create redirect entries in output.txt (check out http://docs.duckduckhack.com/resources/fathead-overview.html to learn how that's done) so that searches like NSDate.compare and compare would link to the same article. Similar to how Dash works:

screen shot 2016-08-01 at 12 15 45 pm

What to do:

  1. Familiarize yourself with https://github.com/duckduckgo/zeroclickinfo-fathead/pull/278. This is a Fathead--you can learn more about Fatheads in http://docs.duckduckhack.com/resources/fathead-overview.html.
  2. As the parser iterates through all the methods, and properties, make sure to create entries for Class.method.

Who to contact for help:

Please contact @jagtalon or see other contact info.

Related Discussions, Issues, and Pull Requests (if available):

jagtalon commented 8 years ago

I got this, fam.

jagtalon commented 8 years ago

CC @sahildua2305 I'll be working along side you!

moollaza commented 8 years ago

@jagtalon @sahildua2305 just checking in. What's the status of this?

sahildua2305 commented 8 years ago

@moollaza This is done here - https://github.com/duckduckgo/zeroclickinfo-fathead/blob/master/lib/fathead/apple_docs_macos/parse.py#L114

moollaza commented 8 years ago

@sahildua2305 thanks for pointing that out!