@@ -41,15 +41,26 @@ Introduction
4141================================================================================
4242
4343**moban ** started with bringing the high performance template engine (JINJA2) for web
44- into static text generation. It has been used in `pyexcel ` and `coala ` project to keep
45- documentation consistent across the documentations of individual libraries in the same
46- organisation.
44+ into static text generation.
4745
4846**moban ** can use other python template engine: mako, handlebars, velocity,
4947haml, slim and tornado, can read other data format: json and yaml, and can access both
5048template file and configuration file in
5149any location: zip, git, pypi package, s3, etc.
5250
51+
52+ It has been used in `pyexcel <https://github.com/pyexcel/pyexcel >`_ and
53+ `coala <https://github.com//coala/coala >`_ project to keep
54+ documentation consistent across the documentations of individual libraries in the same
55+ organisation.
56+
57+ And here is a list of other usages:
58+
59+ 1. `Django Mobans <https://github.com/django-mobans >`_, templates for django, docker etc.
60+ 1. `Math Sheets <https://github.com/chfw/math-sheets >`_, generate custom math sheets
61+ in pdf
62+
63+
5364Vision
5465================================================================================
5566
@@ -58,7 +69,7 @@ Any template, any data in any location
5869Support
5970================================================================================
6071
61- If you like moban, please support me on ` github < https://github.com/sponsors/chfw >`_ ,
72+ If you like moban, please support me on,
6273`patreon <https://www.patreon.com/bePatron?u=5537627 >`_
6374or `bounty source <https://salt.bountysource.com/teams/chfw-pyexcel >`_ to maintain
6475the project and develop it further.
@@ -69,7 +80,7 @@ a little bit more time in coding, documentation and writing interesting extensio
6980Credit
7081================================================================================
7182
72- `jinja2-fsloader ` is the key component to enable PyFilesystem2 support in moban
83+ `jinja2-fsloader < https://github.com/althonos/jinja2-fsloader >`_ is the key component to enable PyFilesystem2 support in moban
7384v0.6x. Please show your stars there too!
7485
7586Installation
@@ -150,7 +161,23 @@ Moban in live action:
150161All use cases are documented `here <http://moban.readthedocs.org/en/latest/#tutorial >`_
151162
152163
153- Work with files in a git repo
164+ Templates and configuration files over HTTP(S)
165+ ================================================================================
166+
167+ `httpfs <https://github.com/moremoban/httpfs >`_ should be installed first.
168+
169+ .. code-block :: bash
170+
171+ $ moban -t ' https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/templates/_version.py.jj2' \
172+ -c ' https://raw.githubusercontent.com/moremoban/pypi-mobans/dev/config/data.yml' \
173+ -o _version.py
174+
175+
176+ In an edge case, if github repo's public url is given,
177+ this github repo shall not have sub repos. This library will fail to
178+ translate sub-repo as url. No magic.
179+
180+ Templates and configuration files in a git repo
154181================================================================================
155182
156183`gitfs2 <https://github.com/moremoban/gitfs2 >`_ is optional since v0.7.0 but was
@@ -172,7 +199,7 @@ You can do the following with moban:
172199 __author__ = " C.W."
173200
174201
175- Work with files in a python package
202+ Templates and configuration files in a python package
176203================================================================================
177204
178205`pypifs <https://github.com/moremoban/pypifs >`_ is optional since v0.7.0 but
0 commit comments