Add the media_page plugin to the docs.

This commit is contained in:
Simon Conseil
2014-12-06 23:08:46 +01:00
parent bfbf07a4b2
commit 33f7d331d0
2 changed files with 13 additions and 2 deletions

View File

@@ -94,6 +94,11 @@ Copyright plugin
.. automodule:: sigal.plugins.copyright
Media page plugin
=================
.. automodule:: sigal.plugins.media_page
Upload to S3 plugin
===================

View File

@@ -21,13 +21,19 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
import os
"""Plugin which generates HTML pages for each image.
Currently this plugin can be used only with the colorbox theme, the other
themes have to be adapted.
For themes, the ``previous_media`` and ``next_media`` variables contain the
previous/next :class:`~sigal.gallery.Media` objects.
"""Plugin which generates pages for each image.
"""
import codecs
import logging
import os
from sigal import signals
from sigal.writer import Writer