Нема описа

Leonardo Giordani 62e09d3648 The multi_part plugin has been set as deprecated пре 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_codeblock_line_numbering 18889d23bc Added files for new Codeblock Line Numbering Pelican plugin. пре 9 година
better_figures_and_images abd850a76f Correct list and code samples formatting пре 9 година
bootstrapify @ bc4e0a1bf2 085f727e7f fix bootstrapify пре 9 година
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 3f75d36a91 generating the temp_article now uses empty string rather than None пре 9 година
dateish cdc5ea6d43 Add Dateish plugin пре 9 година
disqus_static 0ab01b2994 fix invalid name for __init__.py & add unicode_literals import пре 10 година
extract_toc 7fbbe6906a [extract_toc] Add Pandoc support and improve documentation. пре 9 година
feed_summary 6f125570b3 Fix feed_summary plugin for python3. пре 9 година
filetime_from_git 26edaecd29 Generate locale_date and locale_modified and rename update to modified пре 9 година
footer_insert 744aab3437 update README. пре 9 година
gallery 7c0c67998b Implemented gallery also for static pages пре 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 42b4190041 Merge pull request #298 from jkrshw/feature/gzip-overwrite пре 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 65329013b4 Added python3 support to img and b64img tags пре 9 година
multi_neighbors @ 1ce0526863 0eaa0ce998 Update Multi Neighbors to latest. пре 9 година
multi_part 62e09d3648 The multi_part plugin has been set as deprecated пре 9 година
neighbors f2aeed121b fixed conditionals in usage example пре 9 година
optimize_images bcc51dc42c Proper logging in optimize_images пре 11 година
pandoc_reader @ b3c968fa23 2bc58702e2 added pandoc_reader (pandoc markdown reader plugin) as submodule пре 9 година
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-jinja2content @ 9adc69f786 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml пре 9 година
pelican-langcategory @ 94fc0bc298 cbe8263153 added pelican-langcategory plugin пре 9 година
pelican-md-yaml @ 22712fc787 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml пре 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 85a51f6b81 Corrected documentation, and also fixed bug where using unicode strings would not get recognized (thanks to TheNeuralBit) пре 9 година
representative_image 17efcb10d3 Update readme to clarify behaviour of plugin and specifying a custom image пре 10 година
rmd_reader d19bcf29c1 Update Readme.md пре 9 година
series 62e09d3648 The multi_part plugin has been set as deprecated пре 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 a3127d6599 FIX: Sitemap offset-naive datetimes(modified) error пре 9 година
sort_tags @ a3413a417e 5714f1d470 fix sort_tags пре 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 549f84cf45 format inline code blocks пре 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 623a512d4c Update bootstrap_rst_directives.py пре 9 година
video_privacy_enhancer 94187ae062 Added files for new Video Privacy Enhancer Pelican plugin. пре 9 година
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README пре 11 година
.gitignore 87f81ab4f5 add ~ files to gitignore пре 11 година
.gitmodules 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml пре 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 680c41c95c update readme to contain sort_tags and bootstrapify пре 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

bootstrapify Automatically add bootstraps default classes to your content, usefull for md generated tables

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

sort_tags Provides `tags_sorted_by_article_length` to templates, which contains all tags, sorted by how many articles it contains first, and alphabetically second.

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