From 02718313824caa0e87eb0f1448684ff8d2dbe4d1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 5 Oct 2021 12:39:53 -0400 Subject: primarily org related --- org/config_d_cfte.org | 101 ++++++++++++++++++++++++++------------------------ 1 file changed, 52 insertions(+), 49 deletions(-) (limited to 'org/config_d_cfte.org') diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org index 9efa9ea..ae3f9c4 100644 --- a/org/config_d_cfte.org +++ b/org/config_d_cfte.org @@ -63,7 +63,58 @@ version (Posix) { #+END_SRC ** set configuration SET :configuration: -*** shared settings SET + +SEE NOTES on configuration hierarchy in spine.org + +*** spine: configuration.txt SET + +#+HEADER: :tangle "../views/configuration_suggested.txt" +#+BEGIN_SRC d +/+ obt - org-mode generated file +/ +struct Cfg { + string www_http = "<>"; + string www_host = "<>"; + string www_url_doc_root = "<>"; + string www_doc_root = "<>"; + string www_host_doc_root = "localhost"; + string cgi_bin_root = "<>"; + string cgi_bin_subpath = "<>"; + string cgi_filename = "<>"; + string cgi_url_root = "<>://<><>"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "<>://<><>/<>"; + string cgi_search_form_title = "<>"; + string db_sqlite_path = "<>"; + string db_sqlite_filename = "<>"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; +} +enum _cfg = Cfg(); +#+END_SRC + +*** spine_search: configuration.txt SET + +#+HEADER: :tangle "../sundry/spine_search_cgi/views/configuration_suggested.txt" +#+BEGIN_SRC d +/+ obt - org-mode generated file +/ +struct Cfg { + string http_request_type = "<>"; + string http_host = "<>"; + string www_url_doc_root = "<>"; + string www_doc_root = "<>"; + string cgi_bin_subpath = "<>"; + string cgi_filename = "<>"; // "spine-search" + string cgi_search_form_title = "<>"; + string db_sqlite_path = "<>"; + string db_sqlite_filename = "<>"; +} +enum _cfg = Cfg(); +#+END_SRC + +*** shared settings SET defaults #+NAME: www_http #+BEGIN_SRC sh @@ -114,51 +165,3 @@ spine_search #+BEGIN_SRC sh spine.search.db #+END_SRC - -*** spine: configuration.txt SET - -#+HEADER: :tangle "../views/configuration_suggested.txt" -#+BEGIN_SRC d -/+ obt - org-mode generated file +/ -struct Cfg { - string www_http = "<>"; - string www_host = "<>"; - string www_url_doc_root = "<>"; - string www_doc_root = "<>"; - string www_host_doc_root = "localhost"; - string cgi_bin_root = "<>"; - string cgi_bin_subpath = "<>"; - string cgi_filename = "<>"; - string cgi_url_root = "<>://<><>"; - string cgi_port = ""; - string cgi_user = ""; - string cgi_url_action = "<>://<><>/<>"; - string cgi_search_form_title = "<>"; - string db_sqlite_path = "<>"; - string db_sqlite_filename = "<>"; - string default_language = "en"; - string default_papersize = "a4"; - string default_text_wrap = "80"; - string default_hash_digest = "sha256"; -} -enum _cfg = Cfg(); -#+END_SRC - -*** spine_search: configuration.txt SET - -#+HEADER: :tangle "../sundry/spine_search_cgi/views/configuration_suggested.txt" -#+BEGIN_SRC d -/+ obt - org-mode generated file +/ -struct Cfg { - string http_request_type = "<>"; - string http_host = "<>"; - string www_url_doc_root = "<>"; - string www_doc_root = "<>"; - string cgi_bin_subpath = "<>"; - string cgi_filename = "<>"; // "spine-search" - string cgi_search_form_title = "<>"; - string db_sqlite_path = "<>"; - string db_sqlite_filename = "<>"; -} -enum _cfg = Cfg(); -#+END_SRC -- cgit v1.2.3