From b71658e12f7301efca00a41039bddcd7ee45fb6b Mon Sep 17 00:00:00 2001 From: Ira Lun Date: Fri, 16 Jun 2017 23:38:03 +0100 Subject: Include all relevant classes from acceptparse.py in docs. --- docs/api/webob.txt | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) (limited to 'docs/api') diff --git a/docs/api/webob.txt b/docs/api/webob.txt index 7b02a15..f374aa7 100644 --- a/docs/api/webob.txt +++ b/docs/api/webob.txt @@ -6,12 +6,49 @@ Headers Accept-* ~~~~~~~~ +.. # 2017-06-16: There appears to be various bugs with the ``:members`` and +.. # ``:inherited-members`` options, both when the two are used together, and +.. # when one of them is combined with ``autoattribute``, so we are using +.. # ``automethod`` and ``autoattribute`` instead. .. automodule:: webob.acceptparse -.. autoclass:: Accept - :members: + +.. autoclass:: AcceptCharset + + .. automethod:: best_match + .. automethod:: quality + +.. autoclass:: AcceptEncoding + + .. automethod:: best_match + .. automethod:: quality + +.. autoclass:: AcceptLanguage + + .. automethod:: best_match + .. automethod:: quality + .. autoclass:: MIMEAccept - :members: + + .. autoattribute:: accepts_html + .. automethod:: accept_html + .. automethod:: best_match + .. automethod:: quality + +.. autoclass:: MIMENilAccept + + .. automethod:: best_match + .. automethod:: quality + +.. autoclass:: NilAccept + + .. automethod:: best_match + .. automethod:: quality + +.. autoclass:: NoAccept + + .. automethod:: best_match + .. automethod:: quality Cache-Control ~~~~~~~~~~~~~ -- cgit v1.2.1