duckduckgo / duckduckgo-documentation

Deprecated - OLD - See Below
Other
44 stars 60 forks source link

Docs Simplification #328

Open talsraviv opened 9 years ago

talsraviv commented 9 years ago

@zekiel @moollaza @russellholt in preparation for tomorrow

What's left in order of priority - correct me otherwise:

Questions:

Random:

russellholt commented 9 years ago

@talsraviv You're seeing the fact that goodies and spice are slowly converging. most of the JS stuff applies to both. The global object Spice is really an alias to the global object DDH. so Spice.add() should really be DDH.add(). The main divergence is the interface, which isn't going to be addressed until the next generation of the api. for a spice that's currently the ddg_spice_* function that calls DDH.add() (formerly Spice.add), whereas for a goodie that's the DDH.X.build function which returns an object. The argument to DDH.add() for a spice, and the object returned by build for a goodie have the same format.

talsraviv commented 9 years ago

@zekiel @moollaza as far as submitting section the pages are:

screen shot 2015-10-16 at 10 49 45 am

We'll discuss what's most important for each to contain on the call today with @russellholt

talsraviv commented 8 years ago

@russellholt @moollaza check out the last commit if you can - I want to make sure I got it right especially on the DDG/DDH/Spice namespaces.

talsraviv commented 8 years ago

@Eelviny @moollaza last commit incorporates your latest feedback - thanks!

talsraviv commented 8 years ago

@moollaza @zekiel just pushed up the submission section - take a look. I used Zaahir's checklist and tried to keep it as straightforward and focused as I could. I divided it into what I thought should be explicit and what I will work into the rest of the docs.

talsraviv commented 8 years ago

@moollaza btw the current docs mention checking for possibility of XSS - is that still relevant?

talsraviv commented 8 years ago

(In the meantime I'm also reviewing asana/github issues to keep this branch updated with suggestions, seems good for now)

moollaza commented 8 years ago

@moollaza btw the current docs mention checking for possibility of XSS - is that still relevant?

Yes, I just plugged an XSS issue this week. It's still required for the simple structured_answer in Goodies, and certainly possible in Spice's when using custom templates

talsraviv commented 8 years ago

Just a note: I've been making all changes in a temporary repo on my account to be able to stage it on gitbooks without changing the main docs: https://github.com/talsraviv/duckduckgo-documentation-gitbook