Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: try and embed discourse #17

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ to
<link rel="stylesheet" href="_static/mpl.css?v2" type="text/css" />
```

The query parameter will be ignored when serving the file from the origin but
The query parameter will be ignored when serving the file from the origin, but
will be taken into consideration by both cloudflare and users browsers when
identifying cache hits.
2 changes: 1 addition & 1 deletion docs/_static/css/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ main {

@media (min-width: 800px) {
main {
margin-top: 50px;
margin-top: 20px;
grid-template-columns:
minmax(1em, auto) minmax(44px, 118px) minmax(44px, 118px)
minmax(44px, 118px) minmax(44px, 118px) minmax(44px, 118px) minmax(
Expand Down
29 changes: 5 additions & 24 deletions docs/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,36 +129,16 @@ <h1>Matplotlib: Visualization with Python</h1>
<!-- make these easier to visually differentiate !-->
<!-- optional important news -->
<h3>News</h3>
<div class="news__item--highlight">
<h5 class="date">March 30, 2021</h5>
<h4 class="title">Matplotlib 3.4.1 Released</h4>
<p>
This is the first bug-fix release for the 3.4 series and includes
critical bug fixes for 3D scatters.
</p>
<a href="" class="link--offsite">Matplotlib 3.4.1 Released</a>
</div>

<!-- START NEWS ITEMS -->
<div class="news__item">
<h5 class="date">March 30, 2021</h5>
<a href="" class="link--offsite">Matplotlib 3.4.0 release</a>
</div>

<div class="news__item">
<h5 class="date">March 11, 2021</h5>
<a href="" class="link--offsite">
Matplotlib 3.4.0 release candidate 3
</a>
</div>

<d-topics-list discourse-url="https://discourse.matplotlib.org/" category="10" per-page="5">
</d-topics-list>
</div>

<!-- END NEWS ITEMS -->
<!-- link to discourse -->
<div class="news__discourse-link">
<div class="rule"></div>
<a
href="https://discourse.matplotlib.org/c/announce/14"
href="https://discourse.matplotlib.org/c/announce/matplotlib-announce/10"
class="link--offsite"
>Older Announcements</a
>
Expand Down Expand Up @@ -484,3 +464,4 @@ <h4>Donate</h4>
</ul>
</section>
<script src="_static/script.js"></script>
<script src="https://discourse.matplotlib.org/javascripts/embed-topics.js"></script>