Skip to content

Commit

Permalink
docs auto test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanMo committed Apr 9, 2016
1 parent 646cc33 commit 43d38e2
Show file tree
Hide file tree
Showing 27 changed files with 1,653 additions and 254 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/start.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8744bf48cfbda993345132fdd4423c20
config: 43d22ff0ebec04b511688f1162742617
tags: 645f666f9bcd5a90fca523b33c5a78b7
85 changes: 75 additions & 10 deletions docs/_build/html/_sources/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,85 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Welcome to django_wechat's documentation!
=========================================
django_wechat
=============

Contents:
django_wechat 是一个基于django的微信基础模块,提供了微信的最基础接口功能.

.. toctree::
:maxdepth: 2
功能
-----

- 关注回复(关键字为"关注")
- 默认回复(关键字为"默认")
- 文本回复
- 单图文回复
- 自定义菜单

使用方法
---------

Indices and tables
==================
安装依赖模块::

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
pip install xmltodict

安装wechat::

pip install git+https://github.com/ChanMo/django_wechat.git

把wechat模块添加到你的settings.py里面::

INSTALLED_APPS = (
...
'wechat',
...
)


在settings.py里面添加微信设置信息::

# wechat config
WECHAT_APPID = 'test'
WECHAT_APPSECRET = 'test'
WECHAT_TOKEN = 'yourtoken'
WECHAT_MCH_ID = 'test'
WECHAT_KEY = 'test'
WECHAT_JS_DEBUG = 'test'
WECHAT_JS_APILIST = ['test']

在urls.py里面添加微信接口::

url(r'^wx/', include('wechat.urls')),

添加数据表::

python manage.py migrate

使用微信开发者模块::

接口地址为:http://yourdomain/wx/
token为: yourtoken


api模块
--------

- Base
- Menu
- Push
- Reponse
- Member
- Pay
- Js
- Qrcode


开发者
-------

- chanmo: http://www.findchen.com/

版本更改
---------
- v0.3 使js配置信息可编辑,添加Qrcode类
- v0.2 添加WxMemberView
- v0.1 第一版
66 changes: 66 additions & 0 deletions docs/_build/html/_sources/start.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
基于django的微信基础模块
========================

一个基于django的微信基础功能模块

快速开始:
---------

安装依赖模块:

.. code-block::

pip install xmltodict

安装wechat:

.. code-block::

pip install git+https://github.com/ChanMo/django_wechat.git

把wechat模块添加到你的settings.py里面:

.. code-block::

INSTALLED_APPS = (
...
'wechat',
...
)

在settings.py里面添加微信设置信息:

.. code-block::

# wechat config
WECHAT_APPID = 'test'
WECHAT_APPSECRET = 'test'
WECHAT_TOKEN = 'yourtoken'
WECHAT_MCH_ID = 'test'
WECHAT_KEY = 'test'
WECHAT_JS_DEBUG = 'test'
WECHAT_JS_APILIST = ['test']

在urls.py里面添加微信接口:

.. code-block::

url(r'^wx/', include('wechat.urls')),

添加数据表:

.. code-block::

python manage.py migrate

使用微信开发者模块:

接口地址为:http://yourdomain/wx/
token为: yourtoken


版本更改:
---------
- v0.3 使js配置信息可编辑,添加Qrcode类
- v0.2 添加WxMemberView
- v0.1 第一版
2 changes: 2 additions & 0 deletions docs/_build/html/_static/css/badge_only.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions docs/_build/html/_static/css/theme.css

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file added docs/_build/html/_static/fonts/Lato-Bold.ttf
Binary file not shown.
Binary file added docs/_build/html/_static/fonts/Lato-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 43d38e2

Please sign in to comment.