-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
129 lines (107 loc) · 2.11 KB
/
config
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# davespace.co.uk config for gostatic
#
# by dpt
#
# vim: noet:
# I can't seem to add a dependency on site.tmpl and have it update those files.
TEMPLATES = site.tmpl
SOURCE = src
OUTPUT = generated
# .Site.Other
#
URL = http://www.davespace.co.uk/
TITLE = DaveSpace
AUTHOR = David Thomas
KEYWORDS = DaveSpace, David Thomas, Dave Thomas
COPYRIGHT = Copyright © David Thomas, 2005-2024
#
# PAGES WHICH NEED EXTRA PROCESSING
#
blog/*.md:
config
ext .html
tags tags/*.tag
:python3 scripts/highlightsyntax.py
markdown
template post
template page
# Only ARM slides need makeslides.py
arm/*/*.md:
config
ext .html
tags tags/*.tag
:python3 scripts/highlightsyntax.py
markdown
:python3 scripts/makeslides.py
template post
template page
# The Great Escape uses mkcontents.py
the.great.escape/*.md:
config
ext .html
tags tags/*.tag
:python3 scripts/mkcontents.py
markdown
template post
template page
#
# INDEX PAGES
#
# arm/index.md: doesn't generate so doesn't depend on anything
# all the others depend on .md's in the same dir
doodles/index.html: doodles/*.md
config
inner-template
template post
template page
projects/index.html: projects/*.md
config
inner-template
template post
template page
python/index.html: python/*.md
config
inner-template
template post
template page
risc.os/index.html: risc.os/*.md
config
inner-template
template post
template page
the.great.escape/index.html: the.great.escape/*.md
config
inner-template
template post
template page
#
# GLOBAL RULES
#
*.md:
config
ext .html
tags tags/*.tag
markdown
template post
template page
# Special rule to output pages for the tags formed in 'tags ...' processes of above rules.
# Dependencies seem to need to be fully specified here (x/y/z/*.md).
*.tag: blog/*.md arm/*/*.md doodles/*.md projects/*.md python/*.md risc.os/*.md the.great.escape/*.md *.md
ext .html
template tag
template page
style/*.less:
ext .css
:lessc -
blog.atom: blog/*.md
inner-template
blog-all.atom: blog/*.md
inner-template
index.html: blog/*.md
config
inner-template
template page
index-all.html: blog/*.md
config
inner-template
template page