Skip to content

Bookbinder v8.0.0

Compare
Choose a tag to compare
@animatedmax animatedmax released this 23 Feb 18:59

This release contains a breaking change, other new features, and a bug fix.

Breaking Change

Customizable Push Environment
In previous versions, Bookbinder could only push to one of three defined environments: Staging, Acceptance, and Production. Bookbinder now allows a book administrator to define any number of push environments in the credentials.yml file for a book, and to push to any of these environments with the bookbinder push_local_to command.

Other Features

Subnav generation implementation change
Specifying subnav_topics under the products key and associating this to a section via product_id allows users to generate their own navigation-related json by specifying topics in a config.yml and parsing the topic's specified table of contents page for navigation items, rather than defining as static HTML (as with subnav_template). This json can then be consumed with a javascript library (e.g. React.js) to create your subnav.

Previously, this feature was enabled under the subnavs, topics, and subnav_name keys. We have changed the implementation to reflect the first-order nature of products and their one-to-one relationship with subnavs.

Submodule dependency support
bookbinder bind remote now uses the --recursive flog when git cloning repositories to honor possible submodule dependencies.

Bug Fix

  • Index pages in the subnav were not highlighted when browsed to using the directory name file form of the URL. This release resolves this issue.