1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
module doc_reform.meta.metadoc_show_config;
template spineShowConfig() {
@safe void spineShowConfig(T)(
T doc_matters,
) {
import
doc_reform.meta.defaults,
doc_reform.meta.rgx;
import
std.array,
std.exception,
std.regex,
std.stdio,
std.string,
std.typecons,
std.uni,
std.utf,
std.conv : to;
mixin InternalMarkup;
auto markup = InlineMarkup();
auto min_repeat_number = 66;
auto char_repeat_number = (doc_matters.conf_make_meta.meta.title_full.length
+ doc_matters.conf_make_meta.meta.creator_author.length + 4);
char_repeat_number = (char_repeat_number > min_repeat_number)
? char_repeat_number
: min_repeat_number;
if (doc_matters.opt.action.show_config
&& doc_matters.opt.action.debug_do
) {
writeln(doc_matters.conf_make_meta.conf);
}
if (doc_matters.opt.action.show_config) {
writefln(
"%s\n\"%s\", %s\n%s\n%s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n%30-s%10-s\n",
markup.repeat_character_by_number_provided("-", char_repeat_number),
doc_matters.conf_make_meta.meta.title_full,
doc_matters.conf_make_meta.meta.creator_author,
doc_matters.src.filename,
markup.repeat_character_by_number_provided("-", char_repeat_number),
"- webserv domain name:",
doc_matters.conf_make_meta.conf.w_srv_domain,
"- webserv doc root (part):",
doc_matters.conf_make_meta.conf.w_srv_data_root_part,
"- webserv doc path:",
doc_matters.conf_make_meta.conf.w_srv_data_root_path,
"- webserv images (location):",
doc_matters.conf_make_meta.conf.w_srv_images_root_part,
"- webserv doc root url:",
doc_matters.conf_make_meta.conf.w_srv_data_root_url,
"- webserv cgi domain (host):",
doc_matters.conf_make_meta.conf.w_srv_cgi_domain,
"- webserv cgi host path:",
doc_matters.conf_make_meta.conf.w_srv_cgi_bin_path,
"- webserv cgi host (part):",
doc_matters.conf_make_meta.conf.w_srv_cgi_bin_part,
"- webserv cgi search script:",
doc_matters.conf_make_meta.conf.w_srv_cgi_search_script,
"- webserv cgi search script in d:",
doc_matters.conf_make_meta.conf.w_srv_cgi_search_script_raw_fn_d,
"- webserv cgi port:",
doc_matters.conf_make_meta.conf.w_srv_cgi_port,
"- webserv cgi user:",
doc_matters.conf_make_meta.conf.w_srv_cgi_user,
"- webserv cgi url:",
doc_matters.conf_make_meta.conf.w_srv_cgi_bin_url,
"- webserv cgi action:",
doc_matters.conf_make_meta.conf.w_srv_cgi_action,
// "- webserv cgi file links:",
// doc_matters.conf_make_meta.conf.w_srv_cgi_file_links,
"- webserv sqlite db:",
doc_matters.conf_make_meta.conf.w_srv_db_sqlite,
"- output path:",
doc_matters.conf_make_meta.conf.output_path,
"- processing concordance max:",
doc_matters.conf_make_meta.conf.processing_concord_max,
"- flag act0:",
doc_matters.conf_make_meta.conf.flag_act0,
"- flag act1:",
doc_matters.conf_make_meta.conf.flag_act1,
"- flag act2:",
doc_matters.conf_make_meta.conf.flag_act2,
"- flag act3:",
doc_matters.conf_make_meta.conf.flag_act3,
"- flag act4:",
doc_matters.conf_make_meta.conf.flag_act4,
"- flag act5:",
doc_matters.conf_make_meta.conf.flag_act5,
"- flag act6:",
doc_matters.conf_make_meta.conf.flag_act6,
"- flag act7:",
doc_matters.conf_make_meta.conf.flag_act7,
"- flag act8:",
doc_matters.conf_make_meta.conf.flag_act8,
"- flag act9:",
doc_matters.conf_make_meta.conf.flag_act9,
"- default papersize:",
doc_matters.conf_make_meta.conf.default_papersize,
"- default text wrap:",
doc_matters.conf_make_meta.conf.default_text_wrap,
"- default emphasis markup symbol:",
doc_matters.conf_make_meta.conf.default_emphasis,
"- default language:",
doc_matters.conf_make_meta.conf.default_language,
"- default hash digest:",
doc_matters.conf_make_meta.conf.default_digest,
"- search flag:",
doc_matters.conf_make_meta.conf.search_flag,
"- search action:",
doc_matters.conf_make_meta.conf.search_action,
"- search db:",
doc_matters.conf_make_meta.conf.search_db,
"- search title:",
doc_matters.conf_make_meta.conf.search_title,
);
}
}
}
|