Skip to content

Commit b661c4a

Browse files
committed
remove sheet name and work around rnd_requirements.txt
1 parent d496891 commit b661c4a

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

templates/README.rst.jj2

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ Here is the sample code:
141141
>>> # from pyexcel.ext import {{nick_name}}
142142
>>> sheet = pe.get_book(file_name="your_file.{{file_type}}")
143143
>>> sheet
144-
Sheet Name: Sheet 1
144+
Sheet 1:
145145
+---+---+---+
146146
| 1 | 2 | 3 |
147147
+---+---+---+
148148
| 4 | 5 | 6 |
149149
+---+---+---+
150-
Sheet Name: Sheet 2
150+
Sheet 2
151151
+-------+-------+-------+
152152
| row 1 | row 2 | row 3 |
153153
+-------+-------+-------+
@@ -177,13 +177,13 @@ You got to wrap the binary content with stream to get {{file_type}} working:
177177
... r = pe.get_book(file_type="{{file_type}}", file_content=content)
178178
... print(r)
179179
...
180-
Sheet Name: Sheet 1
180+
Sheet 1:
181181
+---+---+---+
182182
| 1 | 2 | 3 |
183183
+---+---+---+
184184
| 4 | 5 | 6 |
185185
+---+---+---+
186-
Sheet Name: Sheet 2
186+
Sheet 2:
187187
+-------+-------+-------+
188188
| row 1 | row 2 | row 3 |
189189
+-------+-------+-------+
@@ -209,6 +209,12 @@ You need to pass a StringIO instance to Writer:
209209

210210
{%include "license.rst.jj2" %}
211211

212+
Developer guide
213+
==================
214+
215+
{%include 'developer_guide.rst.jj2' %}
216+
217+
212218
{%block extras %}
213219
{%endblock %}
214220

templates/travis.yml.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ python:
1919
before_install:
2020
{% block custom_install %}
2121
{% endblock%}
22-
- pip install -r rnd_requirements.txt
22+
- if [[ -f rnd_requirements.txt ]]; then pip install -r rnd_requirements.txt; fi
2323
- pip install -r tests/requirements.txt
2424
script:
2525
make test

0 commit comments

Comments
 (0)