Skip to content

Commit 203ed4c

Browse files
committed
Added a 'Fork me on GitHub' banner to the documentation.
Consistent with how most open source GH repos link from docs or showcase pages to the actual repository.
1 parent b184d67 commit 203ed4c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

docs/_static/forkme.png

7.48 KB
Loading

docs/_templates/layout.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ <h3>All API Docs</h3>
152152
{%- block extrahead %} {% endblock %}
153153
</head>
154154
<body role="document" class="two-column docs">
155+
{%- block github_fork -%}
156+
<a href="https://github.com/GoogleCloudPlatform/gcloud-python"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 999;" src="/_static/forkme.png" alt="Fork me on GitHub"></a>
157+
{%- endblock -%}
155158
{%- block header %}
156159
<div id="sandbar">
157160
<header id="gc-googlebar">

0 commit comments

Comments
 (0)