Skip to main content

Introducing the TechDocs Addon Framework

· 3 min read

This blog post is co-authored by Eric Peterson (@iamEAP), Spotify.

backstage header

TL;DR: Introducing the TechDocs Addon Framework — a way for us all to contribute and share additional features, TechDocs Addons, on top of the base docs-like-code experience.

TechDocs is a centralized platform for publishing, viewing, and discovering technical documentation across an entire organization. It's a solid foundation! But TechDocs doesn't solve higher order documentation needs on its own such as: How do you create and reinforce a culture of documentation? How do you build trust in the quality of technical documentation?

To address this need, we’re proud to introduce the TechDocs Addon Framework — a way for us all to contribute and share additional features, TechDocs Addons, on top of the base docs-like-code experience. Using TechDocs Addons, you can customize the TechDocs experience to address some of these higher order needs.

We plan to open source many of the TechDocs Addons that we use at Spotify. The first Addon we open sourced is ReportIssue, which you can start using today. ReportIssue enables you to highlight text on a page and quickly raise a templated issue for that text, in your version control system (currently supports GitHub and GitLab). The following images depict this Addon in practice.

techdocs-addon1

techdocs-addon2

Other Addons coming soon include a Stack Overflow card to surface relevant questions and answers and an Issue Counter.

techdocs-addon3

We encourage you to use Addons that we open source and contribute Addons of your own as you solve technical documentation problems arising in your company. We can’t wait to see what you come up with!

Here are some resources to help you get started with new TechDocs Addons:

Next steps

At present, the TechDocs Addon Framework is focused on frontend experiences only. We know what’s available now is a solid foundation, but based on our experience developing and maintaining Addons over several years, we know there’s more to be done.

One such pattern is the occasional need for Addons to retrieve or compute data that is not easily accessible. Examples of these at Spotify are Last Updated and Top Contributors. Seemingly simple, these Addons require the ability to run non-trivial git commands to determine when documentation itself was last updated, and by whom.

techdocs-addon5

This next step is a bit more tricky and we would like to work with you all to make it happen. Take a look at this issue in the GitHub repo, let us know what you think, and feel free to get involved.