From d2d7e25ba35d6690aa80b4b673bedaed469b0b6c Mon Sep 17 00:00:00 2001 From: hannah Date: Mon, 6 Nov 2023 17:55:41 -0500 Subject: [PATCH 1/2] added rest of licenses to license page Co-authored-by: Elliott Sales de Andrade --- doc/users/project/license.rst | 74 ++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/doc/users/project/license.rst b/doc/users/project/license.rst index a55927d9f2c5..102edcb63da8 100644 --- a/doc/users/project/license.rst +++ b/doc/users/project/license.rst @@ -46,5 +46,75 @@ control logs. License agreement ================= -.. literalinclude:: ../../../LICENSE/LICENSE - :language: none +.. dropdown:: License agreement for Matplotlib versions 1.3.0 and later + :open: + + .. literalinclude:: ../../../LICENSE/LICENSE + :language: none + + + +Bundled software +================ + +.. dropdown:: JSX Tools Resize Observer + + .. literalinclude:: ../../../LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER + :language: none + +.. dropdown:: QT4 Editor + + .. literalinclude:: ../../../LICENSE/LICENSE_QT4_EDITOR + :language: none + + +.. _licenses-cmaps-styles: + +Colormaps and themes +-------------------- + +.. dropdown:: ColorBrewer + + .. literalinclude:: ../../../LICENSE/LICENSE_COLORBREWER + :language: none + +.. dropdown:: Solarized + + .. literalinclude:: ../../../LICENSE/LICENSE_SOLARIZED + :language: none + +.. dropdown:: Yorick + + .. literalinclude:: ../../../LICENSE/LICENSE_YORICK + :language: none + + +.. _licenses-fonts: + +Fonts +----- + +.. dropdown:: American Mathematical Society (AMS) fonts + + .. literalinclude:: ../../../LICENSE/LICENSE_AMSFONTS + :language: none + +.. dropdown:: BaKoMa + + .. literalinclude:: ../../../LICENSE/LICENSE_BAKOMA + :language: none + +.. dropdown:: Carlogo + + .. literalinclude:: ../../../LICENSE/LICENSE_CARLOGO + :language: none + +.. dropdown:: Courier 10 + + .. literalinclude:: ../../../LICENSE/LICENSE_COURIERTEN + :language: none + +.. dropdown:: STIX + + .. literalinclude:: ../../../LICENSE/LICENSE_STIX + :language: none From 545d6daaa99bef1a65132aadd73f381b7ffc93db Mon Sep 17 00:00:00 2001 From: hannah Date: Mon, 6 Nov 2023 21:42:53 -0500 Subject: [PATCH 2/2] styling dropdown --- doc/_static/mpl.css | 19 +++++++++++++++++++ doc/users/project/license.rst | 11 +++++++++++ 2 files changed, 30 insertions(+) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index 5ed418cb06c7..6f17005a810b 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -185,3 +185,22 @@ div.wide-table table th.stub { .checklist li p { display: inline; } + +.sdd.sd-dropdown { + box-shadow: none!important; +} + +.sdd.sd-dropdown.sd-card{ + border-style: solid !important; + border-color: var(--pst-color-border) !important; + border-width: thin !important; + border-radius: .05 +} + +.sdd.sd-dropdown .sd-card-header{ + --pst-sd-dropdown-color: none; +} + +.sdd.sd-dropdown .sd-card-header +.sd-card-body{ + --pst-sd-dropdown-color: none; +} diff --git a/doc/users/project/license.rst b/doc/users/project/license.rst index 102edcb63da8..3f9c1e30531b 100644 --- a/doc/users/project/license.rst +++ b/doc/users/project/license.rst @@ -48,6 +48,7 @@ License agreement .. dropdown:: License agreement for Matplotlib versions 1.3.0 and later :open: + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE :language: none @@ -58,11 +59,13 @@ Bundled software ================ .. dropdown:: JSX Tools Resize Observer + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_JSXTOOLS_RESIZE_OBSERVER :language: none .. dropdown:: QT4 Editor + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_QT4_EDITOR :language: none @@ -74,16 +77,19 @@ Colormaps and themes -------------------- .. dropdown:: ColorBrewer + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_COLORBREWER :language: none .. dropdown:: Solarized + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_SOLARIZED :language: none .. dropdown:: Yorick + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_YORICK :language: none @@ -95,26 +101,31 @@ Fonts ----- .. dropdown:: American Mathematical Society (AMS) fonts + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_AMSFONTS :language: none .. dropdown:: BaKoMa + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_BAKOMA :language: none .. dropdown:: Carlogo + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_CARLOGO :language: none .. dropdown:: Courier 10 + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_COURIERTEN :language: none .. dropdown:: STIX + :class-container: sdd .. literalinclude:: ../../../LICENSE/LICENSE_STIX :language: none