All Projects → WhyNotHugo → sphinx-autorun

WhyNotHugo / sphinx-autorun

Licence: BSD-2-Clause license
Sphinx extension to execute the code output it into a document.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sphinx-autorun

sphinx rtd dark mode
Adds a toggleable dark mode to the Read the Docs theme for Sphinx.
Stars: ✭ 29 (+107.14%)
Mutual labels:  sphinx-doc, sphinx-plugin
tutorials-kr
🇰🇷파이토치에서 제공하는 튜토리얼의 한국어 번역을 위한 저장소입니다. (Translate PyTorch tutorials in Korean🇰🇷)
Stars: ✭ 271 (+1835.71%)
Mutual labels:  sphinx-doc
sphinx-server
Sphinx documentation Docker image with Python server and support for PlantUML and more.
Stars: ✭ 62 (+342.86%)
Mutual labels:  sphinx-doc
restbuilder
A Sphinx builder/writer to output reStructuredText (rst) files
Stars: ✭ 25 (+78.57%)
Mutual labels:  sphinx-doc
rabbitChat
A Chat-Server/Chat-System based on AMQP protocol(RabbitMQ) + AMQP Python Client(PIKA) + Websockets(SockJS) + Async Python Server(Tornado)
Stars: ✭ 53 (+278.57%)
Mutual labels:  sphinx-doc
gui-python-gtk
Repositório criado para documentar e centralizar conteúdos, dicas, tutoriais e exemplos de código sobre a construção de interfaces com a linguagem de programação Python (PyGObject) e o toolkit gráfico Gtk 4.
Stars: ✭ 85 (+507.14%)
Mutual labels:  sphinx-doc
haskell-numpy-docs
Examples of Haskell versions of Numpy usage
Stars: ✭ 18 (+28.57%)
Mutual labels:  sphinx-doc
sphinxcontrib-django
This is a sphinx extension which improves the documentation of Django apps.
Stars: ✭ 37 (+164.29%)
Mutual labels:  sphinx-doc
FAQ
Unofficial Fedora FAQ in russian
Stars: ✭ 86 (+514.29%)
Mutual labels:  sphinx-doc
panda3d-docs
Sphinx documentation for Panda3D
Stars: ✭ 37 (+164.29%)
Mutual labels:  sphinx-doc
Jupyter Book
Create beautiful, publication-quality books and documents from computational content.
Stars: ✭ 2,577 (+18307.14%)
Mutual labels:  sphinx-doc
Readthedocs.org
The source code that powers readthedocs.org
Stars: ✭ 6,802 (+48485.71%)
Mutual labels:  sphinx-doc
sphinx-theme
(Deprecated) Make Sphinx docs look like MDN
Stars: ✭ 27 (+92.86%)
Mutual labels:  sphinx-doc
docs
Jina V1 Official Documentation. For the latest one, please check out https://docs.jina.ai
Stars: ✭ 21 (+50%)
Mutual labels:  sphinx-doc
PythonTipsDS
Python Tips for Data Scientist
Stars: ✭ 23 (+64.29%)
Mutual labels:  sphinx-doc
sphobjinv
Toolkit for manipulation and inspection of Sphinx objects.inv files
Stars: ✭ 53 (+278.57%)
Mutual labels:  sphinx-doc
MapServer-documentation
Source repository for the MapServer documentation, for the live website. Please submit pull requests to the 'main' branch.
Stars: ✭ 29 (+107.14%)
Mutual labels:  sphinx-doc

sphinx-autorun

sphinx-autorun is an extension for Sphinx that can execute the code from a runblock directive and attach the output of the execution to the document.

For example:

.. runblock:: pycon

    >>> for i in range(5):
    ...    print i

Produces:

>>> for i in range(5):
...    print i
1
2
3
4
5

Another example:

.. runblock:: console

    $ date

Produces:

$ date
Thu  4 Mar 2010 22:56:49 EST

Currently autorun supports pycon and console languages. It's also possible to configure autorun (from conf.py) to run other languages.

Installation

Installing via pip (recommended):

$ pip install sphinx-autorun

Install from source:

$ git clone [email protected]:hobarrera/sphinx-autorun.git
$ python setup.py install

To enable autorun add 'sphinx_autorun' to the extension list in conf.py:

extensions.append('sphinx_autorun')

The documentation is in the doc/ folder.

About this fork

sphinx-contrib/autorun was abandoned and broken for several months. Since it did not even work, this fork was created as a continuation of it with mostly critical fixes.

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].