From b32a5010a7281f754df0d42078f2cb9e3a109d24 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 3 Feb 2022 15:39:01 -0500 Subject: codegen cgi search removed (using src in org-mode) --- src/doc_reform/io_out/paths_output.d | 39 ------------------------------------ 1 file changed, 39 deletions(-) (limited to 'src/doc_reform/io_out/paths_output.d') diff --git a/src/doc_reform/io_out/paths_output.d b/src/doc_reform/io_out/paths_output.d index 34ce929..9398240 100644 --- a/src/doc_reform/io_out/paths_output.d +++ b/src/doc_reform/io_out/paths_output.d @@ -622,42 +622,3 @@ template spinePathsSQLite() { return _PathsStruct(); } } -template spinePathsSQLiteCGI() { - mixin spineRgxIn; - static auto rgx = RgxI(); - auto spinePathsSQLiteCGI()( - string cgi_search_form_d, - string cgi_search_form, - string output_pth_root, - ) { - struct _PathsStruct { - string base_filename(string fn_src) { - return fn_src.baseName.stripExtension; - } - string base() { - auto out_pth = spineOutPathSQLiteCGI!()(output_pth_root); - string base_dir = "cgi"; - return (((out_pth.output_root).chainPath(base_dir)).asNormalizedPath).array; - } - string src() { - return ((base.chainPath("src")).asNormalizedPath).array; - } - string cgi_bin() { - return ((base.chainPath("cgi-bin")).asNormalizedPath).array; - } - string dub_sdl_path_out() { - return ((base.chainPath("dub.sdl")).asNormalizedPath).array; - } - string search_form_dub_path() { - return ("src/".chainPath(base_filename(cgi_search_form_d)).asNormalizedPath).array; - } - string search_form_path_out() { - return (src.chainPath(cgi_search_form_d).asNormalizedPath).array; - } - string cgi_d_path_out() { - return (src.chainPath("cgi.d").asNormalizedPath).array; - } - } - return _PathsStruct(); - } -} -- cgit v1.2.3