This is a small plugin to register tutorials to be listed on the tutorial page plugin.
yarn add @iota-wiki/plugin-tutorial
Then register any tutorials to list on the tutorial page by providing information like the titles, routes and metadata of the tutorials:
plugins: [
[
'@iota-wiki/plugin-tutorial',
{
title: "EVM Tutorial",
description:
"In this tutorial, you will learn how to use the EVM in IOTA.",
route: "evm-tutorial/intro",
tags: ["text"],
source: "https://github.com/dr-electron/tutorial-template", // Optional
preview: "evm-tutorial.png", // Optional
},
],
...
...
Clone the repository, install dependencies and build the plugins:
git clone https://github.com/iota-wiki/plugin-tutorial.git && cd plugin-tutorial && yarn && yarn build
Then start the Docusaurs project contained in the test directory:
yarn workspace test start