March 2, 2018
RBTLIB v0.3.0 On Read The Docs
In RBTLIB v0.3 Update (Part 2)
, I discussed introducing complexity measures to RBTLIB
. Recently, I've introduced Sphinx
and taken advantage of Read the Docs
Sphinx is a documentation generator for Python and other languages.
Read the Docs lets you create, host and search project documentation.
The combination of the two coupled with GitHub
creates a publishing environment that allows me to update my project documentation push it to GitHub and have the documentation published on Read the Docs within minutes. Simple.
Part of the move to Read the Docs included a clean up of the naming for the project. I moved away from rbt to rbtlib for two reasons: I don't want to cause confusion between RBTools, which provides a command-line tool called rbt and my work.
It's not my intent to diminish the work that people are doing on Review Board and RBTools by causing confusion. I still don't know if my project will be successful. It is my hope that it may be useful to the Review Board team but I haven't engaged anyone there.
I learned through Kenneth Reitz's Requests
module that a best practice exists for API versioning: Semantic Versioning
. Seems sensible to adopt. I've moved from v0.3 to v0.3.0. Same release.
Semantic Versioning also helpfully includes advice on versioning projects in an alpha and beta stage: once I achieve my goals for v0.3.0 I'll be targeting v0.4.0.
I'd been using virtualenv
to develop RBTLIB and incorporated virtualenvwrapper
. Very nice set of tools.
RBTLIB documentation: http://rbtlib.readthedocs.io/en/latest/