functions.php should not contain any Roots specific code. It's just used to require files and bootstrap Roots. lib/init.php now handles initial theme setup and defines helper constants which did not belong in lib/config.php. config.php should be limited to strictly configuration settings.
Roots Theme documentation
Roots is a starting WordPress theme made for developers that’s based on HTML5 Boilerplate and Bootstrap from Twitter.
Getting started
- Usage — Overview of the project contents.
- FAQ — Frequently asked questions, along with their answers.
The core of Roots
- Theme library — A guide to the
lib/directory which contains all of the theme functionality, including: theme activation, the theme wrapper, clean up, and rewrites. - Theme templates — A guide to the
templates/directory which contains all of the theme templates.
Development
- Contributing to Roots — Guidelines on how to contribute effectively.
- Extending and customizing Roots — Going further with Roots.