Skip to content

Commit 7675312

Browse files
authored
Remove the links to the binder example (#264)
It's broken and after #261 we won't have the conda-forge GMT builds anymore. That makes it tricky to offer the demo. It served its purpose and we can revive it after GMT 6 is out.
1 parent 79c879e commit 7675312

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

README.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ GMT/Python
33

44
A Python interface for the Generic Mapping Tools
55

6-
`Documentation <https://www.gmtpython.xyz>`__ |
7-
`Online Demo <http://try.gmtpython.xyz>`__ |
6+
`Documentation (development version) <https://www.gmtpython.xyz>`__ |
87
`Contact <https://gitter.im/GenericMappingTools/gmt-python>`__
98

109
.. image:: http://img.shields.io/pypi/v/gmt-python.svg?style=flat-square
@@ -144,4 +143,3 @@ License
144143
GMT/Python is free software: you can redistribute it and/or modify it under the terms of
145144
the **BSD 3-clause License**. A copy of this license is provided in
146145
`LICENSE.txt <https://github.com/GenericMappingTools/gmt-python/blob/master/LICENSE.txt>`__.
147-
.

doc/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
{% if menu_links %}
4343
<p class="caption">
44-
<span class="caption-text">External links</span>
44+
<span class="caption-text">Getting help and contributing</span>
4545
</p>
4646
<ul>
4747
{% for text, link in menu_links %}

doc/conf.py

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33
import os
44
import datetime
55
import sphinx_rtd_theme
6-
7-
# Sphinx needs to be able to import the package to use autodoc and get the
8-
# version number
9-
sys.path.append(os.path.pardir)
10-
116
from gmt import __version__, __commit__
127

8+
139
extensions = [
1410
"sphinx.ext.autodoc",
1511
"sphinx.ext.autosummary",
@@ -79,27 +75,26 @@
7975
html_theme_options = {}
8076
html_context = {
8177
"menu_links": [
82-
('<i class="fa fa-play fa-fw"></i> Try it online!', "http://try.gmtpython.xyz"),
83-
(
84-
'<i class="fa fa-github fa-fw"></i> Source Code',
85-
"https://github.com/GenericMappingTools/gmt-python",
86-
),
8778
(
8879
'<i class="fa fa-users fa-fw"></i> Contributing',
8980
"https://github.com/GenericMappingTools/gmt-python/blob/master/CONTRIBUTING.md",
9081
),
9182
(
92-
'<i class="fa fa-book fa-fw"></i> Code of Conduct',
83+
'<i class="fa fa-gavel fa-fw"></i> Code of Conduct',
9384
"https://github.com/GenericMappingTools/gmt-python/blob/master/CODE_OF_CONDUCT.md",
9485
),
9586
(
96-
'<i class="fa fa-gavel fa-fw"></i> License',
87+
'<i class="fa fa-book fa-fw"></i> License',
9788
"https://github.com/GenericMappingTools/gmt-python/blob/master/LICENSE.txt",
9889
),
9990
(
10091
'<i class="fa fa-comment fa-fw"></i> Contact',
10192
"https://gitter.im/GenericMappingTools/gmt-python",
10293
),
94+
(
95+
'<i class="fa fa-github fa-fw"></i> Source Code',
96+
"https://github.com/GenericMappingTools/gmt-python",
97+
),
10398
],
10499
# Custom variables to enable "Improve this page"" and "Download notebook"
105100
# links
@@ -108,6 +103,7 @@
108103
"github_version": "master",
109104
}
110105

106+
111107
# Load the custom CSS files (needs sphinx >= 1.6 for this to work)
112108
def setup(app):
113109
app.add_stylesheet("style.css")

0 commit comments

Comments
 (0)