devdocs

Maintainer’s Guide

This document is intended for DevDocs maintainers.

Merging pull requests

Updating docs

The process for updating docs is as follow:

Note: changes to public/docs/docs.json should never be committed. This file reflects which documentations have been downloaded or generated locally, which is always none on a fresh git clone.

Setup requirements

In order to deploy DevDocs, you must:

Thor commands

In addition to the publicly-documented commands, the following commands are aimed at DevDocs maintainers:

Deploying DevDocs

Once docs have been uploaded via thor docs:upload (if applicable), you can push to the DevDocs master branch (or merge the PR containing the updates). If the Travis build succeeds, the Heroku application will be deployed automatically.

If any issue arises, run heroku rollback to rollback to the previous version of the app (this can also be done via Heroku’s UI). Note that this will not revert changes made to documentation files that were uploaded via thor docs:upload. Try and fix the issue as quickly as possible, then re-deploy the app. Reach out to other maintainers if you need help.

If this is your first deploy, make sure another maintainer is around to assist.

List of maintainers

Interested in helping maintain DevDocs? Come talk to us on Gitter :)