From 90873fabd7451e1dd8c4b39303906e19bdc481f7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 10 Apr 2024 22:24:34 -0400 Subject: 0.16.0 sisudoc (src/sisudoc sisudoc spine) - src/sisudoc (replaces src/doc_reform) - sisudoc spine (used more) --- org/meta_conf_make_meta.org | 52 ++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'org/meta_conf_make_meta.org') diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org index 8b5fc12..f608a87 100644 --- a/org/meta_conf_make_meta.org +++ b/org/meta_conf_make_meta.org @@ -1,5 +1,5 @@ -*- mode: org -*- -#+TITLE: spine (doc_reform) config & header (make & meta) extract +#+TITLE: sisudoc spine (doc_reform) config & header (make & meta) extract #+DESCRIPTION: documents - structuring, publishing in multiple formats & search #+FILETAGS: :spine:config: #+AUTHOR: Ralph Amissah @@ -227,16 +227,16 @@ import std.uni, std.utf, std.conv : to; -import doc_reform.meta.conf_make_meta_structs; +import sisudoc.meta.conf_make_meta_structs; #+END_SRC ** struct ConfComposite -#+HEADER: :tangle "../src/doc_reform/meta/conf_make_meta_structs.d" +#+HEADER: :tangle "../src/sisudoc/meta/conf_make_meta_structs.d" #+HEADER: :noweb yes #+BEGIN_SRC d <> -module doc_reform.meta.conf_make_meta_structs; +module sisudoc.meta.conf_make_meta_structs; @safe: <> <> @@ -262,9 +262,9 @@ import std.utf, std.conv : to; import - doc_reform.meta.defaults, - doc_reform.meta.rgx_yaml, - doc_reform.meta.rgx; + sisudoc.meta.defaults, + sisudoc.meta.rgx_yaml, + sisudoc.meta.rgx; mixin spineRgxIn; static auto rgx = RgxI(); mixin spineRgxYamlTags; @@ -560,7 +560,7 @@ JSONValue config_jsonstr = `{ * YAML to spineStruct :module:conf_make_meta:yaml: ** _module template_ -#+HEADER: :tangle "../src/doc_reform/meta/conf_make_meta_yaml.d" +#+HEADER: :tangle "../src/sisudoc/meta/conf_make_meta_yaml.d" #+HEADER: :noweb yes #+BEGIN_SRC d <> @@ -568,7 +568,7 @@ JSONValue config_jsonstr = `{ yaml headers
extract yaml header return struct +/ -module doc_reform.meta.conf_make_meta_yaml; +module sisudoc.meta.conf_make_meta_yaml; @safe: template contentYAMLtoSpineStruct() { import @@ -583,10 +583,10 @@ template contentYAMLtoSpineStruct() { std.utf, std.conv : to; import - doc_reform.meta.conf_make_meta_structs, - doc_reform.meta.defaults, - doc_reform.meta.rgx_yaml, - doc_reform.meta.rgx; + sisudoc.meta.conf_make_meta_structs, + sisudoc.meta.defaults, + sisudoc.meta.rgx_yaml, + sisudoc.meta.rgx; ConfComposite _struct_composite; @system auto contentYAMLtoSpineStruct(C,Y,M,O,Cfg)( C _struct_composite, @@ -1739,7 +1739,7 @@ if ("rights" in _yaml * JSON to spineStruct :module:conf_make_meta:json: ** _module template_ -#+HEADER: :tangle "../src/doc_reform/meta/conf_make_meta_json.d" +#+HEADER: :tangle "../src/sisudoc/meta/conf_make_meta_json.d" #+HEADER: :noweb yes #+BEGIN_SRC d <> @@ -1747,7 +1747,7 @@ if ("rights" in _yaml json headers
extract json header return json +/ -module doc_reform.meta.conf_make_meta_json; +module sisudoc.meta.conf_make_meta_json; @safe: static template contentJSONtoSpineStruct() { import @@ -1761,10 +1761,10 @@ static template contentJSONtoSpineStruct() { std.utf, std.conv : to; import - doc_reform.meta.conf_make_meta_structs, - doc_reform.meta.conf_make_meta_json, - doc_reform.meta.defaults, - doc_reform.meta.rgx; + sisudoc.meta.conf_make_meta_structs, + sisudoc.meta.conf_make_meta_json, + sisudoc.meta.defaults, + sisudoc.meta.rgx; ConfComposite _struct_composite; auto contentJSONtoSpineStruct(C,J,M)(C _struct_composite, J _json, M _manifested, string _identifier) { mixin spineRgxIn; @@ -2419,8 +2419,8 @@ if ("rights" in _json.object) { template configParseYAMLreturnSpineStruct() { import dyaml; import - doc_reform.meta.conf_make_meta_structs, - doc_reform.meta.conf_make_meta_json; + sisudoc.meta.conf_make_meta_structs, + sisudoc.meta.conf_make_meta_json; mixin contentYAMLtoSpineStruct; @system auto configParseYAMLreturnSpineStruct(T,CCm,M,O,Cfg)( T _document_struct, @@ -2467,10 +2467,10 @@ template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() { import dyaml; import - doc_reform.meta.conf_make_meta_structs, - doc_reform.meta.conf_make_meta_json, - doc_reform.meta.rgx_yaml, - doc_reform.meta.rgx; + sisudoc.meta.conf_make_meta_structs, + sisudoc.meta.conf_make_meta_json, + sisudoc.meta.rgx_yaml, + sisudoc.meta.rgx; mixin spineRgxIn; mixin contentJSONtoSpineStruct; static auto rgx = RgxI(); @@ -2503,7 +2503,7 @@ template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() { #+NAME: doc_header_including_copyright_and_license #+HEADER: :noweb yes #+BEGIN_SRC emacs-lisp -<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>> +<<./sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>> #+END_SRC * __END__ -- cgit v1.2.3