开发者

Minimal domain for sphinx

I would like to use Sphinx for my own project and for that I want to create a new sphinx domain. But I have serious trouble getting started. My minimal sphinx domain would allow only a single instruction called 'command':

开发者_运维百科
.. xx:command:: Somecommand

I can't find any introduction to writing sphinx domains "on the internet", only some ready to run domains for ruby, erlang etc. Can someone advise me on how to get started?


Checkout the reStructuredText domain in the Sphinx source code, it's fairly simple and should get you started. You may also find some good examples in the sphinx-contrib source.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜