openstax / poet

VSCode Extension to edit OpenStax books
https://gitpod.io/#https://github.com/openstax/poet
GNU Affero General Public License v3.0
2 stars 5 forks source link

More validation for assumptions made in Enki #203

Closed TylerZeroMaster closed 3 months ago

TylerZeroMaster commented 4 months ago

Book slugs are defined in three places--books.xml, collection file name, collection file metadata--and must match in all three places. This is a common source of build errors in newly created books. Most processes in Enki use the slug from the books.xml file, however, there are a few exceptions.

Codify the assumptions made about book slugs.