pelican README

The project's README from github.com/getpelican/pelican. As one markdown file: README.md.

Pelican |build-status| |pypi-version| |downloads| |repology|

Pelican is a static site generator, written in Python_, that allows you to create web sites by composing text files in formats such as Markdown, reStructuredText, and HTML.

With Pelican, you can create web sites without worrying about databases or server-side programming. Pelican generates static sites that can be served via any web server or hosting service.

You can perform the following functions with Pelican:

Features

Pelican’s feature highlights include:

Check out the Pelican documentation_ for further information.

How to get help, contribute, or provide feedback

See our contribution submission and feedback guidelines <CONTRIBUTING.rst>_.

Source code

Pelican’s source code is hosted on GitHub. For information on how it works, have a look at Pelican's internals.

Why the name “Pelican”?

“Pelican” is an anagram of calepin, which means “notebook” in French.

.. Links

.. _Python: https://www.python.org/ .. _reStructuredText: http://docutils.sourceforge.net/rst.html .. _Markdown: https://daringfireball.net/projects/markdown/ .. _Jinja2: https://palletsprojects.com/p/jinja/ .. _Pygments: https://pygments.org/ .. _Pelican Plugins: https://github.com/pelican-plugins .. _Pelican documentation: https://docs.getpelican.com/ .. _Pelican's internals: https://docs.getpelican.com/en/latest/internals.html .. _hosted on GitHub: https://github.com/getpelican/pelican

.. |build-status| image:: https://img.shields.io/github/actions/workflow/status/getpelican/pelican/main.yml?branch=main :target: https://github.com/getpelican/pelican/actions/workflows/main.yml?query=branch%3Amain :alt: GitHub Actions CI: continuous integration status .. |pypi-version| image:: https://img.shields.io/pypi/v/pelican.svg :target: https://pypi.org/project/pelican/ :alt: PyPI: the Python Package Index .. |downloads| image:: https://img.shields.io/pypi/dm/pelican.svg :target: https://pypi.org/project/pelican/ :alt: Monthly Downloads from PyPI .. |repology| image:: https://repology.org/badge/tiny-repos/pelican.svg :target: https://repology.org/project/pelican/versions :alt: Repology: the packaging hub

pelican (getpelican/pelican)

Searching Database…

13.4K ·GitHub
这是什么?Pelican 是一个用 Python 编写的静态站点生成器,它可以把 Markdown、reStructuredText 或 HTML 格式的文本文件转换成完整的网站。
这是我要导入的库,还是一个独立的工具?它是一个命令行工具:你编写内容文件,然后运行一条命令,由它根据这些文件重新生成 HTML、CSS 和 JS。
怎样才能用它跑起一个网站?用 pip 安装,用 Markdown 或 reST 编写文章和页面,然后运行 Pelican 命令行工具生成静态输出,这些输出可以托管在任何 Web 服务器上。
使用它需要数据库或服务端代码吗?不需要,Pelican 明确免去了这一需求,因为它生成的是完全静态的输出。
它是否自带主题和插件?它内置了基于 Jinja2 的站点主题,并支持外部插件生态,但 README 未详细说明默认自带哪些主题,哪些需要另行添加。
我能把现有的博客迁移到 Pelican 吗?可以,它能导入来自 WordPress、Dotclear 或 RSS 订阅源的现有内容。
它支持多语言网站和订阅源吗?支持,它可以发布多种语言的文章,并生成 Atom 和 RSS 订阅源。
Pelican 在大型网站上重建速度快吗?它利用内容缓存和选择性输出写入来实现快速的重建。
Pelican 这个名字从哪来?Pelican 是 'calepin' 的变位词,而 'calepin' 是法语中“笔记本”的意思。
Creator
getpelican
Size
7.7 MB
Stars
13.4K
Age
16y
Commits · 90 Days