Skip to content

Commit 62e5f71

Browse files
committed
🥚 🎡 0.0.1 release
Closes moremoban/moban#54
0 parents  commit 62e5f71

28 files changed

+1154
-0
lines changed

‎.gitignore

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

‎.moban.d/CUSTOM_README.rst.jj2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% extends 'README.rst.jj2' %}
2+
3+
{%block documentation_link%}
4+
{%endblock%}
5+
6+
{%block features%}
7+
With `slimish-jinja2 for Python 3 <git+https://github.com/cliu13/slimish-jinja2@python3>`_, this library allow moban users to
8+
have slim template in their next documentation endeavour.
9+
{%endblock%}

‎.moban.d/custom_setup.py.jj2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "setup.py.jj2" %}
2+
3+
{%block platform_block%}
4+
{%endblock%}
5+
6+
7+
{%block morefiles %} 'CONTRIBUTORS.rst',{%endblock%}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "tests/requirements.txt.jj2" %}
2+
3+
{%block extras %}
4+
moban
5+
black;python_version>="3.6"
6+
isort;python_version>="3.6"
7+
{%endblock%}

‎.moban.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
requires:
2+
- pypi-mobans-pkg==0.0.2
3+
configuration:
4+
template_dir:
5+
- "pypi-mobans-pkg:templates"
6+
- ".moban.d"
7+
configuration: moban-slim.yml
8+
targets:
9+
- README.rst: CUSTOM_README.rst.jj2
10+
- setup.py: custom_setup.py.jj2
11+
- requirements.txt: requirements.txt.jj2
12+
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
13+
- "docs/source/conf.py": "docs/conf.py_t"
14+
- test.sh: test.script.jj2
15+
- "moban_slim/_version.py": "_version.py.jj2"
16+
- .gitignore: gitignore.jj2
17+
- .travis.yml: travis.yml.jj2
18+
- Pipfile: Pipfile.jj2

‎.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo: false
2+
language: python
3+
notifications:
4+
email: false
5+
python:
6+
- pypy-5.3.1
7+
- 3.7-dev
8+
- 3.6
9+
- 3.5
10+
- 3.4
11+
- 2.7
12+
before_install:
13+
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
14+
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
15+
mv min_requirements.txt requirements.txt ;
16+
fi
17+
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
18+
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
19+
- pip install -r tests/requirements.txt
20+
script:
21+
- make test
22+
after_success:
23+
codecov

‎CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change log
2+
===========

‎CONTRIBUTORS.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Author
2+
================================================================================
3+
4+
Charlie Liu
5+
6+
Contributors
7+
================================================================================
8+
9+
In alphabetical order:
10+
11+
* `C. W. <https://github.com/chfw>`_
12+
* `John Vandenberg <https://github.com/jayvdb>`_
13+
* `PRAJWAL M <https://github.com/PrajwalM2212>`_

‎MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include README.rst
2+
include CHANGELOG.rst
3+
include CONTRIBUTORS.rst

‎Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
all: test
2+
3+
test:
4+
bash test.sh
5+
6+
document:
7+
bash document.sh
8+
9+
format:
10+
isort -y $(find moban_slim -name "*.py"|xargs echo) $(find tests -name "*.py"|xargs echo)
11+
black -l 79 moban_slim
12+
black -l 79 tests

0 commit comments

Comments
 (0)