Configuration Options

Global Options

These options can be set in conf.py along with the other Sphinx configuration settings.

sqltable_connection_string

String specifying the default database to be used for queries, in the format expected by SQLAlchemy.

Directive Options

These options can be set each time the sqltable directive is used.

widths

A comma- or space-separated list of relative column widths. The default is equal-width columns (100%/#columns).

class

Set a “classes” attribute value on the doctree element generated by the directive. Useful for controlling style with CSS.

name

Add text to the “names” attribute of the doctree element generated by the directive. This allows hyperlink references to the element using text as reference name.

connection_string

String specifying the database to be used for queries, in the format expected by SQLAlchemy. Overrides any value of sqltable_connection_string set in the conf.py.