aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_in/read_config_files.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_in/read_config_files.d')
-rw-r--r--src/doc_reform/io_in/read_config_files.d51
1 files changed, 29 insertions, 22 deletions
diff --git a/src/doc_reform/io_in/read_config_files.d b/src/doc_reform/io_in/read_config_files.d
index 9daf362..69c2f55 100644
--- a/src/doc_reform/io_in/read_config_files.d
+++ b/src/doc_reform/io_in/read_config_files.d
@@ -19,30 +19,37 @@ template readConfigSite() {
string config_file_str;
string default_config_file_str = format(q"┃
flag:
- act0: --html
- act1: --html --epub
-#output:
-# path: ""
+ act0: "--html"
+ act1: "--html --epub"
+output:
+ path: "/var/www/html"
default:
- language: "en"
- papersize: "a4"
- text_wrap: "80"
- digest: "sha256"
-search:
- title: ""
- flag: ""
- action: ""
- db: ""
+ language: "en"
+ papersize: "a4"
+ text_wrap: "80"
+ digest: "sha256"
webserv:
- url_domain: "not-configured"
- url_root: "doc"
- doc_path: "doc"
- images: ""
- cgi: ""
- cgi_host: ""
- cgi_host_path: ""
- cgi_port: ""
- cgi_user: ""
+ http: "http"
+ domain: "localhost"
+ data_http: "http"
+ data_domain: "localhost"
+ data_root_url: "http://localhost"
+ data_root_path: "/var/www/html"
+ data_root_part: ""
+ images_root_part: "image"
+ cgi_title: "≅ SiSU Spine search"
+ cgi_http: "http"
+ cgi_domain: "localhost"
+ cgi_bin_url: "http://localhost/cgi-bin"
+ cgi_bin_part: "cgi-bin"
+ cgi_bin_path: "/usr/lib/cgi-bin"
+ cgi_search_script: "spine-search"
+ cgi_port: ""
+ cgi_user: ""
+ cgi_action: "http://localhost/cgi-bin/spine-search"
+ db_sqlite: "spine.search.db"
+ db_pg_table: ""
+ db_pg_user: ""
┃");
foreach(conf_fn; [_conf_file_details.config_filename_site]) {
foreach(pth; _conf_file_details.possible_config_path_locations.config_local_site) {