aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_defaults.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-29 16:54:15 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit4f20bd5582bc9ed864f0e43f030a4e76259cf6f0 (patch)
treebbbc5ba31d4154d154405c8be2de14b24b1b60e2 /org/ao_defaults.org
parent0.12.1 abstraction template (diff)
org file reorganise
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r--org/ao_defaults.org42
1 files changed, 21 insertions, 21 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org
index 3184077..908a449 100644
--- a/org/ao_defaults.org
+++ b/org/ao_defaults.org
@@ -13,8 +13,10 @@
#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n)
[[./sdp.org][sdp]] [[./][org/]]
-* 0. Code Skeleton / Outline / Structure (tangles) :tangle:
-** 1. defaults: :ao_defaults:
+* 0. default templates :template:defaults:
+[[./sdp.org][sdp]] [[./][org/]]
+
+** 0. defaults: :ao_defaults:
#+name: tangle_ao_defaults
#+BEGIN_SRC d :tangle ../src/sdp/ao_defaults.d
@@ -33,23 +35,6 @@ template SiSUregisters() {
<<ao_defaults_template_language_codes>>
#+END_SRC
-** 2. rgx: :ao_rgx:
-
-#+name: tangle_ao_rgx
-#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d
-/++
- regex: regular expressions used in sisu document parser
-+/
-template SiSUrgxInit() {
- private import ao_defaults;
- struct Rgx {
- <<ao_rgx>>
- }
-}
-#+END_SRC
-
-* 1. default templates :template:defaults:
-[[./sdp.org][sdp]] [[./][org/]]
** template: imports
#+name: ao_defaults_imports
@@ -690,7 +675,7 @@ template SiSUpaths() {
return chainPath(seg(fn_src), seg_filename ~ ".html").array;
}
// string fn_css(string fn_src) {
- // // // return chainPath(seg(fn_src), "html.css").array;
+ // return chainPath(seg(fn_src), "html.css").array;
// }
}
struct EpubPaths {
@@ -763,13 +748,28 @@ template InternalMarkup() {
}
#+END_SRC
-* 2. regex ctRegex :regex:
+* 1. regex ctRegex :regex:
[[./sdp.org][sdp]] [[./][org/]]
http://dlang.org/phobos/std_regex.html
- Plain string, in which case it's compiled to bytecode before matching.
- Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode.
- StaticRegex!char (wchar/dchar) that contains a pattern in the form of compiled native machine code.
+** 0. rgx code template: :ao_rgx:
+
+#+name: tangle_ao_rgx
+#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d
+/++
+ regex: regular expressions used in sisu document parser
++/
+template SiSUrgxInit() {
+ private import ao_defaults;
+ struct Rgx {
+ <<ao_rgx>>
+ }
+}
+#+END_SRC
+
** misc :misc:
#+name: ao_rgx