diff --git a/doc/_static/fa/LICENSE b/doc/_static/fa/LICENSE new file mode 100644 index 000000000000..81369b90fe23 --- /dev/null +++ b/doc/_static/fa/LICENSE @@ -0,0 +1,5 @@ +Font Awsome SVG Icons are covered by CC BY 4.0 License. + +https://fontawesome.com/license/free + +Icons are based on Font Awesome 5.11.2 and colors have been adapted. diff --git a/doc/_static/fa/discourse-brands.svg b/doc/_static/fa/discourse-brands.svg new file mode 100644 index 000000000000..3b8e2e0fab0f --- /dev/null +++ b/doc/_static/fa/discourse-brands.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/envelope-regular.svg b/doc/_static/fa/envelope-regular.svg new file mode 100644 index 000000000000..9f82026d241c --- /dev/null +++ b/doc/_static/fa/envelope-regular.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/github-brands.svg b/doc/_static/fa/github-brands.svg new file mode 100644 index 000000000000..52e76df0df4a --- /dev/null +++ b/doc/_static/fa/github-brands.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/gitter-brands.svg b/doc/_static/fa/gitter-brands.svg new file mode 100644 index 000000000000..f1d59e045c03 --- /dev/null +++ b/doc/_static/fa/gitter-brands.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/hashtag-solid.svg b/doc/_static/fa/hashtag-solid.svg new file mode 100644 index 000000000000..c7c033faeac2 --- /dev/null +++ b/doc/_static/fa/hashtag-solid.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/plus-square-regular.svg b/doc/_static/fa/plus-square-regular.svg new file mode 100644 index 000000000000..3303fd81116a --- /dev/null +++ b/doc/_static/fa/plus-square-regular.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/question-circle-regular.svg b/doc/_static/fa/question-circle-regular.svg new file mode 100644 index 000000000000..5ddce26452f9 --- /dev/null +++ b/doc/_static/fa/question-circle-regular.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/fa/stack-overflow-brands.svg b/doc/_static/fa/stack-overflow-brands.svg new file mode 100644 index 000000000000..de164d4a2cf0 --- /dev/null +++ b/doc/_static/fa/stack-overflow-brands.svg @@ -0,0 +1 @@ + diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index e7d20e6eccbe..4233c55b46e2 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -1051,7 +1051,7 @@ div.responsive_subfig img { width: 100%; } -@media only screen and (max-width: 1000px){ +@media only screen and (max-width: 930px){ /* The value of 1000px was handcrafted to provide a more or less */ /* smooth transition between the 1x4 and the 2x2 layouts. It is */ /* NB: it is slightly below 1024px: so one should still have a */ @@ -1180,3 +1180,41 @@ nav.main-nav{ padding: 3px 6px; width: 198px; } + +/* community items on main page */ +div.box { + display: flex; + flex-flow: row wrap; +} + +div.box-item { + flex: 0 0 45%; + padding: 4px; + margin: 8px 12px; +} + +div.box-item img { + float: left; + width: 30px; + height: 30px; + fill: #888; + +} +div.box-item p { + margin: 0 0 0 50px; +} + +div.box-item ul { + margin: 0 0 0 50px; + padding-left: 20px; +} + +hr.box-sep { + margin: 1em 2em; +} + +@media only screen and (max-width: 930px){ + div.box-item { + flex: 0 0 90%; + } +} \ No newline at end of file diff --git a/doc/index.rst b/doc/index.rst index 7ae39a7dacda..cc6f28e754d4 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -112,37 +112,71 @@ Software Foundation Code of Conduct `_ in everything we do. .. _coc: http://www.python.org/psf/codeofconduct/ -- Join our community at `discourse.matplotlib.org`_ to get help, discuss - contributing & development, and share your work. -- If you have questions, be sure to check the :doc:`FAQ `, the - :doc:`API ` docs, and the `search `_ tool - searches all of the documentation, including full text search of over 350 - complete examples which exercise almost every corner of Matplotlib. -- If its something quick join the `gitter channel`_ to chat with the - community. -- If you prefer email there are the matplotlib-users_, matplotlib-devel_, - and matplotlib-announce_ mailing lists. -- Check out the Matplotlib tag on stackoverflow_. -- Tweet us at Twitter_! or see cool plots on Instagram_! - -.. _discourse.matplotlib.org: https://discourse.matplotlib.org -.. _gitter channel: https://gitter.im/matplotlib/matplotlib -.. _matplotlib-users: https://mail.python.org/mailman/listinfo/matplotlib-users -.. _matplotlib-devel: https://mail.python.org/mailman/listinfo/matplotlib-devel -.. _matplotlib-announce: https://mail.python.org/mailman/listinfo/matplotlib-announce -.. _stackoverflow: http://stackoverflow.com/questions/tagged/matplotlib -.. _Twitter: https://twitter.com/matplotlib -.. _Instagram: https://www.instagram.com/matplotart/ - -You can file bugs, patches and feature requests on the `issue tracker`_, but it -is a good idea to ping us on Discourse_ as well. - -.. _Discourse: https://discourse.matplotlib.org - -To keep up to date with what's going on in Matplotlib, see the :doc:`what's -new ` page or browse the `source code`_. Anything that could -require changes to your existing code is logged in the :doc:`API changes -` file. + +.. raw:: html + +

Get help

+
+
+ Discourse +

Join our community at discourse.matplotlib.org + to get help, discuss contributing & development, and share your work.

+
+
+ Questions +

If you have questions, be sure to check the FAQ, + the API docs. The full text + search is a good way to discover the docs including the many examples.

+
+
+ Stackoverflow +

Check out the Matplotlib tag on stackoverflow.

+
+
+ Gitter +

Short questions may be posted on the gitter channel.

+
+
+
+

News

+
+
+ News +

To keep up to date with what's going on in Matplotlib, see the + what's new page or browse the + source code. Anything that could + require changes to your existing code is logged in the + API changes file.

+
+
+ Social media +

Tweet us at Twitter! + or see cool plots on Instagram!

+
+
+
+

Development

+
+
+ Github +

Matplotlib is hosted on GitHub.

+ +

It is a good idea to ping us on Discourse as well.

+
+
+ Mailing lists +

Mailing lists

+ +
+
+ Toolkits ======== @@ -214,10 +248,3 @@ Foundation (PSF) license `_. There is an active developer community and a long list of people who have made significant :doc:`contributions `. - -Matplotlib is hosted on `GitHub `_. `Issues `_ -and `Pull requests`_ are tracked at GitHub too. - -.. _source code: https://github.com/matplotlib/matplotlib -.. _issue tracker: https://github.com/matplotlib/matplotlib/issues -.. _pull requests: https://github.com/matplotlib/matplotlib/pulls