Sin descripción

Eric Plumb 1250a08f76 Create html_entity plugin hace 10 años
assets 31ccbde072 teach plugins with dependencies to behave hace 11 años
better_figures_and_images 9201d51d33 improved examples hace 11 años
code_include 95600f17b7 Removed docstrings to avoid doc duplication. hace 11 años
disqus_static 749f499206 Move disqus_static out of pelicanext hace 11 años
extract_toc 8d0e643637 Explicitly set the html parser to make sure no extra tags get added. hace 11 años
github_activity 31ccbde072 teach plugins with dependencies to behave hace 11 años
global_license 9e70c17839 import plugins from core and restructure repo hace 11 años
goodreads_activity 31ccbde072 teach plugins with dependencies to behave hace 11 años
gravatar 9e70c17839 import plugins from core and restructure repo hace 11 años
gzip_cache c694cb404d move tests to plugin folder hace 11 años
html_entity 1250a08f76 Create html_entity plugin hace 10 años
html_rst_directive 9e70c17839 import plugins from core and restructure repo hace 11 años
ical a3ddc43746 Improve ical plugin documentation hace 11 años
latex 457604623f Correct error in documentation hace 11 años
multi_part 65749d8987 Improved the example template code in the readme hace 11 años
neighbors 9e70c17839 import plugins from core and restructure repo hace 11 años
optimize_images bcc51dc42c Proper logging in optimize_images hace 11 años
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test hace 10 años
post_stats f629e3b012 Tidy up readme hace 11 años
random_article 9e70c17839 import plugins from core and restructure repo hace 11 años
related_posts 9e70c17839 import plugins from core and restructure repo hace 11 años
sitemap 9e70c17839 import plugins from core and restructure repo hace 11 años
summary 38a4d805b7 Fix summary plugin not properly updating asset paths in summaries. hace 11 años
test_data 31ccbde072 teach plugins with dependencies to behave hace 11 años
thumbnailer 04d27350cb Removing debug printing statements hace 10 años
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README hace 11 años
.gitignore 31ccbde072 teach plugins with dependencies to behave hace 11 años
.travis.yml 31ccbde072 teach plugins with dependencies to behave hace 11 años
Contributing.rst 850db33263 Don't enforce the licence to be AGPL. hace 11 años
LICENSE b83ce37a2a Also update the LICENSE file hace 11 años
Readme.rst 9e70c17839 import plugins from core and restructure repo hace 11 años

Readme.rst

Pelican Plugins
###############

Beginning with version 3.0, Pelican supports plugins. Plugins are a way to add
features to Pelican without having to directly modify the Pelican core. Starting
with 3.2, all plugins (including the ones previously in the core) are
moved here, so this is the central place for all plugins.

How to use plugins
==================

Easiest way to install and use these plugins is cloning this repo::

git clone https://github.com/getpelican/pelican-plugins

and activating the ones you want in your settings file::

PLUGIN_PATH = 'path/to/pelican-plugins'
PLUGINS = ['assets', 'sitemap', 'gravatar']

``PLUGIN_PATH`` can be a path relative to your settings file or an absolute path.

Alternatively, if plugins are in an importable path, you can omit ``PLUGIN_PATH``
and list them::

PLUGINS = ['assets', 'sitemap', 'gravatar']

or you can ``import`` the plugin directly and give that::

import my_plugin
PLUGINS = [my_plugin, 'assets']

Please refer to the ``Readme`` file in a plugin's folder for detailed information about
that plugin.

Contributing a plugin
=====================

Please refer to the `Contributing`_ file.

.. _Contributing: Contributing.rst