Skip to content

Activating cornice_sphinx #17

@karantan

Description

@karantan

How does this

import cornice

sys.path.insert(0, os.path.abspath(cornice.__file__))
extensions = ['cornice_sphinx']

(ref: https://github.com/Cornices/cornice.ext.sphinx#activate-the-extension)

activate cornice_sphinx extension? The first 2 lines should not be required because cornice_sphinx should already be in sys.path. In case it is not, how does importing cornice help with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions