You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.7 KiB

  1. # ADR 035: Documentation
  2. Author: @zramsay (Zach Ramsay)
  3. ## Changelog
  4. ### November 2nd 2018
  5. - initial write-up
  6. ## Context
  7. The Tendermint documentation has undergone several changes until settling on the current model. Originally, the documentation was hosted on the website and had to be updated asynchronously from the code. Along with the other repositories requiring documentation, the whole stack moved to using Read The Docs to automatically generate, publish, and host the documentation. This, however, was insufficient; the RTD site had advertisement, it wasn't easily accessible to devs, didn't collect metrics, was another set of external links, etc.
  8. ## Decision
  9. For two reasons, the decision was made to use VuePress:
  10. 1) ability to get metrics (implemented on both Tendermint and SDK)
  11. 2) host the documentation on the website as a `/docs` endpoint.
  12. This is done while maintaining synchrony between the docs and code, i.e., the website is built whenever the docs are updated.
  13. ## Status
  14. The two points above have been implemented; the `config.js` has a Google Analytics identifier and the documentation workflow has been up and running largely without problems for several months. Details about the documentation build & workflow can be found [here](../DOCS_README.md)
  15. ## Consequences
  16. Because of the organizational seperation between Tendermint & Cosmos, there is a challenge of "what goes where" for certain aspects of documentation.
  17. ### Positive
  18. This architecture is largely positive relative to prior docs arrangements.
  19. ### Negative
  20. A significant portion of the docs automation / build process is in private repos with limited access/visibility to devs. However, these tasks are handled by the SRE team.
  21. ### Neutral