8.1.5.5. Settings

Classes to define RST Factory settings.

class Pyterate.RstFactory.Settings.DefaultPython3Settings[source]

Bases: Pyterate.RstFactory.Settings.LanguageSettings

Python 3 settings

class Pyterate.RstFactory.Settings.DefaultRstFactorySettings[source]

Bases: object

Class to define the Rst Factory settings.

class Pyterate.RstFactory.Settings.LanguageSettings[source]

Bases: object

Class to define the language settings.

Attention: You must have a trailing comma if a tuple () has only one element, e.g. ('foo',), else use a list, e.g. ['foo'].

classmethod filename_filter(path)[source]

Define a filename filter.

Overwrite this method in subclass to define a custom filter.

Return False if the file is excluded.

classmethod filename_match(path)[source]

Method to match a filename to a language handler.

Return True if the file is taken.