From 543358b2629f1d42448a1ec62a84390aa98ea60e Mon Sep 17 00:00:00 2001 From: Tanguy Date: Fri, 2 Sep 2022 10:09:12 +0200 Subject: [PATCH] Remove unused code --- libp2p.nimble | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libp2p.nimble b/libp2p.nimble index f17495cd6..fb2ef486c 100644 --- a/libp2p.nimble +++ b/libp2p.nimble @@ -93,23 +93,6 @@ task examples_build, "Build the samples": buildTutorial("examples/tutorial_1_connect.md") buildTutorial("examples/tutorial_2_customproto.md") -proc tutorialToHtml(source, output: string) = - var html = gorge("./nimbledeps/bin/markdown < " & source) - html &= """ - - - - - - """ - writeFile(output, html) - - -task markdown_to_html, "Build the tutorials HTML": - exec "nimble install -y markdown" - tutorialToHtml("examples/tutorial_1_connect.md", "tuto1.html") - tutorialToHtml("examples/tutorial_2_customproto.md", "tuto2.html") - # pin system # while nimble lockfile # isn't available