sprockets.mixins.mediatype/docs/api.rst
Andrew Rabert fd3f8b3008 Python 3 updates
- Simplify super()
- Remove object inheritance
- Simplify package namespacing
- Remove BinaryWrapper
- Remove python 2 code paths
2018-11-28 11:50:40 -05:00

35 lines
684 B
ReStructuredText

API Documentation
=================
.. currentmodule:: sprockets.mixins.mediatype.content
Content Type Handling
---------------------
.. autoclass:: ContentMixin
:members:
Content Type Registration
-------------------------
.. autofunction:: install
.. autofunction:: get_settings
.. autofunction:: set_default_content_type
.. autofunction:: add_binary_content_type
.. autofunction:: add_text_content_type
.. autofunction:: add_transcoder
.. autoclass:: ContentSettings
:members:
Bundled Transcoders
-------------------
.. currentmodule:: sprockets.mixins.mediatype.transcoders
.. autoclass:: JSONTranscoder
:members:
.. autoclass:: MsgPackTranscoder
:members: