Skip to content

Commit 7ff6f2d

Browse files
committed
Update README and documentation
1 parent 1acb380 commit 7ff6f2d

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ Announcements
4343
Features
4444
========
4545

46-
- Clean Pythonic interface
47-
- Lightweight
48-
- High ArangoDB REST API coverage
46+
- Clean Pythonic interface.
47+
- Lightweight.
48+
- High ArangoDB REST API coverage.
4949

5050
Compatibility
5151
=============
5252

53-
- Python versions 2.7, 3.4, 3.5 and 3.6 are supported
54-
- Python-arango 4.x supports ArangoDB 3.3+ (recommended)
55-
- Python-arango 3.x supports ArangoDB 3.0 ~ 3.2 only
56-
- Python-arango 2.x supports ArangoDB 1.x ~ 2.x only
53+
- Python versions 2.7, 3.4, 3.5 and 3.6 are supported.
54+
- Python-arango 4.x supports ArangoDB 3.3+ (recommended).
55+
- Python-arango 3.x supports ArangoDB 3.0 ~ 3.2 only.
56+
- Python-arango 2.x supports ArangoDB 1.x ~ 2.x only.
5757

5858
Installation
5959
============

docs/contributing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Requirements
77
Before submitting a pull request on GitHub_, please make sure you meet the
88
following **requirements**:
99

10-
* The pull request points to dev_ (development) branch.
10+
* The pull request points to the dev_ (development) branch.
1111
* All changes are squashed into a single commit (I like to use ``git rebase -i``
1212
to do this).
1313
* The commit message is in present tense (good: "Add feature", bad:
1414
"Added feature").
1515
* Correct and consistent style: Sphinx_-compatible docstrings, correct snake
1616
and camel casing, and PEP8_ compliance (see below).
1717
* No classes/methods/functions with missing docstrings or commented-out lines.
18-
You can take a look at the existing code in python-arango for examples.
18+
You can take a look at the source code on GitHub_ for examples.
1919
* The test coverage_ remains at %100. You may find yourself having to write
2020
superfluous unit tests to keep this number up. If a piece of code is trivial
2121
and has no need for tests, use this_ to exclude it from coverage.
@@ -24,11 +24,11 @@ following **requirements**:
2424
* Does not break backward-compatibility (unless there is a really good reason).
2525
* Compatibility with all supported Python versions: 2.7, 3.4, 3.5 and 3.6.
2626

27-
.. note::
27+
.. warning::
2828
The dev branch is occasionally rebased_, and its commit history may be
2929
overwritten in the process. Before you begin feature work, git fetch or
3030
pull to ensure that your local branch has not diverged. If you see git
31-
conflicts and want to start from scratch, run these commands:
31+
conflicts and just want to start from scratch, run these commands:
3232

3333
.. code-block:: bash
3434
@@ -92,7 +92,7 @@ Documentation
9292
=============
9393

9494
The documentation (including the README) is written in reStructuredText_ and
95-
uses Sphinx_. To build the HTML version of the documentation on your local
95+
uses Sphinx_. To build an HTML version of the documentation on your local
9696
machine:
9797

9898
.. code-block:: bash

docs/errors.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Server Errors
99
=============
1010

1111
:class:`arango.exceptions.ArangoServerError` exceptions lightly wrap non-2xx
12-
HTTP responses coming from ArangoDB. Each exception contains the error message,
13-
error code and HTTP request response details.
12+
HTTP responses coming from ArangoDB. Each exception object contains the error
13+
message, error code and HTTP request response details.
1414

1515
**Example:**
1616

docs/http.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ Using Custom HTTP Clients
22
-------------------------
33

44
Python-arango lets you use your own HTTP clients for sending API requests to
5-
ArangoDB server. The default implementation uses the Requests_ library.
5+
ArangoDB server. The default implementation uses the requests_ library.
66

77
Your HTTP client must inherit :class:`arango.http.HTTPClient` and implement its
88
abstract method :func:`arango.http.HTTPClient.send_request`. The method must
99
return valid (fully populated) instances of :class:`arango.response.Response`.
1010

11-
For example, let's say you want to use your own HTTP client with:
11+
For example, let's say your HTTP client needs:
1212

1313
* Automatic retries
1414
* Additional HTTP header called ``x-my-header``
@@ -150,8 +150,8 @@ Then you would inject your client as follows:
150150
http_client=CustomHTTPClient()
151151
)
152152

153-
For more information on how to use a ``requests.Session``, refer to
154-
`Requests documentation`_.
153+
For more information on how to configure a ``requests.Session`` object, refer
154+
to `requests documentation`_.
155155

156-
.. _Requests: https://github.com/requests/requests
157-
.. _Requests documentation: http://docs.python-requests.org/en/master/user/advanced/#session-objects
156+
.. _requests: https://github.com/requests/requests
157+
.. _requests documentation: http://docs.python-requests.org/en/master/user/advanced/#session-objects

docs/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Getting Started
33

44
Examples often speak louder than words, so this documentation relies heavily
55
on sample code snippets with comments. Here is the first example showing how
6-
**python-arango** client can be initialized and used:
6+
a **python-arango** client can be initialized and used:
77

88
.. testcode::
99

0 commit comments

Comments
 (0)