Skip to content

Commit fed3fa7

Browse files
committed
fix(mandoc-template-paper): add documents
Signed-off-by: Richard Lea <chigix@zoho.com>
1 parent 1bcd7a7 commit fed3fa7

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

packages/tpl-paper/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# mandoc-template-paper
2+
3+
The [ManDoc](https://www.npmjs.com/package/mandoc) default template package,
4+
originally designed for Scientific Journal or Report Document of University
5+
Student's Assignment.
6+
7+
This template support two-column layout with figures floating to the top and
8+
bottom. Counter Numbers would also be prefixed automatically to each heading
9+
titles.
10+
11+
![welcome](./welcome.png)

packages/tpl-paper/gulpfile.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ gulp.task('layout-dir', function () {
3636
.pipe(gulp.dest(distDir('layout')));
3737
});
3838

39+
gulp.task('docs', function (done) {
40+
gulp.src('../../LICENSE').pipe(gulp.dest(distDir()));
41+
gulp.src('*.md')
42+
.pipe(gulp.dest(distDir()));
43+
return gulp.src('*.png')
44+
.pipe(gulp.dest(distDir()));
45+
});
46+
3947
gulp.task('package.json', function (done) {
4048
fs.writeJson(distDir('package.json'), json, {
4149
spaces: 2,
@@ -52,6 +60,7 @@ gulp.task('build', gulp.series(function (done) {
5260
done();
5361
}, 'mandoc.config.js',
5462
'package.json',
63+
'docs',
5564
'layout-dir',
5665
'js-files',
5766
'less-files'));

packages/tpl-paper/welcome.png

675 KB
Loading

0 commit comments

Comments
 (0)