This is the repository for all the documentation for the Clarify.io API which is currently at docs.clarify.io.
While this is the current version of our documentation, it was not the first. Check out An Evolution on Documentation to understand some of our how and why we got here.
- Create a file in the _quickstarts folder for the Quickstart you plan to write
- Make sure to set the 'languages' array, that determines which tabs appear for the code samples
- Make sure to set the 'navtitle' and 'order' values, those determine the link and its order in the sidebar navigation
- Include the sections which you need from the _includes/sections folder
- Anytime you want to include a code sample, create a variable called 'tabs' with the name of your samples and include /structural/tabs.html
- Whatever string you use for the 'tabs' variable should be the name of your code samples.
- For example, if 'tabs' equals 'monkey' then your PHP sample would be in _includes/source/php/monkey.md while the curl example would be _includes/source/curl/monkey.md
- Once you have all the samples you want in whatever language, simply add that language to the 'languages' array in the Quickstart front matter.
- Make sure that you have all the samples for a given language before you turn it on. Otherwise the includes will fail and Jekyll won't update the pages.
Convert existing siteSet up basic template w/ header, footer, etcMove all the code from Gists into the repoFind a good syntax highlighterAdd a page of errorsAdd a page of callback formats- Convert the swagger iframe to actual docs
- Insights & Reports
- Spoken Words Report
Topics Insight (beta)- Closed Captioning (beta)
- Code samples
- Implement PHP for everything
- Implement Python for everything
- Implement Java for everything
- Implement Ruby for everything
- Implement Node for everything
- Implement C# for everything
Rename includes to be easier to predictAdd the bundle callback to the basic search quickstart- Replace the "processed" search results with the raw json
- Add keyword processing to that quickstart
- Formatting
Make it so that things outside paragraphs are formatted correctlyRemove the paragraphsKill some of the stupid CSSImprove the formatting of inline code/words to stand out betterMake sure links open in the right windowsSimplify includes to minimize duplicationFix the header/footer margin around the code samplesExpand the margin between the code samples and the next paragraph/textConvert back to the default syntax highlighting where possible
Use front matter betterTag things that are in beta and invite-onlyAdd quickstarts to sidebar via a collectionShift messages into a subfolder
Move media list out of WordPress
If you want to run this locally yourself, check out Github's getting started documentation here: https://help.github.com/articles/using-jekyll-with-pages/
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request from github