Content-Length: 398694 | pFad | http://github.com/googleapis/google-cloud-python/commit/faf113f7ced00e65fc8071b44efc9d7e191847d9

D0 docs: add python 2 sunset banner to documentation (#9036) · googleapis/google-cloud-python@faf113f · GitHub
Skip to content

Commit faf113f

Browse files
authored
docs: add python 2 sunset banner to documentation (#9036)
1 parent 045f35c commit faf113f

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
div#python2-eol {
2+
border-color: red;
3+
border-width: medium;
4+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{% extends "!layout.html" %}
2+
{%- block content %}
3+
{%- if theme_fixed_sidebar|lower == 'true' %}
4+
<div class="document">
5+
{{ sidebar() }}
6+
{%- block document %}
7+
<div class="documentwrapper">
8+
{%- if render_sidebar %}
9+
<div class="bodywrapper">
10+
{%- endif %}
11+
12+
{%- block relbar_top %}
13+
{%- if theme_show_relbar_top|tobool %}
14+
<div class="related top">
15+
&nbsp;
16+
{{- rellink_markup () }}
17+
</div>
18+
{%- endif %}
19+
{% endblock %}
20+
21+
<div class="body" role="main">
22+
<div class="admonition" id="python2-eol">
23+
On January 1, 2020 this library will no longer support Python 2 on the latest released version.
24+
Previously released library versions will continue to be available. For more information please
25+
visit <a href="https://cloud.google.com/python/docs/python2-sunset/">Python 2 support on Google Cloud</a>.
26+
</div>
27+
{% block body %} {% endblock %}
28+
</div>
29+
30+
{%- block relbar_bottom %}
31+
{%- if theme_show_relbar_bottom|tobool %}
32+
<div class="related bottom">
33+
&nbsp;
34+
{{- rellink_markup () }}
35+
</div>
36+
{%- endif %}
37+
{% endblock %}
38+
39+
{%- if render_sidebar %}
40+
</div>
41+
{%- endif %}
42+
</div>
43+
{%- endblock %}
44+
<div class="clearer"></div>
45+
</div>
46+
{%- else %}
47+
{{ super() }}
48+
{%- endif %}
49+
{%- endblock %}

packages/google-cloud-datacatalog/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
# Add any paths that contain custom static files (such as style sheets) here,
163163
# relative to this directory. They are copied after the builtin static files,
164164
# so a file named "default.css" will overwrite the builtin "default.css".
165-
# html_static_path = []
165+
html_static_path = ["_static"]
166166

167167
# Add any extra paths that contain custom files (such as robots.txt or
168168
# .htaccess) here, relative to this directory. These files are copied

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/faf113f7ced00e65fc8071b44efc9d7e191847d9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy