How to use the sphinx-prompt.__init__.PromptDirective function in sphinx-prompt

To help you get started, we’ve selected a few sphinx-prompt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sbrunner / sphinx-prompt / sphinx-prompt / __init__.py View on Github external
def setup(app):
    app.add_directive('prompt', PromptDirective)
    app.connect('env-purge-doc', cache.clear)
    return {
        'parallel_read_safe': True,
        'parallel_write_safe': True,
    }

sphinx-prompt

Sphinx directive to add unselectable prompt

BSD-3-Clause
Latest version published 5 months ago

Package Health Score

70 / 100
Full package analysis

Similar packages