Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@goerz goerz released this 15 Dec 04:43
· 59 commits to master since this release
v0.4.0
  • Added: The label in the top left corner of the version menu can now be configured in conf.py (setting menu_title).
  • Added: --default-branch option, group for folder specifications, and default-branch field in versions.json (#12)
  • Changed: The default --versions now uses , automatically picking up on either "master" or "main" as the default branch (#12)
  • Changed: The default template for index.html now automatically forwards to the default-branch (based on the --default-branch option, instead of just "master"), or the first available branch if there is no released version (#12)

This release addresses two major compatibility issues:

  1. Both git and Github have recently switched the name of the default branch from "master" to "main". This release adds support for new projects using "main" as their default branch.
  2. As of December 2020, Travis CI has stopped their support for open source. Consequently, Doctr can no longer be used to deploy documentation at no cost. This release adds rudimentary support for deploying the documentation with Github Actions instead of Doctr, see Deployment with Github Actions.