Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 271
topskip Avatar asked Dec 12 '25 06:12

topskip


1 Answers

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.

like image 181
devin_s Avatar answered Dec 14 '25 19:12

devin_s



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!