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/interfaces/bonding.rst | 2 +- docs/configuration/interfaces/openvpn-examples.rst | 2 +- docs/configuration/interfaces/wireguard.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/configuration/interfaces') diff --git a/docs/configuration/interfaces/bonding.rst b/docs/configuration/interfaces/bonding.rst index e0a374c3..187720a9 100644 --- a/docs/configuration/interfaces/bonding.rst +++ b/docs/configuration/interfaces/bonding.rst @@ -536,7 +536,7 @@ between the two devices. Let's assume the following topology: -.. figure:: /_static/images/vyos_arista_bond_lacp.png +.. figure:: /_static/images/vyos_arista_bond_lacp.* :alt: VyOS Arista EOS setup **R1** diff --git a/docs/configuration/interfaces/openvpn-examples.rst b/docs/configuration/interfaces/openvpn-examples.rst index 46409975..bba04d9c 100644 --- a/docs/configuration/interfaces/openvpn-examples.rst +++ b/docs/configuration/interfaces/openvpn-examples.rst @@ -34,7 +34,7 @@ In both cases, we will use the following settings: router has a dynamic IP address. -.. figure:: /_static/images/openvpn_site2site_diagram.jpg +.. figure:: /_static/images/openvpn_site2site_diagram.* Set up site-to-site certificates -------------------------------- diff --git a/docs/configuration/interfaces/wireguard.rst b/docs/configuration/interfaces/wireguard.rst index 1f7c875f..e66b0fb8 100644 --- a/docs/configuration/interfaces/wireguard.rst +++ b/docs/configuration/interfaces/wireguard.rst @@ -16,7 +16,7 @@ Site-to-site VPN The following diagram illustrates a site-to-site VPN setup. -.. figure:: /_static/images/wireguard_site2site_diagram.jpg +.. figure:: /_static/images/wireguard_site2site_diagram.* ******** Keypairs @@ -425,7 +425,7 @@ simplify deployment, generate a per-mobile configuration from the VyOS CLI. to. The address parameter can be used twice to assign both an IPv4 (/32) and an IPv6 (/128) address to the client. - .. figure:: /_static/images/wireguard_qrcode.jpg + .. figure:: /_static/images/wireguard_qrcode.* :alt: WireGuard Client QR code .. stop_vyoslinter -- cgit v1.2.3