pelican

Whole site compilation of markdown/pandoc? [closed]

随声附和 提交于 2019-12-03 05:09:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . With Sphinx-doc, you can create a bunch of ReStructureText files, with an index.rst file which includes a table of contents macro that auto generates a table of contents from the other included files, and a conf.py that acts as a compilation config. You can then compile the lot into a single python-doc-style site,

Error using pelican-quickstart “No module named html_parser”

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I decided to give pelican a try, but when I run pelican-quickstart , I get the following dialog: $ pelican - quickstart Traceback ( most recent call last ): File "/usr/local/bin/pelican-quickstart" , line 9 , in <module> load_entry_point ( 'pelican==3.4.0' , 'console_scripts' , 'pelican-quickstart' )() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py" , line 357 , in load_entry_point return get_distribution ( dist ). load_entry_point ( group , name ) File "/System/Library/Frameworks

Whole site compilation of markdown/pandoc? [closed]

只愿长相守 提交于 2019-12-02 18:24:06
With Sphinx-doc , you can create a bunch of ReStructureText files, with an index.rst file which includes a table of contents macro that auto generates a table of contents from the other included files, and a conf.py that acts as a compilation config. You can then compile the lot into a single python-doc-style site, complete with index, navigation tools, and a search function. Is there any comparable tool for markdown (preferably pandoc-style markdown)? Some static site generators that work with Markdown : Jekyll is very popular and also the engine behind GitHub pages . Python variants: Hyde or

How can I control the order of pages from within a pelican article category?

房东的猫 提交于 2019-12-01 02:46:38
问题 I am using pelican jinja2 templates in order to generate a navigation menu based on the category and I need a way to control the order of the pages, or at least a trick to allow me to choose the first page to be listed. {% for a in articles %} {% if a.category == category %} <li><a href="{{ SITEURL }}/{{ a.slug }}">{{ a.title }} {% endif %} {% endfor %} How can a make one specific article page to be the first. Their sourse is in markdown format. 回答1: Pelican 3.5 will introduce built-in

Pelican 3.3 pelican-quickstart error “ValueError: unknown locale: UTF-8”

ぐ巨炮叔叔 提交于 2019-11-26 00:27:27
问题 When I was trying to use pelican3.3, I typed the commend \"pelican-quickstart\", some errors showed up. These are the errors: (PelicanEnv)59-127-113-90:myblog Richo$ pelican-quickstart Traceback (most recent call last): File \"/Users/Richo/Dropbox/Github/PelicanEnv/bin/pelican-quickstart\", line 9, in <module> load_entry_point(\'pelican==3.3\', \'console_scripts\', \'pelican-quickstart\')() File \"/Users/Richo/Dropbox/Github/PelicanEnv/lib/python2.7/site-packages/pkg_resources.py\", line 378,