具有增量更新的静态博客编译器
项目描述
Acrylamid是nanoc、Pyblosxom和Pelican的混合体,许可协议为BSD风格,2个条款。它正在https://github.com/posativ/acrylamid/积极开发。
为什么?
因为它真的快,由于增量构建
许多Markdown扩展和自定义reStructuredText指令
MathML、增强的排版和软连字符的使用
哦,它还可以生成包含文章、静态页面、标签、RSS/Atom源(按标签)、文章列表和站点地图的静态博客。
为什么名字叫“Acrylamid”?
我在学习生物信息学,那时正在尝试使用丙烯酰胺。我在命名方面真的很糟糕。如果你有更好的名字,请告诉我!两个要求:合理可发音,并在输入3个字符后完成自动补全。
概述
使用Acrylamid,你可以使用你选择的编辑器在Markdown、reStructuredText或textile中编写你的博客条目。通过几个内容过滤器,你可以增强你的HTML(排版、数学、连字符)。Acrylamid提供非常复杂的CLI,并与任何DVCes完美集成。它生成完全静态的HTML,你可以在任何地方托管。
支持的标记语言
reStructuredText,带有语法高亮和YouTube视频嵌入指令
如果缺少一个?在不到30行代码内扩展Acrylamid!
其他过滤器
在帖子处理前直接支持Jinja2和Mako
排版(以及smartypants)
TeX连字符
摘要功能
缩略词检测,自动替换缩写词和缩写
博客功能
缺少什么
快速入门
easy_install -U acrylamid
这将安装Acrylamid,其中使用Jinja2作为模板引擎。对于Mako使用easy_install -U acrylamid[mako]。这将安装两个额外的但不是必需的依赖项:Markdown和translitcodec。要获取所有支持模块的列表,请访问附加支持模块。
如果你更喜欢使用非ASCII字符,你最好使用
easy_install -U acrylamid python-magic unidecode
初始化基本结构,编辑conf.py和layouts/,然后编译
$ acrylamid init myblog # --mako, defaults to --jinja2 create myblog/conf.py ... $ cd myblog/ $ acrylamid compile && acrylamid view create [0.05s] output/articles/index.html create [0.37s] output/2012/die-verwandlung/index.html create [0.00s] output/index.html create [0.00s] output/tag/die-verwandlung/index.html create [0.00s] output/tag/franz-kafka/index.html create [0.03s] output/atom/index.html create [0.04s] output/rss/index.html create [0.00s] output/sitemap.xml create output/style.css 9 new, 0 updated, 0 skipped [0.72s] * Running on http://127.0.0.1:8000/
真实世界示例?
mecker. mecker. mecker. – Martin Zimmermann [源]
Groovematic – Isman Firmansyah [源]
Christoph Polcin – Christoph Polcin [源,主题]
命令
请参阅命令以获取详细概述。
$ acrylamid --help usage: acrylamid [-h] [-v] [-q] [-C] [--version] ... positional arguments: init initializes base structure in DIR compile compile blog view fire up built-in webserver autocompile automatic compilation and serving new create a new entry check run W3C or validate links deploy run task import import content from URL or FILE info short summary ping notify ressources optional arguments: -h, --help show this help message and exit -v, --verbose more verbose -q, --quiet less verbose -C, --no-color disable color --version show program's version number and exit
需要帮助?
加入 #acrylamid 在 Freenode!如果您发现了一个错误,请通过 GitHub Issues 报告。该项目还有一个邮件列表 [存档],只需发送电子邮件到 acrylamid@librelist.com 即可订阅。
项目详情
acrylamid-0.7.10.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | a665a5dffd14dcaf59e3dfc4d86c93f2ee0186941b485857c326e76dee9ed70d |
|
MD5 | 7a2e469485c2e76232c74514a045d510 |
|
BLAKE2b-256 | eaf3dedbbea9d99c6ca7ca2791e10d45911b5bf47bfd35f2f71c776e503cbe3f |