Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1607430

Browse filesBrowse files
committed
Merge pull request #16065 from timhoffm/doc-index-community
DOC: Nicer formatting of community aspects on front page Conflicts: doc/index.rst Deleted the final paragraph about GH to match all other branches.
1 parent 50e11a9 commit 1607430
Copy full SHA for 1607430
Expand file treeCollapse file tree

11 files changed

+117
-39
lines changed

‎doc/_static/fa/LICENSE

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Font Awsome SVG Icons are covered by CC BY 4.0 License.
2+
3+
https://fontawesome.com/license/free
4+
5+
Icons are based on Font Awesome 5.11.2 and colors have been adapted.

‎doc/_static/fa/discourse-brands.svg

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Loading

‎doc/_static/fa/envelope-regular.svg

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Loading

‎doc/_static/fa/github-brands.svg

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Loading

‎doc/_static/fa/gitter-brands.svg

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Loading

‎doc/_static/fa/hashtag-solid.svg

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Loading
+1Lines changed: 1 addition & 0 deletions
Loading
+1Lines changed: 1 addition & 0 deletions
Loading
+1Lines changed: 1 addition & 0 deletions
Loading

‎doc/_static/mpl.css

Copy file name to clipboardExpand all lines: doc/_static/mpl.css
+39-1Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ div.responsive_subfig img {
10511051
width: 100%;
10521052
}
10531053

1054-
@media only screen and (max-width: 1000px){
1054+
@media only screen and (max-width: 930px){
10551055
/* The value of 1000px was handcrafted to provide a more or less */
10561056
/* smooth transition between the 1x4 and the 2x2 layouts. It is */
10571057
/* NB: it is slightly below 1024px: so one should still have a */
@@ -1181,3 +1181,41 @@ nav.main-nav{
11811181
padding: 3px 6px;
11821182
width: 198px;
11831183
}
1184+
1185+
/* community items on main page */
1186+
div.box {
1187+
display: flex;
1188+
flex-flow: row wrap;
1189+
}
1190+
1191+
div.box-item {
1192+
flex: 0 0 45%;
1193+
padding: 4px;
1194+
margin: 8px 12px;
1195+
}
1196+
1197+
div.box-item img {
1198+
float: left;
1199+
width: 30px;
1200+
height: 30px;
1201+
fill: #888;
1202+
1203+
}
1204+
div.box-item p {
1205+
margin: 0 0 0 50px;
1206+
}
1207+
1208+
div.box-item ul {
1209+
margin: 0 0 0 50px;
1210+
padding-left: 20px;
1211+
}
1212+
1213+
hr.box-sep {
1214+
margin: 1em 2em;
1215+
}
1216+
1217+
@media only screen and (max-width: 930px){
1218+
div.box-item {
1219+
flex: 0 0 90%;
1220+
}
1221+
}

‎doc/index.rst

Copy file name to clipboardExpand all lines: doc/index.rst
+65-38Lines changed: 65 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -69,37 +69,71 @@ Software Foundation Code of Conduct <coc_>`_ in everything we do.
6969

7070
.. _coc: http://www.python.org/psf/codeofconduct/
7171

72-
- Join our community at `discourse.matplotlib.org`_ to get help, discuss
73-
contributing & development, and share your work.
74-
- If you have questions, be sure to check the :doc:`FAQ <faq/index>`, the
75-
:doc:`API <api/index>` docs, and the `search <search.html>`_ tool
76-
searches all of the documentation, including full text search of over 350
77-
complete examples which exercise almost every corner of Matplotlib.
78-
- If its something quick join the `gitter channel`_ to chat with the
79-
community.
80-
- If you prefer email there are the matplotlib-users_, matplotlib-devel_,
81-
and matplotlib-announce_ mailing lists.
82-
- Check out the Matplotlib tag on stackoverflow_.
83-
- Tweet us at Twitter_! or see cool plots on Instagram_!
84-
85-
.. _discourse.matplotlib.org: https://discourse.matplotlib.org
86-
.. _gitter channel: https://gitter.im/matplotlib/matplotlib
87-
.. _matplotlib-users: https://mail.python.org/mailman/listinfo/matplotlib-users
88-
.. _matplotlib-devel: https://mail.python.org/mailman/listinfo/matplotlib-devel
89-
.. _matplotlib-announce: https://mail.python.org/mailman/listinfo/matplotlib-announce
90-
.. _stackoverflow: http://stackoverflow.com/questions/tagged/matplotlib
91-
.. _Twitter: https://twitter.com/matplotlib
92-
.. _Instagram: https://www.instagram.com/matplotart/
93-
94-
You can file bugs, patches and feature requests on the `issue tracker`_, but it
95-
is a good idea to ping us on Discourse_ as well.
96-
97-
.. _Discourse: https://discourse.matplotlib.org
98-
99-
To keep up to date with what's going on in Matplotlib, see the :doc:`what's
100-
new <users/whats_new>` page or browse the `source code`_. Anything that could
101-
require changes to your existing code is logged in the :doc:`API changes
102-
<api/api_changes>` file.
72+
73+
.. raw:: html
74+
75+
<h3>Get help</h3>
76+
<div class="box">
77+
<div class="box-item">
78+
<img src="_static/fa/discourse-brands.svg" alt="Discourse">
79+
<p>Join our community at <a href="https://discourse.matplotlib.org">discourse.matplotlib.org</a>
80+
to get help, discuss contributing &amp; development, and share your work.</p>
81+
</div>
82+
<div class="box-item">
83+
<img src="_static/fa/question-circle-regular.svg" alt="Questions">
84+
<p>If you have questions, be sure to check the <a href="faq/index.html">FAQ</a>,
85+
the <a href="api/index.html">API</a> docs. The full text
86+
<a href="search.html">search</a> is a good way to discover the docs including the many examples.</p>
87+
</div>
88+
<div class="box-item">
89+
<img src="_static/fa/stack-overflow-brands.svg" alt="Stackoverflow">
90+
<p>Check out the Matplotlib tag on <a href="http://stackoverflow.com/questions/tagged/matplotlib">stackoverflow</a>.</p>
91+
</div>
92+
<div class="box-item">
93+
<img src="_static/fa/gitter-brands.svg" alt="Gitter">
94+
<p>Short questions may be posted on the <a href="https://gitter.im/matplotlib/matplotlib">gitter channel</a>.</p>
95+
</div>
96+
</div>
97+
<hr class='box-sep'>
98+
<h3>News</h3>
99+
<div class="box">
100+
<div class="box-item">
101+
<img src="_static/fa/plus-square-regular.svg" alt="News">
102+
<p>To keep up to date with what's going on in Matplotlib, see the
103+
<a href="users/whats_new.html">what's new</a> page or browse the
104+
<a href="https://github.com/matplotlib/matplotlib">source code</a>. Anything that could
105+
require changes to your existing code is logged in the
106+
<a href="api/api_changes.html">API changes</a> file.</p>
107+
</div>
108+
<div class="box-item">
109+
<img src="_static/fa/hashtag-solid.svg" alt="Social media">
110+
<p>Tweet us at <a href="https://twitter.com/matplotlib">Twitter</a>!
111+
or see cool plots on <a href="https://www.instagram.com/matplotart/">Instagram</a>!</p>
112+
</div>
113+
</div>
114+
<hr class='box-sep'>
115+
<h3>Development</h3>
116+
<div class="box">
117+
<div class="box-item">
118+
<img src="_static/fa/github-brands.svg" alt="Github">
119+
<p>Matplotlib is hosted on <a href="https://github.com/matplotlib/matplotlib">GitHub</a>.</p>
120+
<ul>
121+
<li>File bugs and feature requests on the <a href="https://github.com/matplotlib/matplotlib/issues">issue tracker</a>.</li>
122+
<li><a href="https://github.com/matplotlib/matplotlib/pulls">Pull requests</a> are always welcome.</li>
123+
</ul>
124+
<p>It is a good idea to ping us on <a href="https://discourse.matplotlib.org">Discourse</a> as well.</p>
125+
</div>
126+
<div class="box-item">
127+
<img src="_static/fa/envelope-regular.svg" alt="Mailing lists">
128+
<p>Mailing lists</p>
129+
<ul>
130+
<li><a href="https://mail.python.org/mailman/listinfo/matplotlib-users">matplotlib-users</a> for usage questions</li>
131+
<li><a href="https://mail.python.org/mailman/listinfo/matplotlib-devel">matplotlib-devel</a> for development</li>
132+
<li><a href="https://mail.python.org/mailman/listinfo/matplotlib-announce">matplotlib-announce</a> for project announcements</li>
133+
</ul>
134+
</div>
135+
</div>
136+
103137

104138
Toolkits
105139
========
@@ -171,10 +205,3 @@ Foundation (PSF) license <psf-license_>`_.
171205

172206
There is an active developer community and a long list of people who have made
173207
significant :doc:`contributions <users/credits>`.
174-
175-
Matplotlib is hosted on `Github <source code_>`_. `Issues <issue tracker_>`_
176-
and `Pull requests`_ are tracked at Github too.
177-
178-
.. _source code: https://github.com/matplotlib/matplotlib
179-
.. _issue tracker: https://github.com/matplotlib/matplotlib/issues
180-
.. _pull requests: https://github.com/matplotlib/matplotlib/pulls

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.