暂无描述

Vuong Nguyen 30638d8ac4 Update Readme.md 11 年之前
assets f5d0f4ecb9 Remove gzip references in Assets plugin README 11 年之前
better_figures_and_images 9aae49360a Update readme.rst 11 年之前
cjk-auto-spacing @ 92346597b8 3f47cbd468 add cjk-auto-spacing as submodule 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 年之前
feed_summary 2a564dce1a Added feed summary plugin. 11 年之前
gallery 768e02b2d5 Update signal names for Pelican 3.2+ 11 年之前
github_activity d3495d0249 Update article_generate_context to article_generator_context 11 年之前
global_license d3495d0249 Update article_generate_context to article_generator_context 11 年之前
goodreads_activity d3495d0249 Update article_generate_context to article_generator_context 11 年之前
googleplus_comments 13a8ea5d5f first implementation of google plus comments 11 年之前
gravatar d3495d0249 Update article_generate_context to article_generator_context 11 年之前
gzip_cache c694cb404d move tests to plugin folder 11 年之前
html_entity 1250a08f76 Create html_entity plugin 11 年之前
html_rst_directive 9e70c17839 import plugins from core and restructure repo 11 年之前
ical 768e02b2d5 Update signal names for Pelican 3.2+ 11 年之前
interlinks 3df48a1b77 Improve summary of interlinks plugin 11 年之前
latex 0f55bd63f2 latex: fix signal names to standardized (pelican-3.2 and later) 11 年之前
liquid_tags ce58bd5704 Fix error message for IPython 2.0 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 bcc51dc42c Proper logging in optimize_images 11 年之前
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test 11 年之前
pelican_vimeo @ d18f1ddfe9 1f2c383b7e Added YouTube and Vimeo plugins 11 年之前
pelican_youtube @ 045c43dd4d 1f2c383b7e Added YouTube and Vimeo plugins 11 年之前
post_stats f629e3b012 Tidy up readme 11 年之前
random_article 9e70c17839 import plugins from core and restructure repo 11 年之前
read_more_link 30638d8ac4 Update Readme.md 11 年之前
related_posts 936bb03d7e added the ability to override\force related_posts from the post's meta data 11 年之前
sitemap 335c9c63e1 Refactor and fix minor typo in sitemap code 11 年之前
summary 38a4d805b7 Fix summary plugin not properly updating asset paths in summaries. 11 年之前
test_data 31ccbde072 teach plugins with dependencies to behave 11 年之前
thumbnailer d3495d0249 Update article_generate_context to article_generator_context 11 年之前
tipue_search baa90d815e Minify JSON to improve search speed 11 年之前
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README 11 年之前
.gitignore 87f81ab4f5 add ~ files to gitignore 11 年之前
.gitmodules 3f47cbd468 add cjk-auto-spacing as submodule 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