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

docs: Fix formatting of GCE_METADATA_HOST #890

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

ijrsvt
Copy link
Contributor

@ijrsvt ijrsvt commented Oct 16, 2021

The existing docs only show GCE_METADATA_ROOT. This PR adds a space between them so that Sphinx will separate them into separate entries.
Screen Shot 2021-10-16 at 9 06 11 AM
The new HTML:

<dl class="data">
<dt id="google.auth.environment_vars.GCE_METADATA_HOST">
<code class="sig-name descname">GCE_METADATA_HOST</code><em class="property"> = 'GCE_METADATA_HOST'</em><a class="headerlink" href="#google.auth.environment_vars.GCE_METADATA_HOST" title="Permalink to this definition">¶</a></dt>
<dd><p>port to be
used for GCE metadata requests.</p>
<p>This environment variable was originally named GCE_METADATA_ROOT. The system will
check this environemnt variable first; should there be no value present,
the system will fall back to the old variable.</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>Environment variable providing an alternate hostname or host</p>
</dd>
</dl>
</dd></dl>

<dl class="data">
<dt id="google.auth.environment_vars.GCE_METADATA_ROOT">
<code class="sig-name descname">GCE_METADATA_ROOT</code><em class="property"> = 'GCE_METADATA_ROOT'</em><a class="headerlink" href="#google.auth.environment_vars.GCE_METADATA_ROOT" title="Permalink to this definition">¶</a></dt>
<dd><p>Old environment variable for for GCE_METADATA_HOST.</p>
</dd></dl>

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 16, 2021
@arithmetic1728 arithmetic1728 added the automerge Merge the pull request once unit tests and other checks pass. label Oct 17, 2021
@gcf-merge-on-green
Copy link

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 17, 2021
@ijrsvt
Copy link
Contributor Author

ijrsvt commented Oct 17, 2021

@arithmetic1728 do you know why Kokoro is not running?

@arithmetic1728 arithmetic1728 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 17, 2021
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 17, 2021
@arithmetic1728
Copy link
Contributor

@ijrsvt I am not sure. Just triggered kokoro to re-run.

@ijrsvt
Copy link
Contributor Author

ijrsvt commented Oct 18, 2021

@arithmetic1728 It looks like it passes now! Can you add the automerge label? Thanks :)

@arithmetic1728 arithmetic1728 merged commit e2b3c98 into googleapis:main Oct 18, 2021
@ijrsvt ijrsvt deleted the fix-env-var-docs branch December 8, 2021 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants