Spotify Technical Documentation
Presented by Gary Niemen, Product Manager @ Spotify
The Hero's Journey
Solving Spotify's technical documentation at scale
Ordinary World
Referes to internal technical documentation (to assist amongst internal teams and engineers).
-
Spotify has a culture of self-managing teams how they want e.g. for the technical documentation every team member was writing documentation everywhere. It was scattered so other engineers had a hard time to find these documentations.
-
Not Finding the Information that you need was a 3rd company blocker amnogst engineers.
-
Their solution was inspired by a problem at Google.
Crossing The Threshold
-
Were able to create it in two weeks with support of other internal Spotify staff.
-
Had a CI/CD system.
-
Used mkDocs as the static site generator (stable and tested).
-
Storage on Google Cloud Storage.
-
Exposed the websites using their internal developer platform.
Hero's Journey Problems
-
Discoverability & Findability (search)
-
Trust (how can you trust what you find)
-
Maintenance
-
Feedback Loop (making comments to correct the docs incase of problems)
-
Hidden Knowledge (many engineers having unshared knowledge)
-
Ownership (no handover process to eventually ensure ownership)
-
Used and useful (Need to know that it is used and useful)
-
Adoption and Engagement (different needs cannot be ignored)
The key problem underneath is getting unstuck.
Creating a trust card (measuring using a percentage how reliable the documentation is)
Implementation of code-like graphics
The Reward
- Impact created in the company with well maintained technical documentation (positive feedback)
Success Factors
-
Cross-functional team (different team skillset)
-
Fully embraced docs like code
-
Quick development of a minimum lovable product
-
Good adpotions
-
Collaborations
-
Clear and inspiring vision
The Ressurection
- Convincing other technical writers that docs like code is the way to go.
Takeaways
-
Keep focused on the key problem.
-
Keep the solution simple.
-
Fiercely optimise for the engineer.
-
Enable others to build on the platform.
-
Standardize and centralize.
References
- The Hero's Journey (Joseph Campbell)
- Spotify TechDocs
- How we are solving internal technical documentation at Spotify -- Gary Niemen