How to use the invocations.docs function in invocations

To help you get started, we’ve selected a few invocations 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 bitprophet / contribution-guide.org / tasks.py View on Github external
from invoke import Collection
from invocations import docs

ns = Collection(docs)
ns.configure({
    'sphinx': {
        'source': '.',
        'target': '_build',
        'target_file': 'index.html',
    },
github bitprophet / releases / tasks.py View on Github external
from invocations import docs, checks, travis
from invocations.pytest import test, integration
from invocations.packaging import release

from invoke import Collection


ns = Collection(test, integration, release, docs, travis, checks.blacken)
ns.configure(
    {
        "travis": {"black": {"version": "18.6b4"}},
        "packaging": {
            "sign": True,
            "wheel": True,
            "changelog_file": join(
                docs.ns.configuration()["sphinx"]["source"], "changelog.rst"
            ),