docs: Fix sphinx warnings

Related to T2188
This commit is contained in:
Antoine Lambert 2020-01-17 15:42:18 +01:00
parent 4b383abc56
commit 99fcd2b3f5
6 changed files with 64 additions and 67 deletions

View file

@ -70,29 +70,20 @@ class CRANLister(SimpleLister):
containing data about the R packages.
Returns:
List of Dict about r packages. For example:
.. code-block:: python
List of Dict about R packages. For example::
[
{
'Package': 'A3',
'Version': '1.0.0',
'Title':
'Accurate, Adaptable, and Accessible Error Metrics
for Predictive\nModels',
'Description':
'Supplies tools for tabulating and analyzing the
results of predictive models. The methods employed
are ... '
'Title': 'A3 package',
'Description': ...
},
{
'Package': 'abbyyR',
'Version': '0.5.4',
'Title':
'Access to Abbyy OCR (OCR) API',
'Description': 'Get text from images of text using
Abbyy Cloud Optical Character\n ...'
'Title': 'Access to Abbyy OCR (OCR) API',
'Description': ...'
},
...
]