diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-14 17:04:57 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-27 15:33:35 -0400 |
commit | 3a03516e57b1f77a8a64674d4bc23b85c06ff809 (patch) | |
tree | 5ba8344f202b98f077a05ca71fc71ba1f142219f /org/default_imports.org | |
parent | generated-by header, latex, html, epub (diff) |
housekeeping
Diffstat (limited to 'org/default_imports.org')
-rw-r--r-- | org/default_imports.org | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/org/default_imports.org b/org/default_imports.org new file mode 100644 index 0000000..243c623 --- /dev/null +++ b/org/default_imports.org @@ -0,0 +1,144 @@ +-*- mode: org -*- +#+TITLE: spine (doc_reform) hub +#+DESCRIPTION: documents - structuring, publishing in multiple formats & search +#+FILETAGS: :spine:imports: +#+AUTHOR: Ralph Amissah +#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] +#+COPYRIGHT: Copyright (C) 2015 - 2022 Ralph Amissah +#+LANGUAGE: en +#+STARTUP: content hideblocks hidestars noindent entitiespretty +#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t +#+PROPERTY: header-args :exports code +#+PROPERTY: header-args+ :noweb yes +#+PROPERTY: header-args+ :eval no +#+PROPERTY: header-args+ :results no +#+PROPERTY: header-args+ :cache no +#+PROPERTY: header-args+ :padline no +#+PROPERTY: header-args+ :mkdirp yes + +- [[./doc-reform.org][doc-reform.org]] [[./][org/]] + +* imports for _meta_ :meta: +** package dir + +#+HEADER: :tangle "../src/doc_reform/meta/package.d" +#+BEGIN_SRC d +<<doc_header_including_copyright_and_license>> +module doc_reform.meta; +<<imports_for_meta_general>> +#+END_SRC + +** import list + +#+NAME: imports_for_meta_general +#+BEGIN_SRC d +public import + doc_reform.meta.defaults, + doc_reform.meta.rgx; +/+ std +/ +public import + std.array, + std.exception, + std.range, + std.regex, + std.stdio, + std.string, + std.typecons, + // std.uni, + std.utf, + std.conv : to; +#+END_SRC + +* imports for _output_ :output: +** package dir + +#+HEADER: :tangle "../src/doc_reform/io_out/package.d" +#+BEGIN_SRC d +<<doc_header_including_copyright_and_license>> +module doc_reform.io_out; +<<imports_for_output_general>> +#+END_SRC + +** import list + +#+NAME: imports_for_output_general +#+BEGIN_SRC d +public import + std.algorithm, + std.array, + std.container, + std.exception, + std.path, + std.process, + std.range, + std.regex, + std.stdio, + std.string, + std.typecons, + // std.uni, + std.utf; +public import + doc_reform.share.defaults, + doc_reform.io_in.paths_source, + doc_reform.io_out.defaults, + doc_reform.io_out.paths_output, + doc_reform.io_out.rgx; +#+END_SRC + +* document header including copyright & license + +#+NAME: doc_header_including_copyright_and_license +#+BEGIN_SRC txt +/+ +- Name: Spine, Doc Reform [a part of] + - Description: documents, structuring, processing, publishing, search + - static content generator + + - Author: Ralph Amissah + [ralph.amissah@gmail.com] + + - Copyright: (C) 2015 - 2022 Ralph Amissah, All Rights + Reserved. + + - License: AGPL 3 or later: + + Spine (SiSU), a framework for document structuring, publishing and + search + + Copyright (C) Ralph Amissah + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU AFERO General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program. If not, see [https://www.gnu.org/licenses/]. + + If you have Internet connection, the latest version of the AGPL should be + available at these locations: + [https://www.fsf.org/licensing/licenses/agpl.html] + [https://www.gnu.org/licenses/agpl.html] + + - Spine (by Doc Reform, related to SiSU) uses standard: + - docReform markup syntax + - standard SiSU markup syntax with modified headers and minor modifications + - docReform object numbering + - standard SiSU object citation numbering & system + + - Homepages: + [https://www.doc_reform.org] + [https://www.sisudoc.org] + + - Git + [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary] + ++/ +#+END_SRC + +* __END__ |