【问题标题】:What API blueprint renderer can generate a three-column html file for API documentation purpose?什么 API 蓝图渲染器可以为 API 文档生成三列 html 文件?
【发布时间】:2014-11-08 03:11:52
【问题描述】:

这是 Stripe 的 API 文档:https://stripe.com/docs/api 他们似乎正在使用三列模板。 我想知道他们是否使用一些 API 蓝图渲染器(markdown-to-html 类型的脚本)来生成它,类似于 Aglio:https://github.com/danielgtaylor/aglio

如果他们不使用任何渲染器,还有哪些其他类型的 API 蓝图渲染器存在?

【问题讨论】:

    标签: rendering template-engine blueprint


    【解决方案1】:

    Stripe 使用内部文档生成工具,但 Slate (https://github.com/tripit/slate) 是一个模仿 Stripe 文档的工具。它看起来非常相似,可能是您正在寻找的。我自己没有用过,所以很遗憾我不能告诉你更多。

    如果您想坚持 API Blueprint markdown 风格,请查看 apiary (http://apiary.io) 作为 aglio 的替代方案。这不是三列布局,但很好看。

    【讨论】:

    • 但是 Slate 不是 API 蓝图渲染,它只是做普通的 Markdown。 Apiary 似乎也是一个公共托管的解决方案,而不是一个简单的渲染工具。
    猜你喜欢
    • 1970-01-01
    • 2015-06-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多