Commit e4b98cd2 authored by Giannis Kopanas's avatar Giannis Kopanas Committed by Alexandros Georgantas

fix(config): update config bookbuilder script

parent f340d322
......@@ -40,19 +40,27 @@ module.exports = {
{
name: 'Frontmatter',
showNumberBeforeComponents: [],
allowedComponentTypes: ['component'],
allowedComponentTypes: [
{ value: 'component', title: 'Component', predefined: true },
],
defaultComponentType: 'component',
},
{
name: 'Body',
showNumberBeforeComponents: ['chapter'],
allowedComponentTypes: ['chapter', 'part', 'unnumbered'],
allowedComponentTypes: [
{ value: 'chapter', title: 'Chapter', predefined: true },
{ value: 'part', title: 'Part', predefined: true },
{ value: 'unnumbered', title: 'Unnumbered', predefined: true },
],
defaultComponentType: 'chapter',
},
{
name: 'Backmatter',
showNumberBeforeComponents: [],
allowedComponentTypes: ['component'],
allowedComponentTypes: [
{ value: 'component', title: 'Component', predefined: true },
],
defaultComponentType: 'component',
},
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment