Skip to main content

aafig Sphinx extension

Project description

This package contains the aafigure Sphinx extension.

aafigure is a program and a reStructuredText directive to allow embeded ASCII art figures to be rendered as nice images in various image formats. The aafigure directive needs a hardcoded image format, so it doesn’t goes well with Sphinx multi-format support.

This extension adds the aafig directive that automatically selects the image format to use acording to the Sphinx writer used to generate the documentation.

Usage example:

.. aafig::
    :aspect: 60
    :scale: 150
    :proportional:
    :textual:

    +-------+         +-----------+
    | Hello +-------->+ aafigure! |
    +-------+         +-----------+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sphinxcontrib-aafig2, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size sphinxcontrib_aafig2-1.2-py3-none-any.whl (10.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sphinxcontrib-aafig2-1.2.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page