-
Notifications
You must be signed in to change notification settings - Fork 56
Add an example
Louis-Maxime Piton edited this page Dec 27, 2023
·
7 revisions
To add an example, please follow the steps :
- Add your <EXAMPLE> in
site/data/examples.yml
- Place your files in
site/content/docs/5.2/examples/<EXAMPLE>/
, name thehtml
fileindex.html
- Add 2 pictures that fit the final page state:
- Take a screenshot that fits:
- Resolution: 1440px width and 900px height
- Resize the image (website):
- A first time to 960x600, rename it
<EXAMPLE>@2x.png
- A second time to 480x300, rename it
<EXAMPLE>.png
- A first time to 960x600, rename it
- Compress the images.
- Place these renamed pictures in
site/static/docs/5.2/assets/img/examples/
- Take a screenshot that fits:
That's it 🎉