A.8. Adding a New Chapter to the HBase Reference Guide

If you want to add a new chapter to the HBase Reference Guide, the easiest way is to copy an existing chapter file, rename it, and change the ID and title elements near the top of the file. Delete the existing content and create the new content. Then open the book.xml file, which is the main file for the HBase Reference Guide, and use an <xi:include> element to include your new chapter in the appropriate location. Be sure to add your new file to your Git repository before creating your patch. Note that the book.xml file currently contains many chapters. You can only include a chapter at the same nesting levels as the other chapters in the file. When in doubt, check to see how other files have been included.

comments powered by Disqus