discodoc - 从Discourse内容轻松创建文档
项目描述
discodoc
关于
discodoc - 从Discourse内容轻松创建类似印刷品的文档。
它旨在使文档生成变得轻而易举。
可能仍有一些龙。
摘要
# Generate PDF document from all posts of given topic. discodoc https://community.hiveeyes.org/t/anleitung-aufbau-und-installation-des-sensor-kits-grune-platine/2443 --format=pdf
有关更多信息及更多示例,请调用 discodoc --help。
特性
所有输出格式都由pandoc提供。这些已测试过:pdf、docx、odt、pptx、epub2、epub3、fb2、latex、texinfo、txt、text、html、html5、json、plain、rtf、revealjs、s5。
安装
先决条件
# Debian apt install texlive-latex-base pandoc # macOS / Homebrew brew install pandoc python3-requests brew cask install basictex
可选
brew cask install wkhtmltopdf
对于HTML演示文稿渲染
yarn install wget https://meyerweb.com/eric/tools/s5/v/1.1/s5-11.zip cp -r ~/Downloads/s5-11/ui node_modules/s5
设置
pip install discodoc
注意事项
如果您遇到了以下指示的Discourse中的全球速率限制和节流之一:
{"errors":["You’ve performed this action too many times, please try again later."]}
您可能希望使用适当的API密钥进行身份验证,例如
export DISCOURSE_API_KEY=5c58bf5e4027622543f5179938182099c8b97188d00a9dc9f184cd3ca66db5ea
致谢
Donald Knuth 和 LaTeX团队,为构思和维护TeX和LaTeX。
John MacFarlane 和所有贡献者,为创建和维护 pandoc。
惊人的 Discourse团队 和所有贡献者,为创建Discourse及其精神。
你知道你是谁。谢谢!
其他程序
项目详情
关闭
discodoc-0.3.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 66cd37b67544f8cfedfc0c96c662476d6e6e208782d31ff7e2bade5aefac04e5 |
|
MD5 | b5b1499e1b292b33cb2453416f1092d5 |
|
BLAKE2b-256 | 86aa5e74fe8666e287f1d282a12e343b9d22e4caa38ed44c8bcf41407b4a047a |