Skip to content

Commit dab0e0e

Browse files
committed
fix #30: the documentation is lagging the example source code. now is updated
1 parent ae67b88 commit dab0e0e

File tree

7 files changed

+328
-289
lines changed

7 files changed

+328
-289
lines changed

.moban.d/docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{% extends 'docs/source/conf.py.jj2' %}
22

3+
{%block SPHINX_EXTENSIONS%}
4+
'sphinxcontrib.spelling'
5+
{%endblock%}
6+
7+
38
{%block custom_doc_theme%}
49
import os # noqa
510
import sys # noqa

.moban.d/docs/source/index.rst.jj2

Lines changed: 144 additions & 145 deletions
Large diffs are not rendered by default.

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ matrix:
3737
- python: 3.5
3838
env: DJANGO_VERSION=1.8.14
3939
before_install:
40+
- cd $HOME
41+
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7.1-linux_x86_64-portable.tar.bz2 -O - | tar -jxf - && echo 'Setting up aliases...' && ln -s pypy-5.7.1-linux_x86_64-portable pypy2-latest && export PATH=$HOME/pypy2-latest/bin/:$PATH && virtualenv --no-site-packages --python ~/pypy2-latest/bin/pypy pypy2-env && echo 'Creating custom env...' && source pypy2-env/bin/activate && python -V; fi"
42+
- cd -
4043
- pip install Django==$DJANGO_VERSION
4144
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
4245
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ all: test
33
test:
44
bash test.sh
55

6+
spelling:
7+
sphinx-build -b spelling doc/source/ doc/build/spelling

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
'sphinx.ext.doctest',
1010
'sphinx.ext.intersphinx',
1111
'sphinx.ext.viewcode',
12+
'sphinxcontrib.spelling'
1213
]
1314

1415
intersphinx_mapping = {

doc/source/index.rst

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

doc/source/spelling_wordlist.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
admin
2+
url
3+
pyexcel
4+
django
5+
tsv
6+
tsvz
7+
xls
8+
xlsx
9+
xlsm
10+
Django
11+
IntelliJ
12+
ide
13+
ods
14+
csvz
15+
orgtbl
16+
mediawiki
17+
pypy
18+
init
19+
json
20+
plugins
21+
plugin
22+
rst
23+
handsontable
24+
xlwt
25+
patreon
26+
un
27+
svg
28+
odfpy
29+
io

0 commit comments

Comments
 (0)