From efd6ea180ad96a82ee8b0cc38582a9d505e794fb Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Wed, 15 Apr 2026 12:08:34 +0300 Subject: perf: convert all images to WebP with PDF fallback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add WebP versions of all 187 PNG/JPG images (38MB → 17MB, 55% reduction). Update RST/MD references to use Sphinx wildcard syntax (.*) so HTML builds use WebP while PDF/LaTeX builds fall back to original PNG/JPG. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/configuration/service/conntrack-sync.rst | 2 +- docs/configuration/service/dhcp-relay.rst | 4 ++-- docs/configuration/service/snmp.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/configuration/service') diff --git a/docs/configuration/service/conntrack-sync.rst b/docs/configuration/service/conntrack-sync.rst index 232db1a8..08b71eed 100644 --- a/docs/configuration/service/conntrack-sync.rst +++ b/docs/configuration/service/conntrack-sync.rst @@ -196,7 +196,7 @@ Example The next example is a simple configuration of conntrack-sync. -.. figure:: /_static/images/service_conntrack_sync-schema.png +.. figure:: /_static/images/service_conntrack_sync-schema.* :scale: 60 % :alt: Conntrack Sync Example diff --git a/docs/configuration/service/dhcp-relay.rst b/docs/configuration/service/dhcp-relay.rst index 632b2800..6a1b02f2 100644 --- a/docs/configuration/service/dhcp-relay.rst +++ b/docs/configuration/service/dhcp-relay.rst @@ -89,7 +89,7 @@ Example * Router receives DHCP client requests on ``eth1`` and relays them to the server at 10.0.1.4 on ``eth2``. -.. figure:: /_static/images/service_dhcp-relay01.png +.. figure:: /_static/images/service_dhcp-relay01.* :scale: 80 % :alt: DHCP relay example @@ -177,7 +177,7 @@ Example * Requests are forwarded through ``eth2`` as the `upstream interface` * External DHCPv6 server is at 2001:db8::4 -.. figure:: /_static/images/service_dhcpv6-relay01.png +.. figure:: /_static/images/service_dhcpv6-relay01.* :scale: 80 % :alt: DHCPv6 relay example diff --git a/docs/configuration/service/snmp.rst b/docs/configuration/service/snmp.rst index b444ab85..6dc13240 100644 --- a/docs/configuration/service/snmp.rst +++ b/docs/configuration/service/snmp.rst @@ -56,7 +56,7 @@ managed devices. NMSs provide the bulk of the processing and memory resources required for network management. One or more NMSs may exist on any managed network. -.. figure:: /_static/images/service_snmp_communication_principles_diagram.png +.. figure:: /_static/images/service_snmp_communication_principles_diagram.* :scale: 20 % :alt: Principle of SNMP Communication -- cgit v1.2.3