-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: add docs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add docfx and presubmits * add presubmits * use correct python version for docs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add lint session * use correct python version for lint * update lint session --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6374191
commit 150a215
Showing
13 changed files
with
634 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
name: docs | ||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
- name: Install nox | ||
run: | | ||
python -m pip install --upgrade setuptools pip wheel | ||
python -m pip install nox | ||
- name: Run docs | ||
run: | | ||
nox -s docs | ||
docfx: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
- name: Install nox | ||
run: | | ||
python -m pip install --upgrade setuptools pip wheel | ||
python -m pip install nox | ||
- name: Run docfx | ||
run: | | ||
nox -s docfx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
name: lint | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
- name: Install nox | ||
run: | | ||
python -m pip install --upgrade setuptools pip wheel | ||
python -m pip install nox | ||
- name: Run lint | ||
run: | | ||
nox -s lint | ||
- name: Run lint_setup_py | ||
run: | | ||
nox -s lint_setup_py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
div#python2-eol { | ||
border-color: red; | ||
border-width: medium; | ||
} | ||
|
||
/* Ensure minimum width for 'Parameters' / 'Returns' column */ | ||
dl.field-list > dt { | ||
min-width: 100px | ||
} | ||
|
||
/* Insert space between methods for readability */ | ||
dl.method { | ||
padding-top: 10px; | ||
padding-bottom: 10px | ||
} | ||
|
||
/* Insert empty space between classes */ | ||
dl.class { | ||
padding-bottom: 50px | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
{% extends "!layout.html" %} | ||
{%- block content %} | ||
{%- if theme_fixed_sidebar|lower == 'true' %} | ||
<div class="document"> | ||
{{ sidebar() }} | ||
{%- block document %} | ||
<div class="documentwrapper"> | ||
{%- if render_sidebar %} | ||
<div class="bodywrapper"> | ||
{%- endif %} | ||
|
||
{%- block relbar_top %} | ||
{%- if theme_show_relbar_top|tobool %} | ||
<div class="related top"> | ||
| ||
{{- rellink_markup () }} | ||
</div> | ||
{%- endif %} | ||
{% endblock %} | ||
|
||
<div class="body" role="main"> | ||
<div class="admonition" id="python2-eol"> | ||
As of January 1, 2020 this library no longer supports Python 2 on the latest released version. | ||
Library versions released prior to that date will continue to be available. For more information please | ||
visit <a href="https://cloud.google.com/python/docs/python2-sunset/">Python 2 support on Google Cloud</a>. | ||
</div> | ||
{% block body %} {% endblock %} | ||
</div> | ||
|
||
{%- block relbar_bottom %} | ||
{%- if theme_show_relbar_bottom|tobool %} | ||
<div class="related bottom"> | ||
| ||
{{- rellink_markup () }} | ||
</div> | ||
{%- endif %} | ||
{% endblock %} | ||
|
||
{%- if render_sidebar %} | ||
</div> | ||
{%- endif %} | ||
</div> | ||
{%- endblock %} | ||
<div class="clearer"></div> | ||
</div> | ||
{%- else %} | ||
{{ super() }} | ||
{%- endif %} | ||
{%- endblock %} |
Oops, something went wrong.