Skip to content

Commit c97f5c5

Browse files
committed
Better Contributing and Readme files (match format on Spice repos)
1 parent b23d277 commit c97f5c5

File tree

2 files changed

+57
-44
lines changed

2 files changed

+57
-44
lines changed

CONTRIBUTING.md

+37-20
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,59 @@
11
# Contributing an Instant Answer to DuckDuckGo.com
22

3-
> You can find the full [DuckDuckHack documentation here](http://docs.duckduckhack.com)
3+
## Learn to Make New Instant Answers
44

5-
Have an idea [that no one has done yet](https://duck.co/ia)? Improving an [existing Instant Answer](https://duck.co/ia/dev/issues)?
5+
Learn to make an Instant Answer by starting with our walkthroughs:
66

7-
1. **Before coding, [create an Instant Answer Page](https://duck.co/ia/new_ia) for your idea.** If you're fixing an existing Instant Answer, [locate its existing page](https://duck.co/ia).
7+
- Learn how to build a [convenient calculation tool](http://docs.duckduckhack.com/walkthroughs/calculation.html)
8+
- Learn how to turn an [external API into delightful search results](http://docs.duckduckhack.com/walkthroughs/forum-lookup.html)
9+
- Create a [cheat sheet for a favorite topic](http://docs.duckduckhack.com/walkthroughs/programming-syntax.html)
810

9-
> Instant Answer Pages are the "home base" for each Instant Answer. They are where the community plans, collaborates, and tracks the [life cycle](http://docs.duckduckhack.com/submitting/long-term.html) of all Instant Answers. It's where we aggregate pull requests, issues, attribution, and feedback.
11+
*UPDATE: We're aiming to have multiple Instant Answers for every programming language and framework. Jump in and help us [fill in the blanks](https://github.com/duckduckgo/duckduckgo/wiki/Programming-IA-Coverage).*
1012

11-
2. **Hack away, keeping the [Instant Answer Production Guidelines](http://docs.duckduckhack.com/submitting/checklist.html) in mind.**
13+
You can find the full [DuckDuckHack documentation here](http://docs.duckduckhack.com).
1214

13-
3. **[Submit a pull request](http://docs.duckduckhack.com/submitting/pull-request.html).**
15+
## Improve a Live Instant Answer
16+
17+
We welcome new contributors to dive in and improve live Instant Answers. It's a great, hands-on way to learn how things work:
18+
19+
- Have a [favorite Instant Answer](http://duck.co/ia) that you want to make even better? Feel free to dive in and make changes.
20+
- Help other DuckDuckHackers with their [Instant Answers in development](https://duck.co/ia/dev/pipeline)
21+
- Suggest improvements & file bugs for [live Instant Answers](https://duck.co/ia) through the, "Create Issue" button on each IA page
22+
- Tackle some of the "low-hanging fruit" and, "high priority" issues on our [Live Issues Page](https://duck.co/ia/dev/issues?tag=lowhangingfruit)
23+
24+
## Go Live on DuckDuckGo.com
25+
26+
The final step is to have your contribution appear on DuckDuckGo.com above ads and organic links, on [millions of searches](https://duckduckgo.com/traffic.html).
27+
28+
1. **[Create an Instant Answer Page](https://duck.co/ia/new_ia) as the home base for your idea.** If you're fixing an existing Instant Answer, [locate its existing page](https://duck.co/ia).
1429

15-
> Make sure to paste your Instant Answer page URL in the description. This will automatically link the two.
30+
This page will be the center for feedback, Github issues, attribution, deployment, and collaboration.
1631

17-
We're excited to meet you and support you along the way - and it's never too early to say hello. Join us on [Slack](mailto:[email protected]?subject=AddMe) or [email](mailto:open@duckduckgo.com).
32+
2. **Make sure your contribution meets the [Production Guidelines](http://docs.duckduckhack.com/submitting/checklist.html).**
1833

19-
*The opportunities to contribute don't stop here. Learn about [keeping your IA awesome](http://docs.duckduckhack.com/submitting/long-term.html).*
34+
3. **[Submit a pull request](http://docs.duckduckhack.com/submitting/pull-request.html).**
2035

36+
We're excited to meet you and support you along the way - and it's never too early to say hello. Join us on [Slack](https://quackslack.herokuapp.com) or [email](mailto:[email protected]).
2137

22-
## Pull Request Format
38+
## Formatting Your Pull Request
2339

2440
When submitting a pull request, the following guidelines help speed up the review process:
2541

26-
If your IA is new, use the format: `"New {IA TOPIC} {IA TYPE}"`. For example:
42+
### New Instant Answers
2743

28-
- "New Instagram Spice"
29-
- "New Firefox Cheat Sheet"
30-
31-
If you're submitting a fix, use the title format: `"{IA NAME}: Brief explanation`. For example:
32-
33-
- "PeopleInSpace: Use smaller local image, fallback to API when needed."
44+
1. New IAs should be titled as follows: **`New {IA TOPIC} {IA TYPE}`**. For example, `New Instagram Spice` or `New Firefox Cheat Sheet`
45+
46+
2. Paste the relevant [Instant Answer Page URL](https://duck.co/ia/new_ia) in the description field. This will automatically link the PR to the Instant Answer.
3447

35-
Include the issue number in the description (conveniently, this will automatically resolve the issue upon merging). Describe your motivation, thought process, and solution in the description. For example:
48+
### Improvements
49+
50+
1. Fixes should be titled as follows: **`{IA NAME}: Brief explanation`**. For example: `PeopleInSpace: Use smaller local image, fallback to API when needed.`
51+
52+
2. Paste the relevant [Instant Answer Page URL](https://duck.co/ia/new_ia) in the description field. This will automatically link the PR to the Instant Answer.
3653

37-
- "**Fixes #2038.** The images used by the API are very large and don't change often. I've but a smaller version of each image (and a 2x version for retina screens) in the share directory. The callback will try and load a local image based on the astronauts name and fallback to using the API's image if one does not exist."
54+
3. Include the issue number in the description (conveniently, this will automatically resolve the issue upon merging). Describe your motivation, thought process, and solution in the description. For example:
3855

39-
**Finally, don't forget to paste the relevant [Instant Answer Page URL](https://duck.co/ia/new_ia) in the description field**, while creating new pull requests. This will automatically link the two.
56+
"**Fixes #2038.** The images used by the API are very large and don't change often. I've put a smaller version of each image (and a 2x version for retina screens) in the share directory. The callback will try and load a local image based on the astronauts name and fallback to using the API's image if one does not exist."
4057

4158
> **IMPORTANT:** Don't worry if you get an initial error regarding failing Travis tests. The reason is that your IA page hasn't yet been moved out of the "Planning" status - which only community leaders/staff can do. As long as the ID in your IA page matches the ID in your code, and you've pasted the URL to your IA page, you can ignore this initial error.
4259

README.md

+20-24
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,37 @@
44

55
![](http://docs.duckduckhack.com/assets/hack search engine.png)
66

7-
**Instant Answers are an opportunity for anyone to create their own search results.**
7+
**We're a community dedicated to making delightful search results for everyone. We do this using existing APIs, external data sets, or just some well-placed code.**
88

9-
Instant Answers appear on DuckDuckGo.com above ads and organic links, on [millions of searches](https://duckduckgo.com/traffic.html). Instant Answers are created by an open source community of developers [around the world](http://duckduckgo.meetup.com/) like you. Welcome!
9+
*Instant Answers* appear on DuckDuckGo.com above ads and organic links, on [millions of searches](https://duckduckgo.com/traffic.html). Instant Answers are created by an open source community of developers [around the world](http://duckduckgo.meetup.com/) like yourself. Welcome!
1010

11-
You can find the [full documentation here](http://docs.duckduckhack.com). This is the repository for [one type of Instant Answers](http://docs.duckduckhack.com/welcome/determining-ia-type.html), called Goodies.
11+
*You can find the [full documentation here](http://docs.duckduckhack.com).*
1212

13-
## Create a New Instant Answer
13+
## Jump Right In
1414

15-
Learn to make an Instant Answer by starting with any of our quick tutorials. All of these are self-contained and will get you up and running. Pick whatever looks most interesting!
15+
The best way to learn about Instant Answers is to dive in with a walkthrough:
1616

17-
- **[Create a programming syntax cheat sheet](http://docs.duckduckhack.com/walkthroughs/programming-syntax.html)**
18-
- **[Create a quick online calculation](http://docs.duckduckhack.com/walkthroughs/calculation.html)**
19-
- **[Build an API-based lookup](http://docs.duckduckhack.com/walkthroughs/forum-lookup.html)**
17+
- Learn how to build a [convenient calculation tool](http://docs.duckduckhack.com/walkthroughs/calculation.html)
18+
- Learn how to turn an [external API into delightful search results](http://docs.duckduckhack.com/walkthroughs/forum-lookup.html)
19+
- Create a [cheat sheet for a favorite topic](http://docs.duckduckhack.com/walkthroughs/programming-syntax.html)
2020

21-
## Improve a Live Instant Answer
21+
We also welcome new contributors to learn by improving existing Instant Answers:
2222

23-
We welcome new contributors to dive in and improve live Instant Answers. It's a great, hands-on way to learn how things work. Start by [setting up your development environment](http://docs.duckduckhack.com/welcome/setup-dev-environment.html).
23+
- Tackle some of the "low-hanging fruit" and, "high priority" issues on our [Live Issues Page](https://duck.co/ia/dev/issues?tag=lowhangingfruit)
24+
- Help other DuckDuckHackers with their [Instant Answers in development](https://duck.co/ia/dev/pipeline)
25+
- Suggest improvements & file bugs for [live Instant Answers](https://duck.co/ia) through the, "Create Issue" button on each IA page
26+
- Have a [favorite Instant Answer](http://duck.co/ia) that you want to make even better? Feel free to dive in and make changes.
2427

25-
You can see all "low-hanging fruit" issues neatly organized in one place on our [Live Issues Page](https://duck.co/ia/dev/issues?tag=lowhangingfruit), or get an overview of all [Instant Answers in development](https://duck.co/ia/dev/pipeline).
2628

27-
Have a [favorite Instant Answer](http://duck.co/ia) that you want to make even better? Feel free to dive in and make changes.
29+
## Say Hello
2830

29-
## Inspiration
31+
[![slack](http://docs.duckduckhack.com/assets/slack.png) You should definitely join us on Slack](https://quackslack.herokuapp.com) (you can also [email us](mailto:[email protected])).
3032

31-
Instant Answers allow you to create your own search results. Here are some examples of what contributors have created. You can see [all live Instant Answers listed here](https://duck.co/ia).
33+
P.S.We're a digital community, but real people - we frequently meet up to hack together. Check out our [global meetups](http://duckduckgo.meetup.com/).
34+
35+
## Live Instant Answers Made by the Community
36+
37+
Here are some examples of what contributors have created. You can see [all live Instant Answers listed here](https://duck.co/ia).
3238

3339
Instant Answers can be quite dynamic...
3440

@@ -63,13 +69,3 @@ Other Instant Answers channel external sources (API requests):
6369
![App search Instant Answer example](http://docs.duckduckhack.com/assets/app_search_example.png)
6470

6571
The [possibilities are endless](https://duck.co/ia). **Our community's mission is to cover every topic with a community-generated Instant Answer.**
66-
67-
## Discuss with Us
68-
69-
Want help? Need to think out loud?
70-
71-
[![slack](http://docs.duckduckhack.com/assets/slack.png) Talk to us on Slack](mailto:[email protected]?subject=AddMe) or [email us](mailto:[email protected]).
72-
73-
We're a digital community, but real people - we frequently meet up to hack together. Check out our [global meetups](http://duckduckgo.meetup.com/).
74-
75-
You can find the [full documentation here](http://docs.duckduckhack.com).

0 commit comments

Comments
 (0)