jfinkels / flask-restless

NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
https://flask-restless.readthedocs.io
GNU Affero General Public License v3.0
1.02k stars 301 forks source link

Fix documentation on pagination. #612

Closed Natureshadow closed 7 years ago

Natureshadow commented 7 years ago

"Anything but a positive integer" would mean, e.g., -1 or "foo" or an empty list. This is not true - the code requires both parameters to be a positive integer. The value 0 is the only value that disables pagination.

jfinkels commented 7 years ago

Thanks! I'll take a look at this and merge it.

The build failure is not your fault, it is due to some newly deprecated options in the latest release of Sphinx, version 1.5.