-
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.
docs(billingbudgets): add Python 2 sunset banner (via synth) (#9813)
- Loading branch information
1 parent
7d985c9
commit 9958b17
Showing
4 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
packages/google-cloud-billing-budgets/docs/_static/custom.css
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,4 @@ | ||
div#python2-eol { | ||
border-color: red; | ||
border-width: medium; | ||
} |
50 changes: 50 additions & 0 deletions
50
packages/google-cloud-billing-budgets/docs/_templates/layout.html
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"> | ||
On January 1, 2020 this library will no longer support Python 2 on the latest released version. | ||
Previously released library versions 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 %} |
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