summaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-03-15 09:07:50 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-03-15 09:08:00 -0400
commit9ddfd0292dd549eeb1aa5666729345fac6295951 (patch)
tree49acfb4a9502a96f1ee9f3681445a0d49e789c98 /org
parentnix flake & env upkeep (diff)
spine search, reorganize, little thingssisudoc-spine-search_v0.14.0
- src introduce module - reorganize src dir - rename org file
Diffstat (limited to 'org')
-rw-r--r--org/spine_search_cgi.org (renamed from org/cgi_spine_search.org)10
1 files changed, 6 insertions, 4 deletions
diff --git a/org/cgi_spine_search.org b/org/spine_search_cgi.org
index 00f0bed..24a55ca 100644
--- a/org/cgi_spine_search.org
+++ b/org/spine_search_cgi.org
@@ -67,9 +67,9 @@ version (Posix) {
** notes
- provide
-** spine_search src/spine_search.d :template:
+** spine_search src/spine_search/spine_search.d :template:
-#+HEADER: :tangle "../src/spine_search.d_"
+#+HEADER: :tangle "../src/spine_search/spine_search.d"
#+HEADER: :shebang "#!/usr/bin/env rdmd"
#+HEADER: :noweb yes
#+BEGIN_SRC d
@@ -79,8 +79,10 @@ version (Posix) {
description "spine cgi search"
/+ obt - org-mode generated file +/
+/
+module spine_search;
+@system:
<<spine_search_imports>>
-void cgi_function_intro(Cgi cgi) {
+void spine_cgi_search_function(Cgi cgi) {
mixin(import("configuration.txt"));
<<spine_search_init_1>>
<<spine_search_config_struct_init>>
@@ -212,7 +214,7 @@ void cgi_function_intro(Cgi cgi) {
cgi.write(tail);
}
}
-mixin GenericMain!cgi_function_intro;
+@system mixin GenericMain!spine_cgi_search_function;
#+END_SRC
** settings spine_search.d