Skip to content

Commit

Permalink
docs(src): syntax highlighting and content in contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvuong committed Nov 5, 2015
1 parent 431d102 commit 583b836
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions docs/src/contribute.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
Contributing to PyNodeBB
========================

Before contributing, please read the `contribution guide <https://github.com/davidvuong/pynodebb/blob/master/CONTRIBUTING.md>`_ on GitHub.
*All code in any code-base should look like a single person typed it, no matter how many people contributed.*

The following are a few rules you need to follow when contributing to ``pynodebb``.

* Please follow PEP8... or to the best of your ability... and when it makes sense.

*All I want to say is, people lighten up. The style guide can't solve all your problems. You are never going to have all code compliant. Use the style guide when it helps, ignore it when it's in the way.* -- Guido van Rossum

* When documenting your code, please follow the Google Style Docstrings. Here's an `example <http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_google.html>`_.

1. Fork the PyNodeBB `repository <https://github.com/davidvuong/pynodebb>`_ on GitHub.

Expand All @@ -23,4 +31,4 @@ Before contributing, please read the `contribution guide <https://github.com/dav
4. Make your awesome changes.

5. Submit a PR on `GitHub <https://github.com/davidvuong/pynodebb/pulls>`_.
5. Submit a pull request on `GitHub <https://github.com/davidvuong/pynodebb/pulls>`_.
3 changes: 2 additions & 1 deletion docs/src/getstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ To re-cap, make sure that you've:

The next step is to start using the PyNodeBB client.

.. code:: python
.. code-block:: python
:linenos:
from __future__ import print_function
from pynodebb import Client
Expand Down

0 comments on commit 583b836

Please sign in to comment.