Няма описание

Duncan Lock 65749d8987 Improved the example template code in the readme преди 11 години
assets 31ccbde072 teach plugins with dependencies to behave преди 11 години
better_figures_and_images 9201d51d33 improved examples преди 11 години
code_include 95600f17b7 Removed docstrings to avoid doc duplication. преди 11 години
disqus_static 749f499206 Move disqus_static out of pelicanext преди 11 години
extract_toc 8d0e643637 Explicitly set the html parser to make sure no extra tags get added. преди 11 години
github_activity 31ccbde072 teach plugins with dependencies to behave преди 11 години
global_license 9e70c17839 import plugins from core and restructure repo преди 11 години
goodreads_activity 31ccbde072 teach plugins with dependencies to behave преди 11 години
gravatar 9e70c17839 import plugins from core and restructure repo преди 11 години
gzip_cache c694cb404d move tests to plugin folder преди 11 години
html_rst_directive 9e70c17839 import plugins from core and restructure repo преди 11 години
ical a3ddc43746 Improve ical plugin documentation преди 11 години
latex 457604623f Correct error in documentation преди 11 години
multi_part 65749d8987 Improved the example template code in the readme преди 11 години
neighbors 9e70c17839 import plugins from core and restructure repo преди 11 години
optimize_images 30e6a229f6 Fix jpegtran command line преди 11 години
post_stats f629e3b012 Tidy up readme преди 11 години
random_article 9e70c17839 import plugins from core and restructure repo преди 11 години
related_posts 9e70c17839 import plugins from core and restructure repo преди 11 години
sitemap 9e70c17839 import plugins from core and restructure repo преди 11 години
summary d0a7eca70e summary: Adjust to the newly-public DEFAULT_CONFIG преди 11 години
test_data 31ccbde072 teach plugins with dependencies to behave преди 11 години
thumbnailer 1423083619 Add a gallery metadata for articles that gives you a gallery_content object on articles. преди 11 години
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README преди 11 години
.gitignore 31ccbde072 teach plugins with dependencies to behave преди 11 години
.travis.yml 31ccbde072 teach plugins with dependencies to behave преди 11 години
Contributing.rst 850db33263 Don't enforce the licence to be AGPL. преди 11 години
LICENSE b83ce37a2a Also update the LICENSE file преди 11 години
Readme.rst 9e70c17839 import plugins from core and restructure repo преди 11 години

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