From a9e3b64cfd5591f016bfa93c8fd37df4970ba7d5 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 30 Oct 2023 16:25:10 -0500 Subject: [PATCH] Configure Sphinx theme and RST figures to display SVG full-screen width --- doc/conf.py | 4 +++- doc/src/er_diagrams/demography.m4 | 1 + doc/src/er_diagrams/key.m4 | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index f7516a8..2ad9c12 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -69,7 +69,9 @@ html_theme_options = { 'show_related': True, 'show_relbars': True, 'sidebar_collapse': False, - } + 'body_max_width': 'none', + 'page_width': '100%', + } # Do not provide RST source html_copy_source = False diff --git a/doc/src/er_diagrams/demography.m4 b/doc/src/er_diagrams/demography.m4 index fb03610..31fe279 100644 --- a/doc/src/er_diagrams/demography.m4 +++ b/doc/src/er_diagrams/demography.m4 @@ -25,5 +25,6 @@ Demography .. figure:: sdb_er_image_path(images/demography) :alt: Demography Entity-Relationship Diagram + :width: 100 % Demography diff --git a/doc/src/er_diagrams/key.m4 b/doc/src/er_diagrams/key.m4 index 8f29d62..3285fc0 100644 --- a/doc/src/er_diagrams/key.m4 +++ b/doc/src/er_diagrams/key.m4 @@ -25,5 +25,6 @@ Key .. figure:: sdb_er_image_path(images/key) :alt: Key to symbols used on the entity relationship diagrams + :width: 100 % Key to the Entity Relationship Diagrams -- 2.34.1