暫無描述

Artemy Tregubenko 568c346684 Update timestamps of generated feeds as well 9 年之前
asciidoc_reader fc3a4d8993 import AsciiDocReader from core as a plugin 10 年之前
assets f5d0f4ecb9 Remove gzip references in Assets plugin README 10 年之前
better_code_samples @ 91717a204b 6ceaf91a0f Added the better_code_samples plugin. 10 年之前
better_figures_and_images 9aae49360a Update readme.rst 10 年之前
cjk-auto-spacing @ 92346597b8 3f47cbd468 add cjk-auto-spacing as submodule 10 年之前
clean_summary b86be87c61 fixed typos in README 10 年之前
code_include 95600f17b7 Removed docstrings to avoid doc duplication. 11 年之前
collate_content 3308025053 Added collate_content plugin. 10 年之前
creole_reader 3a804aec12 Creole reader: add source code highlighting support. 10 年之前
custom_article_urls 9674257bfb Minor fixes for Custom Article URLs 9 年之前
disqus_static 0ab01b2994 fix invalid name for __init__.py & add unicode_literals import 9 年之前
extract_toc 7fbbe6906a [extract_toc] Add Pandoc support and improve documentation. 9 年之前
feed_summary bd3f0de93c Fix outdated link to Pelican docs 10 年之前
filetime_from_git 26edaecd29 Generate locale_date and locale_modified and rename update to modified 9 年之前
gallery 7e9bbb2c10 Added condition to exclude files starting with a dot. 9 年之前
github_activity b35996ca43 Allow for an optional maximum number of entries to display. 10 年之前
global_license d3495d0249 Update article_generate_context to article_generator_context 10 年之前
goodreads_activity d3495d0249 Update article_generate_context to article_generator_context 10 年之前
googleplus_comments 13a8ea5d5f first implementation of google plus comments 10 年之前
gravatar d47fdc1ea5 adding markdown specific instructions to gravatar readme 10 年之前
gzip_cache f10b3e371b Fixed: Gzip header should not contain filename. This causes error with some clients. 9 年之前
html_entity 1250a08f76 Create html_entity plugin 10 年之前
html_rst_directive 9e70c17839 import plugins from core and restructure repo 11 年之前
i18n_subsites 6f7dafaee6 i18n_subsites: add lang_subsites template var, improve docs 10 年之前
ical 768e02b2d5 Update signal names for Pelican 3.2+ 10 年之前
interlinks 3df48a1b77 Improve summary of interlinks plugin 10 年之前
liquid_tags 5e01108141 Add language highlighting option to notebook tag 9 年之前
multi_neighbors @ 1ce0526863 0eaa0ce998 Update Multi Neighbors to latest. 9 年之前
multi_part 65749d8987 Improved the example template code in the readme 11 年之前
neighbors f2aeed121b fixed conditionals in usage example 9 年之前
optimize_images bcc51dc42c Proper logging in optimize_images 11 年之前
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test 10 年之前
pelican-flickr @ e1b6dddf2c c9b45f059a Add pelican-flickr plugin. 10 年之前
pelican-gist @ 4cce3dad9e b2797b58e6 add pelican-gist plugin 10 年之前
pelican-githubprojects @ f55b497dcc a49de416bd Added githubprojects plugins 9 年之前
pelican-langcategory @ 94fc0bc298 cbe8263153 added pelican-langcategory plugin 9 年之前
pelican-page-hierarchy @ f11b533a50 ba1622daed Add pelican-page-hierarchy plugin 9 年之前
pelican-page-order @ 1e3ee850b8 91cba72fa5 Add pelican-page-order plugin 9 年之前
pelican_comment_system cec12be893 Merge pull request #250 from clokep/fix-avatars 9 年之前
pelican_vimeo @ d18f1ddfe9 1f2c383b7e Added YouTube and Vimeo plugins 10 年之前
pelican_youtube @ 045c43dd4d 1f2c383b7e Added YouTube and Vimeo plugins 10 年之前
pelicanfly @ 265865f693 2bc7da5ea4 Add pelicanfly plugin 10 年之前
pelicanthemes-generator @ 916f5a570f eff1a9bf00 Merged by hand because of severe conflicts. Closes #158 9 年之前
pin_to_top @ 4c022ecbd9 782a2eaf04 added new submodule pin_to_top 10 年之前
plantuml a19f7f49f2 added plantuml_rst plugin 10 年之前
post_stats 855f87300a [post_stats] Python 3 compatibility 10 年之前
random_article 9e70c17839 import plugins from core and restructure repo 11 年之前
read_more_link 30638d8ac4 Update Readme.md 10 年之前
related_posts b268db7312 Clarify documentation of related_posts plugin 10 年之前
render_math fb570c528b Fixed errors arising from Python 3.x 10 年之前
representative_image 17efcb10d3 Update readme to clarify behaviour of plugin and specifying a custom image 10 年之前
rmd_reader 5a23ad497e New plugin rmd_reader 9 年之前
share_post 9a9f9bdb83 Add plugin to add share URLs to article 10 年之前
simple_footnotes c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 10 年之前
sitemap 42960e107a FIX issue #264 9 年之前
static_comments 8052ea9f9e add static_comments plugin 10 年之前
subcategory 3bf1ac5e98 Fixed missing quote mark in an HTML example 10 年之前
summary c7146c9bd8 Added example for summary markers in reST documents 10 年之前
test_data 31ccbde072 teach plugins with dependencies to behave 11 年之前
thumbnailer 693fc77d22 fix tabbing 9 年之前
tipue_search b4963c93af Merge pull request #247 from arty-name/no-ensure-ascii 9 年之前
touch 568c346684 Update timestamps of generated feeds as well 9 年之前
twitter_bootstrap_rst_directives b86e17607c Initial release of the twitter bootstrap rst directives plugin 10 年之前
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README 11 年之前
.gitignore 87f81ab4f5 add ~ files to gitignore 11 年之前
.gitmodules cbe8263153 added pelican-langcategory plugin 9 年之前
.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 4bcc7770d4 Merge pull request #260 from akhayyat/page-order 9 年之前
latex 5af9d08c06 moved latex to render_math; latex now symbolic link 10 年之前

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_PATHS = ['path/to/pelican-plugins']
PLUGINS = ['assets', 'sitemap', 'gravatar']

``PLUGIN_PATHS`` 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_PATHS``
and list them::

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

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

import my_plugin
PLUGINS = [my_plugin, 'assets']

Plugin descriptions
===================

======================== ===========================================================
Plugin Description
======================== ===========================================================
AsciiDoc reader Use AsciiDoc to write your posts.

Asset management Use the Webassets module to manage assets such as CSS and JS files.

Better code samples Wraps all `table` blocks with a class attribute `.codehilitetable` in an additional `div` of class `.hilitewrapper`. It thus permits to style codeblocks better, especially to make them scrollable.

Better figures/samples Adds a `style="width: ???px; height: auto;"` attribute to any `` tags in the content

CJK auto spacing Inserts spaces between Chinese/Japanese/Korean characters and English words

Clean summary Cleans your summary of excess images

Code include Includes Pygments highlighted code in reStructuredText

Collate content Makes categories of content available to the template as lists through a `collations` attribute

Creole reader Allows you to write your posts using the wikicreole syntax

Custom article URLs Adds support for defining different default URLs for different categories

Disqus static comments Adds a disqus_comments property to all articles. Comments are fetched at generation time using disqus API

Extract table of content Extracts table of contents (ToC) from `article.content`

Feed Summary Allows article summaries to be used in ATOM and RSS feeds instead of the entire article

Filetime from git Uses git commit to determine page date

Gallery Allows an article to contain an album of pictures

GitHub activity On the template side, you just have to iterate over the ``github_activity`` variable

Global license Allows you to define a ``LICENSE`` setting and adds the contents of that license variable to the article's context

Goodreads activity Lists books from your Goodreads shelves

GooglePlus comments Adds GooglePlus comments to Pelican

Gravatar Assigns the ``author_gravatar`` variable to the Gravatar URL and makes the variable available within the article's context

Gzip cache Enables certain web servers (e.g., Nginx) to use a static cache of gzip-compressed files to prevent the server from compressing files during an HTTP call

HTML entities Allows you to enter HTML entities such as ©, <, • inline in a RST document

HTML tags for rST Allows you to use HTML tags from within reST documents

I18N Sub-sites Extends the translations functionality by creating internationalized sub-sites for the default site

ical Looks for and parses an ``.ics`` file if it is defined in a given page's ``calendar`` metadata.

Interlinks Lets you add frequently used URLs to your markup using short keywords

Liquid-style tags Allows liquid-style tags to be inserted into markdown within Pelican documents

Multi parts posts Allows you to write multi-part posts

Neighbor articles Adds ``next_article`` (newer) and ``prev_article`` (older) variables to the article's context

Optimize images Applies lossless compression on JPEG and PNG images

PDF generator Automatically exports RST articles and pages as PDF files

Pelican-flickr Brings your Flickr photos & sets into your static website

Pelican Gist tag Easily embed GitHub Gists in your Pelican articles

Pelican Page Order Adds a ``page_order`` attribute to all pages if one is not defined.

Pelican comment system Allows you to add static comments to your articles

Pelican Vimeo Enables you to embed Vimeo videos in your pages and articles

Pelican YouTube Enables you to embed YouTube videos in your pages and articles

pelicanfly Lets you type things like `i ♥ :fa-coffee:` in your Markdown documents and have it come out as little Font Awesome icons in the browser

Pin to top Pin Pelican's article(s) to top "Sticky article"

PlantUML Allows you to define UML diagrams directly into rst documents using the great PlantUML tool

Post statistics Calculates various statistics about a post and store them in an article.stats dictionary

Random article Generates a html file which redirect to a random article

Read More link Inserts an inline "read more" or "continue" link into the last html element of the object summary

Related posts Adds the ``related_posts`` variable to the article's context

Math Render Gives pelican the ability to render mathematics

Representative image Extracts a representative image (i.e, featured image) from the article's summary or content

Share post Creates share URLs of article

Simple footnotes Adds footnotes to blog posts

Sitemap Generates plain-text or XML sitemaps

Static comments Allows you to add static comments to an article

Subcategory Adds support for subcategories

Summary Allows easy, variable length summaries directly embedded into the body of your articles

Thumbnailer Creates thumbnails for all of the images found under a specific directory

Tipue Search Serializes generated HTML to JSON that can be used by jQuery plugin - Tipue Search

Touch Does a touch on your generated files using the date metadata from the content

Twitter Bootstrap Defines some rst directive that enable a clean usage of the twitter bootstrap CSS and Javascript components

W3C validate Submits generated HTML content to the W3C Markup Validation Service
======================== ===========================================================


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