mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 14:40:26 +01:00
docs: mention assets naming policy and placement
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit f2c1d30011
)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
c835a6351e
commit
feb58e70f4
@ -2676,6 +2676,9 @@ used or posted in other docs, GitHub issues, stackoverlow answers, etc.
|
|||||||
|
|
||||||
Please, keep image size and number of images per single page low. Keep the docs page as lightweight as possible.
|
Please, keep image size and number of images per single page low. Keep the docs page as lightweight as possible.
|
||||||
|
|
||||||
|
Image files must be placed in the same folder as the doc itself and they must have the same prefix as the doc filename.
|
||||||
|
For example, all the images for `docs/foo/bar.md` should have filenames starting from `docs/foo/bar`.
|
||||||
|
|
||||||
If the page needs to have many images, consider using WEB-optimized image format [webp](https://developers.google.com/speed/webp).
|
If the page needs to have many images, consider using WEB-optimized image format [webp](https://developers.google.com/speed/webp).
|
||||||
When adding a new doc with many images use `webp` format right away. Or use a Makefile command below to
|
When adding a new doc with many images use `webp` format right away. Or use a Makefile command below to
|
||||||
convert already existing images at `docs` folder automatically to `web` format:
|
convert already existing images at `docs` folder automatically to `web` format:
|
||||||
|
@ -2684,6 +2684,9 @@ used or posted in other docs, GitHub issues, stackoverlow answers, etc.
|
|||||||
|
|
||||||
Please, keep image size and number of images per single page low. Keep the docs page as lightweight as possible.
|
Please, keep image size and number of images per single page low. Keep the docs page as lightweight as possible.
|
||||||
|
|
||||||
|
Image files must be placed in the same folder as the doc itself and they must have the same prefix as the doc filename.
|
||||||
|
For example, all the images for `docs/foo/bar.md` should have filenames starting from `docs/foo/bar`.
|
||||||
|
|
||||||
If the page needs to have many images, consider using WEB-optimized image format [webp](https://developers.google.com/speed/webp).
|
If the page needs to have many images, consider using WEB-optimized image format [webp](https://developers.google.com/speed/webp).
|
||||||
When adding a new doc with many images use `webp` format right away. Or use a Makefile command below to
|
When adding a new doc with many images use `webp` format right away. Or use a Makefile command below to
|
||||||
convert already existing images at `docs` folder automatically to `web` format:
|
convert already existing images at `docs` folder automatically to `web` format:
|
||||||
|
Loading…
Reference in New Issue
Block a user