From ace605ee4d96b7ee2891246655478f46862d357f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 3 Aug 2022 18:28:58 -0400 Subject: org noweb adjustments --- org/out_sqlite.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'org/out_sqlite.org') diff --git a/org/out_sqlite.org b/org/out_sqlite.org index b7331a4..a6c501d 100644 --- a/org/out_sqlite.org +++ b/org/out_sqlite.org @@ -8,7 +8,7 @@ #+LANGUAGE: en #+STARTUP: content hideblocks hidestars noindent entitiespretty #+PROPERTY: header-args :exports code -#+PROPERTY: header-args+ :noweb tangle +#+PROPERTY: header-args+ :noweb yes #+PROPERTY: header-args+ :results no #+PROPERTY: header-args+ :cache no #+PROPERTY: header-args+ :padline no @@ -42,6 +42,7 @@ sudo chown ralph:ralph /var/www *** template #+HEADER: :tangle "../src/doc_reform/io_out/sqlite.d" +#+HEADER: :noweb yes #+BEGIN_SRC d <> module doc_reform.io_out.sqlite; @@ -75,6 +76,7 @@ long _metadata_tid_lastrowid; **** collection #+NAME: sqlite_collection +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteHubBuildTablesAndPopulate() { void SQLiteHubBuildTablesAndPopulate(D,M)( @@ -104,6 +106,7 @@ template SQLiteHubBuildTablesAndPopulate() { **** discrete #+NAME: sqlite_discrete +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteHubDiscreteBuildTablesAndPopulate() { void SQLiteHubDiscreteBuildTablesAndPopulate(D,M)( @@ -171,6 +174,7 @@ template SQLiteDbRun() { *** munge #+NAME: sqlite_munge +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLinsertDelimiter() { string SQLinsertDelimiter(string _txt) { @@ -223,6 +227,7 @@ template SQLiteFormatAndLoadObject() { **** create #+NAME: sqlite_create +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteTablesReCreate() { string SQLiteTablesReCreate()() { @@ -243,6 +248,7 @@ template SQLiteTablesReCreate() { **** delete #+NAME: sqlite_delete +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteDeleteDocument() { string SQLiteDeleteDocument(M)( @@ -259,6 +265,7 @@ template SQLiteDeleteDocument() { **** insert metadata #+NAME: sqlite_insert_metadata +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteInsertMetadata() { string SQLiteInsertMetadata(M)( @@ -276,6 +283,7 @@ template SQLiteInsertMetadata() { **** insert metadata topics #+NAME: sqlite_insert_metadata_topics +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteInsertMetadataTopics() { string SQLiteInsertMetadataTopics(M)( @@ -295,6 +303,7 @@ template SQLiteInsertMetadataTopics() { **** insert doc objects loop #+NAME: sqlite_insert_doc_objects_loop +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteInsertDocObjectsLoop() { string SQLiteInsertDocObjectsLoop(D,M)( @@ -318,6 +327,7 @@ template SQLiteInsertDocObjectsLoop() { **** tables create #+NAME: sqlite_tables_create +#+HEADER: :noweb yes #+BEGIN_SRC d template SQLiteTablesCreate() { void SQLiteTablesCreate(E,O,C)(E env, O opt_action, C config) { -- cgit v1.2.3