Add-on Documentation Guidelines
Last updated 11 November 2019
The Heroku Add-on catalog is a unique marketing channel that places the add-on in front of a large and diverse group of technologists and is capable of accelerating its adoption and awareness. Well-written and maintained Dev Center documentation is central to clearly identifying the service benefits to the various language communities and provides confidence to developers considering integrating the add-on into their application.
Many add-on partners maintain product documentation on their own site and attempt to remove all areas of duplication by linking to their site documentation throughout the article or by providing a very thin document that delegates back to the partner’s site. This documentation approach is not appropriate for the Dev Center.
Developers look to the Dev Center as their first resource for all topics surrounding the platform and add-ons and as many of their questions as possible should be answered on this initial visit. It creates a very inconsistent and poor experience for the reader to have to navigate outside the Dev Center. The user experience is paramount at Heroku.
Additionally, the Dev Center should be thought of as its own marketing channel. Different channels necessarily duplicate some content to speak more directly to that particular audience. The business benefits far outweigh any minor administrative overhead incurred.
Developers unfamiliar with an add-on may have very little knowledge about the functionality it provides, how to integrate it with their preferred language or even how to use it during development and testing. It is important to provide both broad context and specific examples to ensure complete coverage.
To aid in this task, Heroku provides a starter-template that can be used as a starting point for add-on documentation. It includes topics that have been found to increase clarity and reduce developer confusion.
Copy the template to your local environment for editing.
$ curl https://devcenter.heroku.com/articles/add-on-template.md > addon-doc.md
Dev Center documentation is written using a slight extension to the text-based GitHub Flavored Markdown format. Any text editor can be used to edit the article.
Open the article and replace the following keywords with the appropriate values for the article’s add-on.
||The name of the add-on. E.g.
||The shorthand name used by the CLI and Add-on site URL. E.g.
||The name of the add-on config expose to integrated apps. E.g.
Sections wrapped in
]] brackets are notes to the author and should be
removed before publishing.
Many of the sections in the starter template may not be appropriate for the add-on being documented. In such cases the sections can be removed. However, this should be the exception and not the rule as these sections have been found create the best experience for potential users of the add-on.
In order to provide a consistent experience across the Dev Center, Heroku has created a writing guide with clear style, structure and formatting guidance. Please read the writing guide to ensure the add-on documentation maintains consistency with the rest of the Dev Center content.
About the add-on
Please describe the details of the service you are providing in the opening section. Information you may want to include are: 1) how the service works 2) the benefits of your service. 3) how your service differs from other options in the market place. Developers have many choices in application services, use this as an opportunity to convince them of the value of your offering.
Heroku is a polyglot platform. Add-ons should also support the tenet of polyglot application development by providing code samples in languages supported by the add-on. The starter template has several areas where code and integration samples are given in Ruby followed by a placeholder for other languages. Please complete the other language sections with as much detail as the Ruby section as possible.
Documenting support for only a single language severely limits the potential market for the add-on amongst Heroku’s increasingly polyglot developer-base.
Many services support the rendering of Markdown into HTML. One commonly used tool is GitHub Gists. Storing the article in a private gist and using it to collaborate with others during the writing process is a common and convenient practice.
If review and feedback is desired, please contact the Heroku Add-ons team at email@example.com.
The CloudAMQP add-on documentation is a great example of a well-written, consistent and polyglot document.
Once the add-on article has been created, please follow the submission process in the Add-on Partner Portal to submit the documentation.
Content is only as compelling as it is relevant. Add-on partners should ensure their Dev Center documentation stays up-to-date with new versions and language releases.