Skip to content

Commit 4b6fb30

Browse files
authored
Add forum link in nav bar an index page (#29)
Include the link with the Discourse icon. Also include links in the sections of the index page to all other pages, including Github and the forum. Open external links in new tabs.
1 parent 61dd79a commit 4b6fb30

File tree

3 files changed

+48
-15
lines changed

3 files changed

+48
-15
lines changed

_templates/navbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<li><a href="{{ pathto(*link[1:]) }}"><strong>{{ link[0] }}</strong></a></li>
77
{%- endfor %}
88
{%- for link in social_links %}
9-
<li><a href="{{ link[2] }}" title="{{ link[1] }}">{{ link[0] }}</a></li>
9+
<li><a href="{{ link[2] }}" title="{{ link[1] }}" target="_blank">{{ link[0] }}</a></li>
1010
{%- endfor %}
1111
</ul>
1212
{% endif %}

conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
"https://github.com/GenericMappingTools",
7474
),
7575
(
76-
'<i class="fab fa-gitter fa-lg"></i>',
77-
"Gitter chat",
78-
"https://gitter.im/GenericMappingTools/Lobby",
76+
'<i class="fab fa-discourse fa-lg"></i>',
77+
"Forum",
78+
"https://forum.generic-mapping-tools.org/",
7979
),
8080
],
8181
"url": "https://www.generic-mapping-tools.org",

index.rst

+44-11
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,19 @@
8787

8888
<h2>A toolbox for Earth, Ocean, and Planetary Science</h2>
8989

90-
GMT is widely used across the Earth, Ocean, and Planetary sciences. A diverse community
91-
use GMT to process data, generate publication-quality illustrations, automate workflows,
92-
and make animations. Scientific journals, posters at meetings, and Wikipedia pages display
93-
illustrations made by GMT.
90+
<p>
91+
GMT is widely used across the Earth, Ocean, and Planetary sciences. A
92+
diverse community use GMT to process data, generate publication-quality
93+
illustrations, automate workflows, and make animations. Scientific
94+
journals, posters at meetings, and Wikipedia pages display illustrations
95+
made by GMT.
96+
</p>
97+
<p>
98+
<strong>Want to get involved?</strong>
99+
Join the <a href="https://forum.generic-mapping-tools.org/" target="_blank">
100+
<i class="fab fa-discourse"></i> GMT Community Forum</a> to ask questions, get help,
101+
and connect with other users and developers.
102+
</p>
94103

95104
</div>
96105
<div class="col-sm-5 col-sm-pull-7">
@@ -105,9 +114,21 @@
105114

106115
<h2>Publication quality figures and animations</h2>
107116

108-
Whether Cartesian, geographic, or time-series, GMT can process your data. GMT enables
109-
you to explore new ways to analyze data and to build custom displays for drafts, publications,
110-
or final presentations. GMT allows unlimited customization via scripting in several languages.
117+
<p>
118+
Whether Cartesian, geographic, or time-series, GMT can process your data.
119+
GMT enables you to explore new ways to analyze data and to build custom
120+
displays for drafts, publications, or final presentations. GMT allows
121+
unlimited customization via scripting in several languages.
122+
</p>
123+
<p>
124+
Visit our <a href="/documentation"> Documentation</a> page to find out all
125+
that GMT can do for you.
126+
</p>
127+
<p>
128+
<strong>Used GMT in your research?</strong> Please
129+
consider <a href="cite">citing GMT</a> so we can justify the continued
130+
development efforts.
131+
</p>
111132

112133
</div>
113134
<div class="col-sm-5">
@@ -183,10 +204,22 @@
183204

184205
<h2>C, MATLAB, Julia, Python</h2>
185206

186-
GMT has been used from UNIX and Windows command lines for decades. More recently, GMT
187-
has been rebuilt as an Application Programming Interface (API) and can now be accessed
188-
via wrapper libraries from MATLAB/Octave, Julia, and Python, as well from custom programs
189-
written in C or C++.
207+
<p>
208+
GMT has been used from UNIX and Windows command lines for decades. More
209+
recently, GMT has been rebuilt as an Application Programming Interface (API)
210+
and can now be accessed via wrapper libraries from MATLAB/Octave, Julia, and
211+
Python, as well from custom programs written in C or C++.
212+
</p>
213+
<p>
214+
See all the projects the team is working on in the
215+
<a href="/projects">Ecosystem</a> page.
216+
</p>
217+
<p>
218+
<strong>Want to see the code?</strong> All development happens through
219+
GitHub in our
220+
<a href="https://github.com/GenericMappingTools" target="_blank"><i class="fab fa-github"></i>
221+
GenericMappingTools account</a>.
222+
</p>
190223

191224
</div>
192225
<div class="col-sm-5 col-sm-pull-7">

0 commit comments

Comments
 (0)