mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/Single-server-VictoriaMetrics.md: explain why images must have the same filepath as the corresponding docs at docs/ folder
This is a follow-up for f2c1d30011
This commit is contained in:
parent
1f96882367
commit
aefc4538bd
@ -2668,6 +2668,10 @@ Please, keep image size and number of images per single page low. Keep the docs
|
|||||||
|
|
||||||
Image files must be placed in the same folder as the doc itself and they must have the same prefix as the doc filename.
|
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`.
|
For example, all the images for `docs/foo/bar.md` should have filenames starting from `docs/foo/bar`.
|
||||||
|
This simplifies lifetime management of the images:
|
||||||
|
|
||||||
|
- when the corresponding doc is removed, then it is clear how to remove the associated images
|
||||||
|
- when the corresponding doc is renamed, then it is clear how to rename the associated images.
|
||||||
|
|
||||||
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
|
||||||
|
@ -2671,6 +2671,10 @@ Please, keep image size and number of images per single page low. Keep the docs
|
|||||||
|
|
||||||
Image files must be placed in the same folder as the doc itself and they must have the same prefix as the doc filename.
|
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`.
|
For example, all the images for `docs/foo/bar.md` should have filenames starting from `docs/foo/bar`.
|
||||||
|
This simplifies lifetime management of the images:
|
||||||
|
|
||||||
|
- when the corresponding doc is removed, then it is clear how to remove the associated images
|
||||||
|
- when the corresponding doc is renamed, then it is clear how to rename the associated images.
|
||||||
|
|
||||||
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
|
||||||
|
@ -2679,6 +2679,10 @@ Please, keep image size and number of images per single page low. Keep the docs
|
|||||||
|
|
||||||
Image files must be placed in the same folder as the doc itself and they must have the same prefix as the doc filename.
|
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`.
|
For example, all the images for `docs/foo/bar.md` should have filenames starting from `docs/foo/bar`.
|
||||||
|
This simplifies lifetime management of the images:
|
||||||
|
|
||||||
|
- when the corresponding doc is removed, then it is clear how to remove the associated images
|
||||||
|
- when the corresponding doc is renamed, then it is clear how to rename the associated images.
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user