aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/defaults.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta/defaults.d')
-rw-r--r--src/doc_reform/meta/defaults.d32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/doc_reform/meta/defaults.d b/src/doc_reform/meta/defaults.d
index e592be7..8b6edad 100644
--- a/src/doc_reform/meta/defaults.d
+++ b/src/doc_reform/meta/defaults.d
@@ -2,6 +2,38 @@
default settings
+/
module doc_reform.meta.defaults;
+template spineDocStatus() {
+ @safe static auto status() {
+ struct _e {
+ enum sect {
+ unset,
+ head,
+ toc,
+ substantive,
+ bibliography,
+ glossary,
+ book_index,
+ blurb,
+ }
+ enum block {
+ off,
+ closing,
+ code,
+ poem,
+ block,
+ group,
+ table,
+ quote,
+ }
+ enum ocn {
+ on, // 0 object_number;
+ off, // 1 no object_number;
+ dummy, // 2 no object_number & dummy headings
+ }
+ }
+ return _e();
+ }
+}
template spineRgxDocStructFlags() {
/+ regex flags +/
@safe static int[string] flags_type_init() {