including dynamic content in documentation generated by python-sphinx -


i using sphinx generate documentation project, , building documentation part of product's install process. dynamically include hostname in text and/or code-blocks. have not seen explanations in documentation facility including output of shell command or other specific line(s) specific file. capacity exist?

here 2 sphinx extensions can this:

  • autorun: executes python code in runblock directives, captures output , inserts documents.
  • programoutput: executes arbitrary commands using program-output directive , inserts output documents.

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -