aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_harvest_metadata.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-11-14 11:16:09 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-19 16:55:31 -0500
commitd61236952f19c1a1107a11cf11874104c0fe1a9b (patch)
tree838d700a639cdb358fe744361fc593b453de03b8 /org/output_harvest_metadata.org
parentmakefile program version tagging for bin-archive (diff)
0.8.3 (if exists) get site config & output pathdoc-reform_v0.8.3
- read once & read early: - once per batch processing - early (needed by metadata --harvest)
Diffstat (limited to 'org/output_harvest_metadata.org')
-rw-r--r--org/output_harvest_metadata.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/org/output_harvest_metadata.org b/org/output_harvest_metadata.org
index a7ce40f..2fb3485 100644
--- a/org/output_harvest_metadata.org
+++ b/org/output_harvest_metadata.org
@@ -128,8 +128,9 @@ module doc_reform.meta.metadoc_harvests_topics;
mixin DocReformRgxInit;
template DocReformMetaDocHarvestsTopics() {
auto mkup = InlineMarkup();
- void DocReformMetaDocHarvestsTopics(H,O)(
+ void DocReformMetaDocHarvestsTopics(H,M,O)(
H hvst,
+ M _make_and_meta_struct,
O _opt_action,
) {
<<harvested_topics>>
@@ -418,7 +419,7 @@ foreach(k0;
#+NAME: harvested_topics_html_write
#+BEGIN_SRC d
import doc_reform.output.paths_output;
-auto out_pth = DocReformPathsHTML!()(_opt_action.output_dir_set, "");
+auto out_pth = DocReformPathsHTML!()(_make_and_meta_struct.conf.output_path, "");
try {
auto f = File(out_pth.harvest("topics.html"), "w");
foreach (o; topics) {
@@ -450,8 +451,9 @@ module doc_reform.meta.metadoc_harvests_authors;
mixin DocReformRgxInit;
template DocReformMetaDocHarvestsAuthors() {
auto mkup = InlineMarkup();
- void DocReformMetaDocHarvestsAuthors(H,O)(
+ void DocReformMetaDocHarvestsAuthors(H,M,O)(
H harvests,
+ M _make_and_meta_struct,
O _opt_action,
) {
<<harvested_html_themes>>
@@ -567,7 +569,7 @@ template DocReformMetaDocHarvestsAuthors() {
#+NAME: harvested_authors_html_write
#+BEGIN_SRC d
import doc_reform.output.paths_output;
-auto out_pth = DocReformPathsHTML!()(_opt_action.output_dir_set, "");
+auto out_pth = DocReformPathsHTML!()(_make_and_meta_struct.conf.output_path, "");
try {
auto f = File(out_pth.harvest("authors.html"), "w");
foreach (o; authors) {