Skip to content

Commit 904d3c4

Browse files
committed
Try adding exporter logo
1 parent 6605324 commit 904d3c4

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎modules/exporters/nbconvert/default.nix‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ let
1919
inherit name extension;
2020
display_name = displayName;
2121
meta = nbconvert.meta;
22-
icon = null;
22+
icon = ./jupyter.svg;
23+
iconMonochrome = ./jupyter.svg;
2324
} "export" ''
2425
echo_and_run() { echo "$*" ; "$@" ; }
2526
echo_and_run export PATH="''${PATH:+''${PATH}:}${pandoc}/bin:${texliveScheme}/bin"
@@ -55,9 +56,6 @@ symlinkJoin {
5556
name = "nbconvert-exporters";
5657
description = "CodeDown exporters for PDF, HTML, LaTeX, slides, etc.";
5758

58-
icon = ../../../codedown.png;
59-
iconMonochrome = ../../../codedown-monochrome.svg;
60-
6159
# To separate these out in search results
6260
category = "Exporters";
6361

@@ -67,6 +65,7 @@ symlinkJoin {
6765
extension = x.extension;
6866
meta = x.meta;
6967
icon = x.icon;
68+
iconMonochrome = x.iconMonochrome;
7069
args = [(x + "/bin/export")];
7170
inputs = ["ipynb"];
7271
}) exporters;
Lines changed: 1 addition & 0 deletions
Loading

‎tests/src/TestLib/Exporters.hs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ data ExporterInfo = ExporterInfo {
1515
exporterInfoName :: Text
1616
, exporterInfoDisplayName :: Text
1717
, exporterInfoIcon :: Maybe Text
18+
, exporterInfoIconMonochrome :: Maybe Text
1819
, exporterInfoArgs :: [Text]
1920
, exporterInfoExtension :: Text
2021
} deriving (Show, Eq)

0 commit comments

Comments
 (0)