aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_imports.org
blob: c2a7e3751002f43f8dff56d87a2bc8f21126c6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
-*- 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 - 2023 Ralph Amissah
#+LANGUAGE:    en
#+STARTUP:     content hideblocks hidestars noindent entitiespretty
#+PROPERTY:    header-args  :exports code
#+PROPERTY:    header-args+ :noweb yes
#+PROPERTY:    header-args+ :results no
#+PROPERTY:    header-args+ :cache no
#+PROPERTY:    header-args+ :padline no
#+PROPERTY:    header-args+ :mkdirp yes
#+OPTIONS:     H:3 num:nil toc:t \n:t ::t |:t ^:nil -:t f:t *:t

- [[./doc-reform.org][doc-reform.org]]  [[./][org/]]

* imports for _meta_ :meta:
** package dir

#+HEADER: :tangle "../src/doc_reform/meta/package.d"
#+HEADER: :noweb yes
#+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;
/+ 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"
#+HEADER: :noweb yes
#+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;
#+END_SRC

* document header including copyright & license

#+NAME: doc_header_including_copyright_and_license
#+HEADER: :noweb yes
#+BEGIN_SRC emacs-lisp
<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>>
#+END_SRC

* __END__