From 85c8a7c0d8aa1f8c93568a265f4dd1a0315bcd56 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Mon, 1 Jul 2024 12:38:31 -0400 Subject: [PATCH 1/2] Docs: Replace Gio.MenuModel diagram with SVG Recreate the `menu-model.png` diagram in SVG, with box outlines and connectors recolored from black to white. This will allow the diagram to show up better in the dark documentation theme. --- docs/reference/gio/gio.toml.in | 2 +- docs/reference/gio/menu-model.png | Bin 20647 -> 0 bytes docs/reference/gio/menu-model.svg | 467 ++++++++++++++++++++++++++++++ gio/gmenumodel.c | 2 +- 4 files changed, 469 insertions(+), 2 deletions(-) delete mode 100644 docs/reference/gio/menu-model.png create mode 100644 docs/reference/gio/menu-model.svg diff --git a/docs/reference/gio/gio.toml.in b/docs/reference/gio/gio.toml.in index d9c8a8362..639bfd4c2 100644 --- a/docs/reference/gio/gio.toml.in +++ b/docs/reference/gio/gio.toml.in @@ -67,5 +67,5 @@ content_files = [ content_images = [ "gvfs-overview.png", "menu-example.png", - "menu-model.png", + "menu-model.svg", ] diff --git a/docs/reference/gio/menu-model.png b/docs/reference/gio/menu-model.png deleted file mode 100644 index a4d9f113012af59808f192a0b2cbc2bc6da4ce9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20647 zcmZ5|bzD^67wsS_A|28p(v5V3bR)vhA>AO|CEX&@rGs>Lhje#$NJ)3YJAB{o{qy*I zkinUI&$;*Rv-jF-twZQX1xb|G1g{|w2#U0n*e3|&*#vl9{OTq67Y8ZX8~k|gAR?{u z3VeCKG715|BYu(6aDYJ2G@icU)I!t2Q4oAbadk&!TN6hYeS2ewi;D}Bxs9cRq5c0w;%0AdYUT(L6@B}`(b3-Az{%0v)`n5p3>^Bw%G}cUt(l|a z7hYy&LwjR=M{{RmLtATWTN{U`GcjA48yed<7&|Z`aBifQEc8WpCv;z~c>i7T;(%!f&2 z^86a#5h)}NMmPRN)2AY?v`H6cu>Vo)%_ry^DAY7J|E8$Q5JMznw@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0 --- /dev/null +++ b/docs/reference/gio/menu-model.svg @@ -0,0 +1,467 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + File + Help + View + Edit + + + + + + + + + + + + + + Highlight Mode + Vala + Python + asciidoc + HTML + Toolbar + Fullscreen + Statusbar + Markup + Sources + + + + + + + + + + + diff --git a/gio/gmenumodel.c b/gio/gmenumodel.c index 77c4dadca..0669acef8 100644 --- a/gio/gmenumodel.c +++ b/gio/gmenumodel.c @@ -69,7 +69,7 @@ * * ## A menu example * - * ![](menu-model.png) + * ![](menu-model.svg) * * Notice that the separators visible in the [example](#an-example-menu) * appear nowhere in the [menu model](#a-menu-example). This is because From f4d944119cd5e7d364cf82d994ffe285029bed63 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Mon, 1 Jul 2024 14:42:36 -0400 Subject: [PATCH 2/2] Menu model example: Update diagram - Add licensing tags - Tweak spacing, colors, line thicknesses - Create light-mode version - Use `` tag to include appropriate version for each media color scheme. --- docs/reference/gio/gio.toml.in | 3 +- .../{menu-model.svg => menu-model-dark.svg} | 194 ++++---- docs/reference/gio/menu-model-light.svg | 453 ++++++++++++++++++ gio/gmenumodel.c | 5 +- 4 files changed, 549 insertions(+), 106 deletions(-) rename docs/reference/gio/{menu-model.svg => menu-model-dark.svg} (63%) create mode 100644 docs/reference/gio/menu-model-light.svg diff --git a/docs/reference/gio/gio.toml.in b/docs/reference/gio/gio.toml.in index 639bfd4c2..cd62a1691 100644 --- a/docs/reference/gio/gio.toml.in +++ b/docs/reference/gio/gio.toml.in @@ -67,5 +67,6 @@ content_files = [ content_images = [ "gvfs-overview.png", "menu-example.png", - "menu-model.svg", + "menu-model-dark.svg", + "menu-model-light.svg", ] diff --git a/docs/reference/gio/menu-model.svg b/docs/reference/gio/menu-model-dark.svg similarity index 63% rename from docs/reference/gio/menu-model.svg rename to docs/reference/gio/menu-model-dark.svg index 05c6970d0..b08ceea6b 100644 --- a/docs/reference/gio/menu-model.svg +++ b/docs/reference/gio/menu-model-dark.svg @@ -1,4 +1,10 @@ + + - - - + width="122.32765" + height="18.015102" + x="3.7895689" + y="4.1460066" /> + width="122.32765" + height="18.015102" + x="3.7895689" + y="66.008728" /> + width="122.32765" + height="18.015102" + x="3.7895689" + y="45.628914" /> + width="122.32765" + height="18.015102" + x="3.7895689" + y="24.918364" /> File Help View Edit + width="121.0194" + height="17.019403" + x="598.49023" + y="151.49031" /> + width="121.0194" + height="17.019402" + x="598.4903" + y="72.982552" /> + width="121.0194" + height="17.019402" + x="598.4903" + y="93.490295" /> + width="121.01934" + height="17.019402" + x="598.49036" + y="131.4903" /> Highlight Mode Vala Python asciidoc HTML Toolbar Fullscreen Statusbar Markup diff --git a/docs/reference/gio/menu-model-light.svg b/docs/reference/gio/menu-model-light.svg new file mode 100644 index 000000000..3200c02f9 --- /dev/null +++ b/docs/reference/gio/menu-model-light.svg @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + File + Help + View + Edit + + + + + + + + + + + + + + Highlight Mode + Vala + Python + asciidoc + HTML + Toolbar + Fullscreen + Statusbar + Markup + Sources + + + + + + + + + + + diff --git a/gio/gmenumodel.c b/gio/gmenumodel.c index 0669acef8..2dd5daa0f 100644 --- a/gio/gmenumodel.c +++ b/gio/gmenumodel.c @@ -69,7 +69,10 @@ * * ## A menu example * - * ![](menu-model.svg) + * + * + * menu model + * * * Notice that the separators visible in the [example](#an-example-menu) * appear nowhere in the [menu model](#a-menu-example). This is because