aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_conf_make_meta.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r--org/meta_conf_make_meta.org67
1 files changed, 33 insertions, 34 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org
index 22d07d8..240be44 100644
--- a/org/meta_conf_make_meta.org
+++ b/org/meta_conf_make_meta.org
@@ -1,8 +1,8 @@
-#+TITLE: sdp config & header (make & meta) extract
+#+TITLE: doc_reform config & header (make & meta) extract
+#+DESCRIPTION: documents - structuring, publishing in multiple formats & search
+#+FILETAGS: :doc_reform:config:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+DESCRIPTION: documents - structuring, publishing in multiple formats & search
-#+KEYWORDS
#+LANGUAGE: en
#+STARTUP: indent content
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -11,10 +11,9 @@
#+PROPERTY: header-args :padline no :exports code :noweb yes
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
-#+FILETAGS: :sdp:rel:meta:
-#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n)
+#+TAGS: assert(a) class(c) debug(d) mixin(m) doc_reform(s) tangle(T) template(t) WEB(W) noexport(n)
-[[./sdp.org][sdp]] [[./][org/]]
+[[./doc_reform.org][doc_reform]] [[./][org/]]
* 0. generic
** imports
@@ -39,13 +38,13 @@ import
std.uni,
std.utf,
std.conv : to;
-import sdp.meta.conf_make_meta_structs;
+import doc_reform.meta.conf_make_meta_structs;
#+END_SRC
** struct ConfComposite
-#+BEGIN_SRC d :tangle ../src/sdp/meta/conf_make_meta_structs.d
-module sdp.meta.conf_make_meta_structs;
+#+BEGIN_SRC d :tangle ../src/doc_reform/meta/conf_make_meta_structs.d
+module doc_reform.meta.conf_make_meta_structs;
<<meta_defaults_template_structs>>
#+END_SRC
@@ -64,8 +63,8 @@ import
std.utf,
std.conv : to;
import
- sdp.meta.defaults,
- sdp.meta.rgx;
+ doc_reform.meta.defaults,
+ doc_reform.meta.rgx;
mixin SiSUrgxInit;
static auto _rgx = Rgx();
mixin InternalMarkup;
@@ -107,9 +106,9 @@ struct ConfCompositeMakeStr {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "{SiSU}http://www.sisudoc.org;"
- ~ " {www.sisudoc.org}http://www.sisudoc.org;"
- ~ " {sources / git}http://git.sisudoc.org/gitweb/";
+ string home_button_text = "{Doc Reform}http://www.doc-reform.org;"
+ ~ " {www.doc-reform.org}http://www.doc-reform.org;"
+ ~ " {sources / git}https://git.doc-reform.org/software/doc-reform";
string italics;
string auto_num_top_at_level;
int auto_num_top_lv = 9;
@@ -197,9 +196,9 @@ struct ConfCompositeMakeInit {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "{SiSU}http://www.sisudoc.org;"
- ~ " {www.sisudoc.org}http://www.sisudoc.org;"
- ~ " {sources / git}http://git.sisudoc.org/gitweb/";
+ string home_button_text = "{Doc Reform}http://www.doc-reform.org;"
+ ~ " {www.doc-reform.org}http://www.doc-reform.org;"
+ ~ " {sources / git}https://git.doc-reform.org/software/doc-reform";
string[] italics;
string auto_num_top_at_level;
int auto_num_top_lv = 9;
@@ -419,15 +418,15 @@ auto config_jsonstr = `{
}`;
#+END_SRC
-* 1. JSON to SiSUstruct :module:sdp:meta_conf_make_meta_json:
+* 1. JSON to SiSUstruct :module:doc_reform:meta_conf_make_meta_json:
** 0. module template
-#+BEGIN_SRC d :tangle ../src/sdp/meta/conf_make_meta_json.d
+#+BEGIN_SRC d :tangle ../src/doc_reform/meta/conf_make_meta_json.d
/++
json headers<BR>
extract json header return json
+/
-module sdp.meta.conf_make_meta_json;
+module doc_reform.meta.conf_make_meta_json;
static template contentJSONtoSiSUstruct() {
import
std.exception,
@@ -439,9 +438,9 @@ static template contentJSONtoSiSUstruct() {
std.utf,
std.conv : to;
import
- sdp.meta.conf_make_meta_structs,
- sdp.meta.conf_make_meta_json,
- sdp.meta.rgx;
+ doc_reform.meta.conf_make_meta_structs,
+ doc_reform.meta.conf_make_meta_json,
+ doc_reform.meta.rgx;
ConfCompositePlus _struct_composite;
auto contentJSONtoSiSUstruct(C, J)(C _struct_composite, J _json, string _identifier) {
mixin SiSUrgxInit;
@@ -1051,10 +1050,10 @@ if (_struct_composite.meta.title_main.empty) {
}
#+END_SRC
-* 2. TOML returns SiSUstruct (via JSON) :module:sdp:meta_conf_make_meta:
+* 2. TOML returns SiSUstruct (via JSON) :module:doc_reform:meta_conf_make_meta:
** 0. parse TOML config return JSON
-#+BEGIN_SRC d :tangle ../src/sdp/meta/conf_make_meta_toml.d
+#+BEGIN_SRC d :tangle ../src/doc_reform/meta/conf_make_meta_toml.d
/++
extract native/orig header return associative array<BR>
@@ -1065,7 +1064,7 @@ if (_struct_composite.meta.title_main.empty) {
converting the metadata and make instructions to a common json format used by
program internally. Moved to associative array.
+/
-module sdp.meta.conf_make_meta_toml;
+module doc_reform.meta.conf_make_meta_toml;
static template configParseTOMLreturnJSON() {
import
toml,
@@ -1083,14 +1082,14 @@ static template configParseTOMLreturnJSON() {
** 1. parse TOML config to JSON return SiSUstruct
-#+BEGIN_SRC d :tangle ../src/sdp/meta/conf_make_meta_toml.d
+#+BEGIN_SRC d :tangle ../src/doc_reform/meta/conf_make_meta_toml.d
static template configParseTOMLreturnSiSUstruct() {
import
toml,
toml.json;
import
- sdp.meta.conf_make_meta_structs,
- sdp.meta.conf_make_meta_json;
+ doc_reform.meta.conf_make_meta_structs,
+ doc_reform.meta.conf_make_meta_json;
mixin contentJSONtoSiSUstruct;
auto configParseTOMLreturnSiSUstruct(CCm, T)(
CCm _make_and_meta_struct,
@@ -1106,7 +1105,7 @@ static template configParseTOMLreturnSiSUstruct() {
** 2. parse TOML header to JSON then Struct
-#+BEGIN_SRC d :tangle ../src/sdp/meta/conf_make_meta_toml.d
+#+BEGIN_SRC d :tangle ../src/doc_reform/meta/conf_make_meta_toml.d
static template docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct() {
import
std.exception,
@@ -1120,9 +1119,9 @@ static template docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct() {
toml,
toml.json;
import
- sdp.meta.conf_make_meta_structs,
- sdp.meta.conf_make_meta_json,
- sdp.meta.rgx;
+ doc_reform.meta.conf_make_meta_structs,
+ doc_reform.meta.conf_make_meta_json,
+ doc_reform.meta.rgx;
mixin SiSUrgxInit;
mixin contentJSONtoSiSUstruct;
static auto rgx = Rgx();
@@ -1152,7 +1151,7 @@ static template docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct() {
/+
unify internal representation of header info for native & sdlang document headers
represent either using struct, hashes or possibly json
- sdp internal representation should be identical for native & sdlang variants
+ doc_reform internal representation should be identical for native & sdlang variants
+/
header.
├── make // make instructions