Skip to content

Commit

Permalink
fix: Explain necessary confirmation in GitHub side
Browse files Browse the repository at this point in the history
According to discussion in the following issue, we found that it is necessary to enable three event
types. readthedocs/readthedocs.org#5135
  • Loading branch information
KengoTODA committed Jan 23, 2019
1 parent c4c5a5a commit d4f1dfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rtd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ export default class RTD {
}
if (checkbox == null) {
throw new Error(`:sob: Failed to visit version page at ${url}. ` +
"Please make sure you have enabled GitHub integration in your RTD project.");
"Please make sure you have enabled GitHub integration in your RTD project. " +
"Also confirm that [you selected three event types](https://docs.readthedocs.io/en/latest/webhooks.html#github) in GitHub config page.");
}
const checked = await (await checkbox.getProperty("checked")).jsonValue();
return checked;
Expand Down

0 comments on commit d4f1dfc

Please sign in to comment.