diff --git a/AUTHORS b/AUTHORS index c776a43c..29993c84 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,7 +12,7 @@ Laine Herron https://github.com/LaineHerron CONTRIBUTORS -Dervived from the git logs, inevitably incomplete but all of whom and others +Derived from the git logs, inevitably incomplete but all of whom and others have submitted patches, reported bugs and generally helped make MongoEngine that much better: diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c935d5a3..aeba41f7 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -29,7 +29,10 @@ Style Guide ----------- MongoEngine aims to follow `PEP8 `_ -including 4 space indents and 79 character line limits. +including 4 space indents. When possible we try to stick to 79 character line limits. +However, screens got bigger and an ORM has a strong focus on readability and +if it can help, we accept 119 as maximum line length, in a similar way as +`django does `_ Testing ------- @@ -38,6 +41,10 @@ All tests are run on `Travis `_ and any pull requests are automatically tested by Travis. Any pull requests without tests will take longer to be integrated and might be refused. +You may also submit a simple failing test as a PullRequest if you don't know +how to fix it, it will be easier for other people to work on it and it may get +fixed faster. + General Guidelines ------------------ @@ -48,6 +55,7 @@ General Guidelines from the cmd line to run the test suite). - Ensure tests pass on every Python and PyMongo versions. You can test on these versions locally by executing ``tox`` +- Add enhancements or problematic bug fixes to docs/changelog.rst - Add yourself to AUTHORS :) Documentation diff --git a/README.rst b/README.rst index f2829cd3..f4c92d5f 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,9 @@ a `tutorial `_ +We recommend the use of `virtualenv `_ and of +`pip `_. You can then use ``pip install -U mongoengine``. +You may also have `setuptools `_ and thus you can use ``easy_install -U mongoengine``. Otherwise, you can download the source from `GitHub `_ and run ``python setup.py install``. @@ -114,7 +116,7 @@ Also use the -s argument if you want to print out whatever or access pdb while t .. code-block:: shell - $ python setup.py nosetests --tests tests/test_django.py:QuerySetTest.test_get_document_or_404 -s + $ python setup.py nosetests --tests tests/fields/fields.py:FieldTest.test_cls_field -s Community ========= diff --git a/docs/_themes/sphinx_rtd_theme/footer.html b/docs/_themes/sphinx_rtd_theme/footer.html index e42d753f..1fa05eaa 100755 --- a/docs/_themes/sphinx_rtd_theme/footer.html +++ b/docs/_themes/sphinx_rtd_theme/footer.html @@ -2,7 +2,7 @@ {% if next or prev %}