Skip to content
Snippets Groups Projects
Commit e4b98cd2 authored by Giannis Kopanas's avatar Giannis Kopanas Committed by Alexandros Georgantas
Browse files

fix(config): update config bookbuilder script

parent f340d322
No related branches found
No related tags found
1 merge request!23Add dynamic component types
......@@ -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',
},
],
......
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