mdoc 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/ROADMAP +3 -0
- data/bin/mdoc +1 -1
- data/docs/gantt.html +180 -11
- data/lib/mdoc/convert.rb +8 -0
- data/lib/mdoc/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/ROADMAP
CHANGED
@@ -19,3 +19,6 @@ year: 2013
|
|
19
19
|
[+] server: a server that can receive html for review 06/12 @huangw:50
|
20
20
|
|
21
21
|
[+] release_v0.1.0: first public release 06/13 @huangw:06/13
|
22
|
+
|
23
|
+
[+] release_v0.1.4: updated version 06/13 @huangw:06/13
|
24
|
+
[++] epub: add epub3 support via pandoc 06/13 @huangw:06/13
|
data/bin/mdoc
CHANGED
@@ -12,7 +12,7 @@ optparse = OptionParser.new do |opts|
|
|
12
12
|
opts.banner = "Usage: mdoc [options] filename.md"
|
13
13
|
opts.separator "Options:"
|
14
14
|
|
15
|
-
options[:type] = '
|
15
|
+
options[:type] = 'odt'
|
16
16
|
opts.on('-t TYPE', '--type TYPE', 'output file type') do |type|
|
17
17
|
options[:type] = type
|
18
18
|
end
|
data/docs/gantt.html
CHANGED
@@ -24,21 +24,25 @@
|
|
24
24
|
g.setFormatArr("day","week","month") // Set format options (up to 4 : "minute","hour","day","week","month","quarter")
|
25
25
|
|
26
26
|
if( g ) {
|
27
|
-
g.AddTaskItem(new JSGantt.TaskItem(10,'design api document in readme','06/12/2013','06/12/2013','
|
27
|
+
g.AddTaskItem(new JSGantt.TaskItem(10,'design api document in readme','06/12/2013','06/12/2013','008000','',0,'黄巍',100,0,0,1,'','黄巍2013-06-12'));
|
28
28
|
|
29
|
-
g.AddTaskItem(new JSGantt.TaskItem(12,'write a document parser using yaml and kramdown','06/12/2013','06/12/2013','
|
29
|
+
g.AddTaskItem(new JSGantt.TaskItem(12,'write a document parser using yaml and kramdown','06/12/2013','06/12/2013','008000','',0,'黄巍',100,0,0,1,'','黄巍2013-06-12'));
|
30
30
|
|
31
|
-
g.AddTaskItem(new JSGantt.TaskItem(14,'write converters for varies format','06/12/2013','06/12/2013','
|
31
|
+
g.AddTaskItem(new JSGantt.TaskItem(14,'write converters for varies format','06/12/2013','06/12/2013','FF0000','',0,'黄巍',0,1,0,1,'',''));
|
32
32
|
|
33
|
-
g.AddTaskItem(new JSGantt.TaskItem(15,'convert to docx with pandoc','06/12/2013','06/12/2013','
|
33
|
+
g.AddTaskItem(new JSGantt.TaskItem(15,'convert to docx with pandoc','06/12/2013','06/12/2013','008000','',0,'黄巍',100,0,14,1,'','黄巍2013-06-13'));
|
34
34
|
|
35
|
-
g.AddTaskItem(new JSGantt.TaskItem(16,'convert to html use document-up','06/12/2013','06/12/2013','
|
35
|
+
g.AddTaskItem(new JSGantt.TaskItem(16,'convert to html use document-up','06/12/2013','06/12/2013','008000','',0,'黄巍',100,0,14,1,'','黄巍2013-06-13'));
|
36
36
|
|
37
|
-
g.AddTaskItem(new JSGantt.TaskItem(17,'convert to pdf use xelatex','06/12/2013','06/12/2013','
|
37
|
+
g.AddTaskItem(new JSGantt.TaskItem(17,'convert to pdf use xelatex','06/12/2013','06/12/2013','FF0000','',0,'黄巍',0,0,14,1,'','黄巍'));
|
38
38
|
|
39
|
-
g.AddTaskItem(new JSGantt.TaskItem(19,'a server that can receive html for review','06/12/2013','06/12/2013','
|
39
|
+
g.AddTaskItem(new JSGantt.TaskItem(19,'a server that can receive html for review','06/12/2013','06/12/2013','FF0000','',0,'黄巍',50,0,0,1,'','黄巍:50\%'));
|
40
40
|
|
41
|
-
g.AddTaskItem(new JSGantt.TaskItem(21,'first public release','06/13/2013','06/13/2013','
|
41
|
+
g.AddTaskItem(new JSGantt.TaskItem(21,'first public release','06/13/2013','06/13/2013','008000','',1,'黄巍',100,0,0,1,'','黄巍2013-06-13'));
|
42
|
+
|
43
|
+
g.AddTaskItem(new JSGantt.TaskItem(23,'updated version','06/13/2013','06/13/2013','FFA500','',1,'黄巍',0,1,0,1,'',''));
|
44
|
+
|
45
|
+
g.AddTaskItem(new JSGantt.TaskItem(24,'add epub3 support via pandoc','06/13/2013','06/13/2013','FFA500','',0,'黄巍',0,0,23,1,'','黄巍'));
|
42
46
|
|
43
47
|
g.Draw();
|
44
48
|
g.DrawDependencies();
|
@@ -52,10 +56,175 @@
|
|
52
56
|
|
53
57
|
<h3>Recent Git Log</h3>
|
54
58
|
<pre><code>
|
55
|
-
* <em style='color:grey'>
|
56
|
-
| <strong>2013-06-
|
57
|
-
| | <strong style='color:green'>
|
59
|
+
* <em style='color:grey'>041b1c2d26d8b9741d89fb74a44e0b22b82b32b2</em>
|
60
|
+
| <strong>2013-06-13 13:09</strong> By Huang Wei <huang@humentsoft.com>
|
61
|
+
| | <strong style='color:green'>use default encoding instead of utf-8</strong>
|
58
62
|
|
|
63
|
+
|
|
64
|
+
* <em style='color:grey'>fdde3ad7af13c190a0924359f809297ed2634f8a</em>
|
65
|
+
|\ <strong>2013-06-13 11:36</strong> By Huang Wei <huang@humentsoft.com>
|
66
|
+
| | | | <strong style='color:green'>Merge branch 'develop'</strong>
|
67
|
+
| |
|
68
|
+
| |
|
69
|
+
| * <em style='color:grey'>7a01e81fb120b36de5fe09ab6cbf190c8d4531b7</em>
|
70
|
+
| | <strong>2013-06-13 11:36</strong> By Huang Wei <huang@humentsoft.com>
|
71
|
+
| | | | <strong style='color:green'>update progress of task release_v0.1.0 to 100</strong>
|
72
|
+
| |
|
73
|
+
| |
|
74
|
+
| * <em style='color:grey'>bdde406fc791056d68d8ba6724c78de02a3a87e0</em>
|
75
|
+
| | <strong>2013-06-13 11:33</strong> By Huang Wei <huang@humentsoft.com>
|
76
|
+
| | | | <strong style='color:green'>update progress of task release_v0.1.0 to 99</strong>
|
77
|
+
| |
|
78
|
+
| |
|
79
|
+
| * <em style='color:grey'>8953709e62836c4122530706e6027efb00eea636</em>
|
80
|
+
| | <strong>2013-06-13 11:33</strong> By Huang Wei <huang@humentsoft.com>
|
81
|
+
| | | | <strong style='color:green'>update progress of task release_v0.1.0 to 10</strong>
|
82
|
+
| |
|
83
|
+
| |
|
84
|
+
| * <em style='color:grey'>63d539bd33057223ddbdf85333a677e70ef2cf4c</em>
|
85
|
+
| | <strong>2013-06-13 10:21</strong> By Huang Wei <huang@humentsoft.com>
|
86
|
+
| | | | <strong style='color:green'>update progress of task server to 50</strong>
|
87
|
+
| |
|
88
|
+
| |
|
89
|
+
| * <em style='color:grey'>632872a5122d1403cc3a5e01c39c5ec299c1664d</em>
|
90
|
+
| | <strong>2013-06-13 10:04</strong> By Huang Wei <huang@humentsoft.com>
|
91
|
+
| | | | <strong style='color:green'>update progress of task server to 20</strong>
|
92
|
+
| |
|
93
|
+
| |
|
94
|
+
| * <em style='color:grey'>259f168a98ff33af2bf3b4b9bf0ba288d0212490</em>
|
95
|
+
| | <strong>2013-06-13 10:04</strong> By Huang Wei <huang@humentsoft.com>
|
96
|
+
| | | | <strong style='color:green'>update progress of task server to 10</strong>
|
97
|
+
| |
|
98
|
+
| |
|
99
|
+
| * <em style='color:grey'>011fe218159e33c261a5ad16a81ec7ad5ab591c0</em>
|
100
|
+
| | <strong>2013-06-13 10:03</strong> By Huang Wei <huang@humentsoft.com>
|
101
|
+
| | | | <strong style='color:green'>update progress of task docup to 100</strong>
|
102
|
+
| |
|
103
|
+
| |
|
104
|
+
| * <em style='color:grey'>27325d491f881ad7aa79cf6d698cdd95ea985f12</em>
|
105
|
+
| |\ <strong>2013-06-13 10:03</strong> By Huang Wei <huang@humentsoft.com>
|
106
|
+
| | | | | | <strong style='color:green'>Merge branch 'docup' into develop</strong>
|
107
|
+
| | |
|
108
|
+
| | |
|
109
|
+
| | * <em style='color:grey'>7bacfd6018bdf8c47815c08888da25d86d019824</em>
|
110
|
+
| |/ <strong>2013-06-13 10:03</strong> By Huang Wei <huang@humentsoft.com>
|
111
|
+
| | | | <strong style='color:green'>[close] close the branch by set progress to 100.</strong>
|
112
|
+
| |
|
113
|
+
| |
|
114
|
+
| * <em style='color:grey'>1ff39d99261eb0f9e3101c4ae14d48fec9934940</em>
|
115
|
+
| | <strong>2013-06-13 09:26</strong> By Huang Wei <huang@humentsoft.com>
|
116
|
+
| | | | <strong style='color:green'>update progress of task docup to 10</strong>
|
117
|
+
| |
|
118
|
+
| |
|
119
|
+
| * <em style='color:grey'>d08d988e79c74d6cd52c479512c42ef1010eb63c</em>
|
120
|
+
| | <strong>2013-06-12 17:40</strong> By Huang Wei <huangw@pe-po.com>
|
121
|
+
| | | | <strong style='color:green'>update progress of task docx to 100</strong>
|
122
|
+
| |
|
123
|
+
| |
|
124
|
+
| * <em style='color:grey'>660833a30d8ee2ad3c8ada83072d9ee099bfdaa7</em>
|
125
|
+
| |\ <strong>2013-06-12 17:40</strong> By Huang Wei <huangw@pe-po.com>
|
126
|
+
| | | | | | <strong style='color:green'>Merge branch 'docx' into develop</strong>
|
127
|
+
| | |
|
128
|
+
| | |
|
129
|
+
| | * <em style='color:grey'>851db1ef761ffbf8b8568811e392d8aa3e1248e1</em>
|
130
|
+
| |/ <strong>2013-06-12 17:40</strong> By Huang Wei <huangw@pe-po.com>
|
131
|
+
| | | | <strong style='color:green'>[close] close the branch by set progress to 100.</strong>
|
132
|
+
| |
|
133
|
+
| |
|
134
|
+
| * <em style='color:grey'>a96485aba4ccba1779d8ba30a395da7d2fef7a01</em>
|
135
|
+
| | <strong>2013-06-12 16:37</strong> By Huang Wei <huangw@pe-po.com>
|
136
|
+
| | | | <strong style='color:green'>update progress of task docx to 10</strong>
|
137
|
+
| |
|
138
|
+
| |
|
139
|
+
| * <em style='color:grey'>22f182e221d4c7ada28451a170952db80818f108</em>
|
140
|
+
| | <strong>2013-06-12 16:37</strong> By Huang Wei <huangw@pe-po.com>
|
141
|
+
| | | | <strong style='color:green'>update on develop</strong>
|
142
|
+
| |
|
143
|
+
| |
|
144
|
+
| * <em style='color:grey'>1e249e20e7e62b000372da46e8e7d99168a790d5</em>
|
145
|
+
| | <strong>2013-06-12 16:29</strong> By Huang Wei <huangw@pe-po.com>
|
146
|
+
| | | | <strong style='color:green'>update progress of task parser to 100</strong>
|
147
|
+
| |
|
148
|
+
| |
|
149
|
+
| * <em style='color:grey'>4433ff051851c837601808419da9b8628d61a0fe</em>
|
150
|
+
| |\ <strong>2013-06-12 16:29</strong> By Huang Wei <huangw@pe-po.com>
|
151
|
+
| | | | | | <strong style='color:green'>Merge branch 'parser' into develop</strong>
|
152
|
+
| | |
|
153
|
+
| | |
|
154
|
+
| | * <em style='color:grey'>4ebcddc1aacacf7960279529a0e226d02d18dea2</em>
|
155
|
+
| | | <strong>2013-06-12 16:29</strong> By Huang Wei <huangw@pe-po.com>
|
156
|
+
| | | | | | <strong style='color:green'>[close] close the branch by set progress to 100.</strong>
|
157
|
+
| | |
|
158
|
+
| | |
|
159
|
+
| | * <em style='color:grey'>c02f3faf055a953e837dcbb8c08d214929b69631</em>
|
160
|
+
| | | <strong>2013-06-12 11:28</strong> By Huang Wei <huangw@pe-po.com>
|
161
|
+
| | | | | | <strong style='color:green'>[progress] update progress to 35</strong>
|
162
|
+
| | |
|
163
|
+
| | |
|
164
|
+
| | * <em style='color:grey'>cb3c603e2c39f4a6380c4ff42627800223f1df9f</em>
|
165
|
+
| | |\ <strong>2013-06-12 11:25</strong> By Huang Wei <huangw@pe-po.com>
|
166
|
+
| | |/ | |/| <strong style='color:green'>Merge branch 'develop' into parser</strong>
|
167
|
+
| | |
|
168
|
+
| | |
|
169
|
+
| * | <em style='color:grey'>63bc917f67d17c3ffc4697d27bce1201ff837483</em>
|
170
|
+
| | | <strong>2013-06-12 11:25</strong> By Huang Wei <huangw@pe-po.com>
|
171
|
+
| | | | | | <strong style='color:green'>update progress of task parser to 35</strong>
|
172
|
+
| | |
|
173
|
+
| | |
|
174
|
+
| | * <em style='color:grey'>4654400daf726cdc5357da7a0228692088538b88</em>
|
175
|
+
| | | <strong>2013-06-12 11:25</strong> By Huang Wei <huangw@pe-po.com>
|
176
|
+
| | | | | | <strong style='color:green'>[progress] update progress to 35</strong>
|
177
|
+
| | |
|
178
|
+
| | |
|
179
|
+
| | * <em style='color:grey'>4d6ca5fe0cff693ec88e83c916c6939856c3f70e</em>
|
180
|
+
| | |\ <strong>2013-06-12 11:23</strong> By Huang Wei <huangw@pe-po.com>
|
181
|
+
| | |/ | |/| <strong style='color:green'>Merge branch 'develop' into parser</strong>
|
182
|
+
| | |
|
183
|
+
| | |
|
184
|
+
| * | <em style='color:grey'>3e04aeb3403c126d82a62bb2a20a72815080d8d8</em>
|
185
|
+
| | | <strong>2013-06-12 11:23</strong> By Huang Wei <huangw@pe-po.com>
|
186
|
+
| | | | | | <strong style='color:green'>update progress of task parser to 30</strong>
|
187
|
+
| | |
|
188
|
+
| | |
|
189
|
+
| | * <em style='color:grey'>f3985b809df19e4672fbe5a34d50d90697fd8e15</em>
|
190
|
+
| |/ <strong>2013-06-12 11:22</strong> By Huang Wei <huangw@pe-po.com>
|
191
|
+
| | | | <strong style='color:green'>[progress] update progress to 30</strong>
|
192
|
+
| |
|
193
|
+
| |
|
194
|
+
| * <em style='color:grey'>473e61be6bc015bfb5b3d7331d23bc4d407bb1b7</em>
|
195
|
+
| | <strong>2013-06-12 11:15</strong> By Huang Wei <huangw@pe-po.com>
|
196
|
+
| | | | <strong style='color:green'>update progress of task parser to 10</strong>
|
197
|
+
| |
|
198
|
+
| |
|
199
|
+
| * <em style='color:grey'>06c10ccac8c71c5c88646f5f930c5adf1ffdcb0b</em>
|
200
|
+
| | <strong>2013-06-12 11:14</strong> By Huang Wei <huangw@pe-po.com>
|
201
|
+
| | | | <strong style='color:green'>update progress of task design to 100</strong>
|
202
|
+
| |
|
203
|
+
| |
|
204
|
+
| * <em style='color:grey'>468f9f0ba196b75ccf91124979fead7810a67eab</em>
|
205
|
+
| |\ <strong>2013-06-12 11:14</strong> By Huang Wei <huangw@pe-po.com>
|
206
|
+
| | | | | | <strong style='color:green'>Merge branch 'design' into develop</strong>
|
207
|
+
| | |
|
208
|
+
| | |
|
209
|
+
| | * <em style='color:grey'>b556ca8e73f1f927ed183d22558c5d3674c37349</em>
|
210
|
+
| |/ <strong>2013-06-12 11:14</strong> By Huang Wei <huangw@pe-po.com>
|
211
|
+
| | | | <strong style='color:green'>update readme.</strong>
|
212
|
+
| |
|
213
|
+
| |
|
214
|
+
| * <em style='color:grey'>8c22bcbcec187cf475786ae21bed61935ff249aa</em>
|
215
|
+
| | <strong>2013-06-12 10:21</strong> By Huang Wei <huangw@pe-po.com>
|
216
|
+
| | | | <strong style='color:green'>update progress of task design to 10</strong>
|
217
|
+
| |
|
218
|
+
| |
|
219
|
+
| * <em style='color:grey'>ac3862ef63de5e594e76fa5675959cc6fab1b62a</em>
|
220
|
+
| | <strong>2013-06-12 10:20</strong> By Huang Wei <huangw@pe-po.com>
|
221
|
+
| | | | <strong style='color:green'>update Gantt chart</strong>
|
222
|
+
| |
|
223
|
+
| |
|
224
|
+
| * <em style='color:grey'>8bdb56db381fa801a56bad355add39c78d44f5c1</em>
|
225
|
+
|/ <strong>2013-06-12 10:15</strong> By Huang Wei <huangw@pe-po.com>
|
226
|
+
| | <strong style='color:green'>update Gantt chart</strong>
|
227
|
+
|
|
59
228
|
|
|
60
229
|
* <em style='color:grey'>831f9d5945f2be643d54fd6abe230a8ae6657aba</em>
|
61
230
|
<strong>2013-06-12 10:14</strong> By Huang Wei <huangw@pe-po.com>
|
data/lib/mdoc/convert.rb
CHANGED
@@ -49,6 +49,14 @@ module Mdoc
|
|
49
49
|
def convert; self._convert('docx') end
|
50
50
|
end
|
51
51
|
|
52
|
+
class Epub < Pandoc
|
53
|
+
def convert; self._convert('epub') end
|
54
|
+
end
|
55
|
+
|
56
|
+
class Odt < Pandoc
|
57
|
+
def convert; self._convert('odt') end
|
58
|
+
end
|
59
|
+
|
52
60
|
class Pdf < Pandoc
|
53
61
|
def convert
|
54
62
|
self._convert('tex')
|
data/lib/mdoc/version.rb
CHANGED