1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Export docs for GitHub enterprise configuration

This commit is contained in:
Chris Cummer 2018-06-20 10:48:41 -07:00
parent 55533d1e16
commit 889c097342
3 changed files with 20 additions and 9 deletions

View File

@ -318,10 +318,10 @@ Configuration gcal:colors:title:"red"description:"lightb
<description>Displays information about your git repositories hosted on Github: <description>Displays information about your git repositories hosted on Github:
Open Review Requests All open code review requests assigned to you. Open Review Requests All open code review requests assigned to you.
Open Pull Requests All open pull requests created by you. Open Pull Requests All open pull requests created by you.
Source Code wtf/github/ Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token. Source Code wtf/github/ Github Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token.
Keyboard Commands Key: / Action: Open/close the widget&amp;rsquo;s help window. GitHub Enterprise Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token.
Key: h Action: Show the previous git repository. Key: WTF_GITHUB_BASE_URL Action: Your Github Enterprise API URL.
Key: l Action: Show the next git repository.</description> Key: WTF_GITHUB_UPLOAD_URL Action: Your Github Enterprise upload URL (often the same as API URL).</description>
</item> </item>
<item> <item>

View File

@ -318,10 +318,10 @@ Configuration gcal:colors:title:&amp;#34;red&amp;#34;description:&amp;#34;lightb
<description>Displays information about your git repositories hosted on Github: <description>Displays information about your git repositories hosted on Github:
Open Review Requests All open code review requests assigned to you. Open Review Requests All open code review requests assigned to you.
Open Pull Requests All open pull requests created by you. Open Pull Requests All open pull requests created by you.
Source Code wtf/github/ Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token. Source Code wtf/github/ Github Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token.
Keyboard Commands Key: / Action: Open/close the widget&amp;rsquo;s help window. GitHub Enterprise Required ENV Variables Key: WTF_GITHUB_TOKEN Action: Your Github API token.
Key: h Action: Show the previous git repository. Key: WTF_GITHUB_BASE_URL Action: Your Github Enterprise API URL.
Key: l Action: Show the next git repository.</description> Key: WTF_GITHUB_UPLOAD_URL Action: Your Github Enterprise upload URL (often the same as API URL).</description>
</item> </item>
<item> <item>

View File

@ -135,11 +135,22 @@
<h2 id="source-code">Source Code</h2> <h2 id="source-code">Source Code</h2>
<div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/github/</code></pre></div> <div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/github/</code></pre></div>
<h2 id="required-env-variables">Required ENV Variables</h2> <h2 id="github-required-env-variables">Github Required ENV Variables</h2>
<p><span class="caption">Key:</span> <code>WTF_GITHUB_TOKEN</code> <br /> <p><span class="caption">Key:</span> <code>WTF_GITHUB_TOKEN</code> <br />
<span class="caption">Action:</span> Your <a href="https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization">Github API</a> token.</p> <span class="caption">Action:</span> Your <a href="https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization">Github API</a> token.</p>
<h2 id="github-enterprise-required-env-variables">GitHub Enterprise Required ENV Variables</h2>
<p><span class="caption">Key:</span> <code>WTF_GITHUB_TOKEN</code> <br />
<span class="caption">Action:</span> Your <a href="https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization">Github API</a> token.</p>
<p><span class="caption">Key:</span> <code>WTF_GITHUB_BASE_URL</code> <br />
<span class="caption">Action:</span> Your <a href="https://developer.github.com/enterprise/2.13/v3/enterprise-admin/">Github Enterprise</a> API URL.</p>
<p><span class="caption">Key:</span> <code>WTF_GITHUB_UPLOAD_URL</code> <br />
<span class="caption">Action:</span> Your <a href="https://developer.github.com/enterprise/2.13/v3/enterprise-admin/">Github Enterprise</a> upload URL (often the same as API URL).</p>
<h2 id="keyboard-commands">Keyboard Commands</h2> <h2 id="keyboard-commands">Keyboard Commands</h2>
<p><span class="caption">Key:</span> <code>/</code> <br /> <p><span class="caption">Key:</span> <code>/</code> <br />