Adding sphinx builds to Travis

* added default module django_q
* set build mode to nit-picky
* warnings raise errors

Want to make sure the docs are neat and build on Travis , to make it easier to accept doc pull requests
This commit is contained in:
Ilan
2015-07-13 15:30:12 +02:00
parent 3e00dffb6a
commit 8e07203d18
10 changed files with 39 additions and 31 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
Tasks
=====
.. py:currentmodule:: django_q
Async
-----
Use :func:`async` from your code to quickly offload tasks to the :mod:`cluster`:
Use :func:`async` from your code to quickly offload tasks to the :class:`Cluster`:
.. code:: python
@@ -83,9 +84,9 @@ Reference
:param func: The task function to execute
:param args: The arguments for the task function
:type func: str or object
:type func: object
:param hook: Optional function to call after execution
:type hook: str or object
:type hook: object
:param bool sync: If set to True, async will simulate a task execution
:param redis: Optional redis connection
:param kwargs: Keyword arguments for the task function