Skip to content

Commit 04888d3

Browse files
committed
Merge pull request #1041 from dhermes/putting-external-links-in-toc
Putting external links in toctree.
2 parents b5fac6f + a64d8bf commit 04888d3

2 files changed

Lines changed: 9 additions & 26 deletions

File tree

‎docs/_templates/layout.html‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -126,32 +126,6 @@ <h1 class="logo">
126126
</section><!-- end of .content -->
127127
<nav class="side-nav">
128128
{{ toctree(includehidden=True, maxdepth=1, titles_only=True) }}
129-
<ul class="external-links">
130-
<li>
131-
<a href="https://github.com/GoogleCloudPlatform/gcloud-python/" title="Python on Github">
132-
<img src="{{ pathto('_static/images/icon-link-github.svg', 1) }}" alt="Github icon" />
133-
Github
134-
</a>
135-
</li>
136-
<li>
137-
<a href="https://github.com/GoogleCloudPlatform/gcloud-python/issues" title="Python issues on Github">
138-
<img src="{{ pathto('_static/images/icon-link-github.svg', 1) }}" alt="Github icon" />
139-
Issues
140-
</a>
141-
</li>
142-
<li>
143-
<a href="http://stackoverflow.com/questions/tagged/gcloud-python" title="gcloud on StackOverflow">
144-
<img src="{{ pathto('_static/images/icon-link-stackoverflow.svg', 1) }}" alt="StackOverflow icon" />
145-
gcloud
146-
</a>
147-
</li>
148-
<li>
149-
<a href="https://pypi.python.org/pypi/gcloud" title="Python package manager">
150-
<img src="{{ pathto('_static/images/icon-link-package-manager.svg', 1) }}" alt="Package Manager icon" />
151-
Package Manager
152-
</a>
153-
</li>
154-
</ul>
155129
</nav><!-- end of .side-nav -->
156130
</article><!-- end of .main -->
157131

‎docs/index.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@
4444

4545
bigquery-usage
4646

47+
.. toctree::
48+
:maxdepth: 0
49+
:hidden:
50+
:caption: External Links
51+
52+
GitHub <https://github.com/GoogleCloudPlatform/gcloud-python/>
53+
Issues <https://github.com/GoogleCloudPlatform/gcloud-python/issues>
54+
Stack Overflow <http://stackoverflow.com/questions/tagged/gcloud-python>
55+
PyPI <https://pypi.python.org/pypi/gcloud>
4756

4857
Getting started
4958
---------------

0 commit comments

Comments
 (0)