DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Rob Renner
Rob Renner

Posted on • Updated on

How Foursquare Succeeded In Managing Developers’ Documentation

One of the most important but often overlooked aspects of building a strong developers’ community is DOCUMENTATION. Therefore it is always a good practice to see how the big players are already handling such issues.

In this article, I will give you a short overview of how Foursquare has managed to successfully deal with this stuff.

After reviewing the existing documentation they’ve launched an entirely new version of developer.foursquare.com, full of features β€œto help developers get started and explore their location intelligence tools".

There are two areas I want to cover in this short overview: Infrastructure and Feature Improvements.

INFRASTRUCTURE IMPROVEMENTS

βœ” Content managementβ€Šβ€”β€ŠJekyll framework is used to convert markdown documents into a reusable documentation platform while custom plugins help with faster and easier documentation update

βœ” Deploymentβ€Šβ€”β€Š there is a script used for building an image from Dockerfile and exposing Foursquare’s pages via Nginx web server

βœ” Automationβ€Šβ€”β€Š to decouple docs and allow fast live updates, buildings are picked up automatically via Travis-Ci

FEATURE IMPROVEMENTS

βœ” Searchingβ€Šβ€” β€Šwith the use of ElasticSearch Foursquare built a search engine reindexing with every docs site update. The search engine enables devs to find specific keywords, endpoints or error responses. What’s even more, the company has created an API allowing seamless integration to 3rd parties. Hence, integrating directly into IDEs like Android Studio and Xcode is easy

βœ” Endpoint Pagesβ€”β€Š due to the fact that endpoint pages have API responses, which is absolutely great, developers can easily see the expected output from endpoints

βœ” Sample Apps & Libraries β€Šβ€”β€Šthere have appeared additional Sample Apps. Thanks to them you can, for example, find the nearest coffee shop, pick a spot to jump out for a ride or even explore the real world through Augmented Reality. As for the new Client Libraries, they are now featured with support for Swift and Go

β€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”β€Šβ€”

Well, If you haven’t used Foursquare’s API yet, feel free to study their getting started guide. You will be able to create an account and have your first API call in 5 easy steps.

Based on: A New Experience for Developer Documentation & Resources by Arin Ray.

Original post.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.