Skip to content

Commit 12bbea0

Browse files
committed
Changed the README from markdown to just plain text. This will
allow it to work better as the long description on PyPi. Fixes intercom#4.
1 parent b0f6951 commit 12bbea0

File tree

5 files changed

+81
-90
lines changed

5 files changed

+81
-90
lines changed

README

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# python-intercom
2+
3+
Python-intercom is a Python wrapper for the Intercom API[1].
4+
Detailed documentation[2] is available on http://readthedocs.org.
5+
6+
Typical usage:
7+
8+
from intercom import Intercom
9+
Intercom.app_id = 'dummy-app-id'
10+
Intercom.api_key = 'dummy-api-key'
11+
12+
from intercom import User
13+
for user in User.all():
14+
print user.email
15+
16+
[1] http://docs.intercom.io/api
17+
[2] http://readthedocs.org/docs/python-intercom/

README.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

docs/changelog.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=========
2+
Changelog
3+
=========
4+
5+
* 0.2.3
6+
* Fixed version number of distribution to match documentation.
7+
* 0.2.2
8+
* Finished docstrings and doctests.
9+
* 0.2.1
10+
* Added some docstrings.
11+
* 0.2
12+
* created source distribution `#2 <https://github.com/jkeyes/python-intercom/issues/2>`_.
13+
* renamed errors `#1 <https://github.com/jkeyes/python-intercom/issues/1>`_.
14+
* 0.1
15+
* initial release

docs/index.rst

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
========
2-
intercom
3-
========
1+
===============
2+
python-intercom
3+
===============
44

55
.. toctree::
66
:hidden:
77

88
api/modules
9+
installation
10+
changelog
911

1012
Installation
1113
============
1214

13-
``pip install python-intercom``
15+
Stable releases of python-intercom can be installed with
16+
`pip <http://pip.openplans.org>`_ or you may download a `.tgz` source
17+
archive from `pypi <http://pypi.python.org/pypi/python-intercom#downloads>`_.
18+
See the :doc:`installation` page for more detailed instructions.
1419

15-
Python wrapper for the Intercom API
20+
If you want to use the latest code, you can grab it from our
21+
`Git repository <http://github.com/jkeyes/python-intercom>`_, or `fork it <http://github.com/jkeyes/python-intercom>`_.
22+
23+
Usage
1624
===================================
1725

1826
Authentication
@@ -123,10 +131,16 @@ Reply on a Message Thread
123131

124132
message_thread = MessageThread.create(email="ben@intercom.io",
125133
thread_id=123,
126-
body="No much either :(")
134+
body="Not much either :(")
135+
136+
Changelog
137+
=========
138+
139+
The :doc:`changelog` keeps track of changes per release.
127140

128141
pydoc
129142
=====
130143

131144
View the extensive `pydoc <api/modules.html>`_ which has liberal helpings of
132145
`doctests` to display usage.
146+

docs/installation.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
============
2+
Installation
3+
============
4+
5+
The simplest way to install python-intercom is with `pip <http://pip.openplans.org>`_:
6+
7+
::
8+
9+
pip install python-intercom
10+
11+
Dependencies
12+
============
13+
14+
python-intercom uses the `Requests <http://python-requests.org/>`_ HTTP library.
15+
16+
Development Dependencies
17+
========================
18+
19+
The following packages are used in the development of python-intercom:
20+
21+
* `nose <http://readthedocs.org/docs/nose/en/latest/>`_: makes unit testing easier.
22+
* `coverage <http://nedbatchelder.com/code/coverage/>`_: code coverage.
23+
* `mock <http://www.voidspace.org.uk/python/mock/>`_: patching methods for unit testing.
24+
* `pylint <http://www.logilab.org/857>`_: source code analyzer.
25+
* `Sphinx <http://sphinx.pocoo.org/>`_: documentation decorator.
26+
* `Pygments <http://pygments.org/>`_: Python syntax highlighting for documentation.
27+
* `docutils <http://docutils.sourceforge.net/>`_: reStructuredText support.
28+
* `Jinja <http://jinja.pocoo.org/docs/>`_: templating language.
29+

0 commit comments

Comments
 (0)