https://github.com/matplotlib/mpl-brochure-site
Source for the top-level landing page.
https://github.com/matplotlib/mpl-brochure-site
Last synced: 9 months ago
JSON representation
Source for the top-level landing page.
- Host: GitHub
- URL: https://github.com/matplotlib/mpl-brochure-site
- Owner: matplotlib
- License: other
- Created: 2021-02-28T05:06:41.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T23:31:11.000Z (10 months ago)
- Last Synced: 2025-06-08T10:29:29.602Z (9 months ago)
- Size: 5.21 MB
- Stars: 4
- Watchers: 20
- Forks: 15
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matplotlib Brochure site
This is the source for the top-level index.html for matplotlib.org
Temporarily served at https://matplotlib.org/mpl-brochure-site/
## build
```bash
pip install -r requirements.txt
make -Cdocs html
```
## Maintain image rotator:
Right now the image rotator plots the sphinx-gallery in ``plot_types`` and
rotates through those images. See
``docs/_static/images-rotate/_generate_images.py``.
Note that the location of the matplotlib source install is assumed to be at the
same level as the install of ``mpl-brochure-site``, so modify if that is not the
case.
## CSS cache-busting
If you change the css files it is important to also change the query
parameter on the css link to ensure that users will not see a mix of new
content and old css. For example
```html
```
to
```html
```
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.