docs/assets/README.md: mention that locally placed doc-specific images simplify referring them from various views without the need to deal with folder prefixes

This commit is contained in:
Aliaksandr Valialkin 2023-01-27 11:29:23 -08:00
parent 54a0ccbaca
commit 6342eb5523
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -5,4 +5,8 @@ used in a particular doc. Such files must be placed in the same folder as the do
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. This simplifies lifetime management for these files.
For example, if the corresponding doc is removed, then it is easy to remove all the associated
images with a simple `rm -rf docs/foo/bar*` command.
images with a simple `rm -rf docs/foo/bar*` command. This also simplifies referring the associated images
from docs displayed at various views:
- https://docs.victoriametrics.com
- https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/docs