1
1
================================================================================
2
- moban - 模板 Any template, any data in any location
2
+ mó bǎn - 模板 General purpose static text generator
3
3
================================================================================
4
4
5
5
.. image :: https://api.travis-ci.org/moremoban/moban.svg?branch=master
@@ -28,6 +28,17 @@ moban - 模板 Any template, any data in any location
28
28
:License: MIT
29
29
30
30
31
+ Announcement
32
+ ================================================================================
33
+
34
+ For existing moban users, python 2 support has been dropped. Please stay with
35
+ versions lower than 0.7.0 if you are still using python 2.
36
+
37
+ From 2020 onwards, minimum requirement is Python 3.6
38
+
39
+ Introduction
40
+ ================================================================================
41
+
31
42
**moban ** started with bringing the high performance template engine (JINJA2) for web
32
43
into static text generation. It has been used in `pyexcel ` and `coala ` project to keep
33
44
documentation consistent across the documentations of individual libraries in the same
@@ -38,6 +49,11 @@ haml, slim and tornado, can read other data format: json and yaml, and can acces
38
49
template file and configuration file in
39
50
any location: zip, git, pypi package, s3, etc.
40
51
52
+ Vision
53
+ ================================================================================
54
+
55
+ Any template, any data in any location
56
+
41
57
Support
42
58
================================================================================
43
59
@@ -49,6 +65,11 @@ the project and develop it further.
49
65
With your financial support, I will be able to invest
50
66
a little bit more time in coding, documentation and writing interesting extensions.
51
67
68
+ Credit
69
+ ================================================================================
70
+
71
+ `jinja2-fsloader ` is the key component to enable PyFilesystem2 support in moban
72
+ v0.6x. Please show your stars there too!
52
73
53
74
Installation
54
75
================================================================================
@@ -129,7 +150,8 @@ All use cases are documented `here <http://moban.readthedocs.org/en/latest/#tuto
129
150
Work with files in a git repo
130
151
================================================================================
131
152
132
- `gitfs2 <https://github.com/moremoban/gitfs2 >`_ is installed by default since v0.6.1
153
+ `gitfs2 <https://github.com/moremoban/gitfs2 >`_ is optional since v0.7.0 but was
154
+ installed by default since v0.6.1
133
155
134
156
135
157
You can do the following with moban:
@@ -150,7 +172,8 @@ You can do the following with moban:
150
172
Work with files in a python package
151
173
================================================================================
152
174
153
- `pypifs <https://github.com/moremoban/pypifs >`_ is installed by default since v0.6.1
175
+ `pypifs <https://github.com/moremoban/pypifs >`_ is optional since v0.7.0 but
176
+ was installed by default since v0.6.1
154
177
155
178
You can do the following with moban:
156
179
0 commit comments