-
Notifications
You must be signed in to change notification settings - Fork 252
Add plugin hooks to RTD documentation #415
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
Conversation
5a07aef to
8c61a50
Compare
|
Sorry for any email spam. This should be good for review/merge @ssbarnea / @BeyondEvil |
|
Bump for a review/merge @BeyondEvil and/or @ssbarnea |
BeyondEvil
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with one hopeful ugh 😏
| import os | ||
| import sys | ||
|
|
||
| sys.path.insert(0, os.path.abspath("../src/")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh... isn't there a better way?
Maybe setting the PYTHONPATH env var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely sure @BeyondEvil. I made that change as per https://github.com/pytest-dev/pytest-html/blob/master/docs/conf.py#L7 and also some results on the internet. It seems like this is the preferred way to go about doing this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough @gnikonorov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you ok with me merging this in then @BeyondEvil?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well sure, on one condition. If you, once it's rebased and updated, approve the flaky windows PR. 😛 @gnikonorov
This PR adds information on the plugin hooks to our read the docs documentation.