Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activating cornice_sphinx #17

Open
karantan opened this issue Apr 23, 2018 · 0 comments
Open

Activating cornice_sphinx #17

karantan opened this issue Apr 23, 2018 · 0 comments

Comments

@karantan
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant