including dynamic content in documentation generated by python-sphinx

后端 未结 1 821
梦如初夏
梦如初夏 2021-01-02 05:01

I am using sphinx to generate documentation for my project, and building the documentation as part of the product\'s install process. I would like to dynamically include the

相关标签:
1条回答
  • 2021-01-02 05:29

    Here are two Sphinx extensions that can do this:

    • autorun: executes Python code in runblock directives, captures the output and inserts it into documents.
    • programoutput: executes arbitrary commands using the program-output directive and inserts the output into documents.
    0 讨论(0)
提交回复
热议问题