All Projects → NextThought → sphinxcontrib-programoutput

NextThought / sphinxcontrib-programoutput

Licence: BSD-2-Clause license
Sphinx extension for capturing program output

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sphinxcontrib-programoutput

sphinx-codeautolink
Automatic links from code examples to reference documentation
Stars: ✭ 41 (+41.38%)
Mutual labels:  sphinx, sphinx-extension
sphinx rtd dark mode
Adds a toggleable dark mode to the Read the Docs theme for Sphinx.
Stars: ✭ 29 (+0%)
Mutual labels:  sphinx, sphinx-extension
autodoc pydantic
Seamlessly integrate pydantic models in your Sphinx documentation.
Stars: ✭ 60 (+106.9%)
Mutual labels:  sphinx, sphinx-extension
sphinxcontrib-django
This is a sphinx extension which improves the documentation of Django apps.
Stars: ✭ 37 (+27.59%)
Mutual labels:  sphinx, sphinx-extension
sphinxcontrib-hdl-diagrams
Sphinx Extension which generates various types of diagrams from Verilog code.
Stars: ✭ 37 (+27.59%)
Mutual labels:  sphinx, sphinx-extension
matlabdomain
A Sphinx extension for documenting Matlab code
Stars: ✭ 34 (+17.24%)
Mutual labels:  sphinx, sphinx-extension
emojicodes
An extension to use emoji codes in your Sphinx documentation! 😍
Stars: ✭ 39 (+34.48%)
Mutual labels:  sphinx, sphinx-extension
sphinx-revealjs
Presentation builder for Pythonista
Stars: ✭ 56 (+93.1%)
Mutual labels:  sphinx, sphinx-extension
sphinx-hoverxref
Sphinx extension to show tooltips with content embedded when hover a reference.
Stars: ✭ 77 (+165.52%)
Mutual labels:  sphinx, sphinx-extension
sphinx-wavedrom
A sphinx extension that allows including wavedrom diagrams by using its text-based representation
Stars: ✭ 26 (-10.34%)
Mutual labels:  sphinx, sphinx-extension
openapi
OpenAPI (fka Swagger) spec renderer for Sphinx.
Stars: ✭ 78 (+168.97%)
Mutual labels:  sphinx, sphinx-extension
sphinx-toolbox
Box of handy tools for Sphinx 🧰 📔
Stars: ✭ 55 (+89.66%)
Mutual labels:  sphinx, sphinx-extension
sphinxql
SphinxQL query builder for Node.js. sphinxql package supports Manticore Search and Sphinx Search
Stars: ✭ 21 (-27.59%)
Mutual labels:  sphinx
sphinx press theme
A Sphinx-doc theme based on Vuepress
Stars: ✭ 113 (+289.66%)
Mutual labels:  sphinx
sphinx-substitution-extensions
Extensions for Sphinx which allow substitutions
Stars: ✭ 32 (+10.34%)
Mutual labels:  sphinx-extension
symbiflow-docs
FOSS Flow For FPGA
Stars: ✭ 163 (+462.07%)
Mutual labels:  sphinx
sphinxcontrib-trio
Make Sphinx better at documenting Python functions and methods
Stars: ✭ 26 (-10.34%)
Mutual labels:  sphinx
sphinx exporter
Exports metrics from sphinx servers for consumption by Prometheus.
Stars: ✭ 20 (-31.03%)
Mutual labels:  sphinx
sphinx.nvim
Sphinx integrations for Neovim
Stars: ✭ 64 (+120.69%)
Mutual labels:  sphinx
houdini additional python docs
🐍 Additional documentation of Houdini Python modules
Stars: ✭ 21 (-27.59%)
Mutual labels:  sphinx

sphinxcontrib-programoutput

https://sphinxcontrib-programoutput.readthedocs.org

A Sphinx extension to literally insert the output of arbitrary commands into documents, helping you to keep your command examples up to date.

Installation

Install this extension from PyPI:

pip install sphinxcontrib-programoutput

The extension requires Sphinx 1.7.0 and Python 2.7 or Python 3 (Python 3.6+ is tested) at least.

Usage

Just add this extension to extensions:

extensions = ['sphinxcontrib.programoutput']

Now you've two new directives program-output and command-output to insert the output of programs. The former just inserts the output:

.. program-output:: python -V

Output:

Python 2.7.1

The latter directive mimics a shell session, and is intended to show examples:

.. command-output:: python -V

Output:

$ python -V
Python 2.7.1

Please refer to the documentation for comprehensive information about usage and configuration of this extension.

Development and Support

Please refer to the documentation for information on support and the development process.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].