diff --git a/packages/apps/docs/src/pages/docs/__tests/chainweb/index.md b/packages/apps/docs/src/pages/docs/__tests/chainweb/index.md
deleted file mode 100644
index f44bbc7270..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/chainweb/index.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-title: Chainweb
-subTitle: The safest, most user-friendly language for smart contracts
-menu: Chainweb
-label: Introduction
-order: 3
-description: How to get started
-layout: landing
-icon: SmartContract
----
-
-## chain 1
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
-## Kadena 2
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/chainweb/tutorial/index.md b/packages/apps/docs/src/pages/docs/__tests/chainweb/tutorial/index.md
deleted file mode 100644
index a44037e7cb..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/chainweb/tutorial/index.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-title: Chainweb Tutorial
-menu: Tutorial
-label: Chainweb Tutorial
-order: 3
-description: How to get started
-layout: landing
----
-
-## chain 1
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
-## Kadena 2
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/index.tsx b/packages/apps/docs/src/pages/docs/__tests/index.tsx
deleted file mode 100644
index dbbb3ba9dc..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/index.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import { Stack } from '@kadena/react-ui';
-
-import {
- checkSubTreeForActive,
- getPathName,
-} from '@/utils/staticGeneration/checkSubTreeForActive.mjs';
-import { GetStaticProps } from 'next';
-import React, { FC } from 'react';
-
-const Home: FC = () => {
- return (
-
- Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie
- roll. Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé.
- Lollipop toffee ice cream jujubes cookie sugar plum croissant. Cookie
- toffee chocolate ice cream apple pie. Brownie gummies cupcake halvah sweet
- roll macaroon soufflé. Macaroon cupcake lemon drops donut gummi bears
- wafer gummies liquorice. Pie oat cake donut biscuit sugar plum chocolate
- lemon drops oat cake. Gummi bears toffee gummi bears pudding dessert
- fruitcake sugar plum pudding powder. Donut marzipan jelly beans candy
- canes toffee. Sweet toffee powder oat cake marzipan pie gummi bears.
- Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
- icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon
- drops. Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
- );
-};
-
-export const getStaticProps: GetStaticProps = async (context, ...args) => {
- return {
- props: {
- leftMenuTree: checkSubTreeForActive(getPathName(__filename)),
- frontmatter: {
- title: 'Pact',
- menu: 'Test',
- label: 'Pact Test',
- order: 99,
- description: 'Home page',
- layout: 'landing',
- icon: 'PactLanguage',
- },
- },
- };
-};
-
-export default Home;
diff --git a/packages/apps/docs/src/pages/docs/__tests/kadenajs/index.md b/packages/apps/docs/src/pages/docs/__tests/kadenajs/index.md
deleted file mode 100644
index 9644094e5a..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/kadenajs/index.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-title: KadenaJS
-menu: KadenaJS
-label: Introduction
-order: 1
-description: How to get started
-layout: landing
----
-
-## Kadena 1
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
-## Kadena 2
-
-Cookie dragée bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/atom.tsx b/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/atom.tsx
deleted file mode 100644
index 2b15f93a85..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/atom.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import {
- checkSubTreeForActive,
- getPathName,
-} from '@/utils/staticGeneration/checkSubTreeForActive.mjs';
-import { GetStaticProps } from 'next';
-import React, { FC } from 'react';
-
-const Page: FC = () => {
- return (
-
- Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie
- roll. Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé.
- Lollipop toffee ice cream jujubes cookie sugar plum croissant. Cookie
- toffee chocolate ice cream apple pie. Brownie gummies cupcake halvah sweet
- roll macaroon soufflé. Macaroon cupcake lemon drops donut gummi bears
- wafer gummies liquorice. Pie oat cake donut biscuit sugar plum chocolate
- lemon drops oat cake. Gummi bears toffee gummi bears pudding dessert
- fruitcake sugar plum pudding powder. Donut marzipan jelly beans candy
- canes toffee. Sweet toffee powder oat cake marzipan pie gummi bears.
- Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
- icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon
- drops. Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
- );
-};
-
-export const getStaticProps: GetStaticProps = async (context, ...args) => {
- return {
- props: {
- leftMenuTree: checkSubTreeForActive(getPathName(__filename)),
- frontmatter: {
- title: 'Pact',
- menu: 'Pact Test it',
- label: 'Pact Test',
- order: 1,
- description: 'How to get started',
- layout: 'code',
- },
- },
- };
-};
-
-export default Page;
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/index.md b/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/index.md
deleted file mode 100644
index 4dc2c279db..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/atom-sdk/index.md
+++ /dev/null
@@ -1,32 +0,0 @@
----
-title: Welcome to pact
-menu: Atom SDK
-label: Quickstart
-order: 5
-description: How to get started
-layout: full
----
-
-## Section 1
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-
-## Section 2
-
-Halvah carrot cake cheesecake biscuit powder toffee fruitcake. Marshmallow jelly
-
-### Section 2.1
-
-Tootsie roll bear claw muffin donut jujubes gummi bears danish chocolate bar.
-
-### Section 2.2
-
-Lollipop cookie chocolate chocolate gummi bears. Jujubes powder gummi bears
-
-#### Section 2.2.1
-
-Lollipop cookie chocolate chocolate gummi bears. Jujubes powder gummi bears
-
-## Section 3
-
-Powder biscuit fruitcake shortbread topping candy cheesecake. Chupa chups wafer
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/index.md b/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/index.md
deleted file mode 100644
index 0f9e629793..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/index.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: Welcome to pact
-menu: Build-in Functions
-label: General buildin
-order: 5
-description: How to get started
-layout: full
----
-
-## Next thing
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/tutorial/index.md b/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/tutorial/index.md
deleted file mode 100644
index 4951ca5b56..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/basics/build-in-functions/tutorial/index.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: Pact tutorial
-menu: Pact tutorial
-label: Tutorial
-order: 0
-description: How to get started
-layout: full
----
-
-## Next thing
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/basics/index.md b/packages/apps/docs/src/pages/docs/__tests/pact/basics/index.md
deleted file mode 100644
index abe1a8810c..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/basics/index.md
+++ /dev/null
@@ -1,22 +0,0 @@
----
-title: Welcome to pact
-menu: Basics
-label: General
-order: 5
-description: How to get started
-layout: full
----
-
-## Next thing
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/how-does-it-work.md b/packages/apps/docs/src/pages/docs/__tests/pact/how-does-it-work.md
deleted file mode 100644
index bbb59719ae..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/how-does-it-work.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-title: But how does it work
-menu: But how does it work
-label: but how?
-order: 5
-description: How to get started
-layout: code
----
-
-## More sections Section
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
-### Section 1.1
-
-Tootsie roll bear claw muffin donut jujubes gummi bears danish chocolate bar.
-Chocolate dragée gingerbread cake sweet bonbon. Biscuit jujubes gummi bears
-apple pie sugar plum brownie chupa chups. Bonbon ice cream shortbread caramels
-liquorice. Jujubes marzipan topping oat cake jelly-o cake. Marshmallow lollipop
-bear claw cookie icing. Cookie marzipan wafer bonbon dragée cupcake oat cake
-candy canes. Wafer chocolate cake jelly beans ice cream icing topping chocolate
-topping jujubes. Donut soufflé gummies toffee cheesecake gingerbread jujubes
-cake. Chupa chups tart chocolate bar croissant soufflé. Candy canes cake jelly
-shortbread donut toffee topping wafer jujubes. Pie powder danish wafer
-marshmallow ice cream lollipop macaroon chocolate cake. Halvah jelly beans sugar
-plum bonbon tiramisu caramels. Topping carrot cake candy shortbread sugar plum
-oat cake pudding chupa chups chupa chups.
diff --git a/packages/apps/docs/src/pages/docs/__tests/pact/index.md b/packages/apps/docs/src/pages/docs/__tests/pact/index.md
deleted file mode 100644
index 0b3a6485f4..0000000000
--- a/packages/apps/docs/src/pages/docs/__tests/pact/index.md
+++ /dev/null
@@ -1,91 +0,0 @@
----
-title: Pact
-menu: Pact
-label: Introduction
-order: 1
-description: How to get started
-layout: full
-icon: PactLanguage
----
-
-## Section 1
-
-Cookie **dragée** bear claw ice cream jelly beans fruitcake danish tootsie roll.
-Donut pastry tiramisu sesame snaps donut tootsie roll candy soufflé. Lollipop
-toffee ice cream jujubes cookie sugar plum croissant. Cookie toffee chocolate
-ice cream apple pie. Brownie gummies cupcake halvah sweet roll macaroon soufflé.
-Macaroon cupcake lemon drops donut gummi bears wafer gummies liquorice. Pie oat
-cake donut biscuit sugar plum chocolate lemon drops oat cake. Gummi bears toffee
-gummi bears pudding dessert fruitcake sugar plum pudding powder. Donut marzipan
-jelly beans candy canes toffee. Sweet toffee powder oat cake marzipan pie gummi
-bears. Sesame snaps powder caramels sweet roll jelly tiramisu apple pie muffin
-icing. Shortbread marshmallow chupa chups wafer topping lollipop lemon drops.
-Pudding cheesecake cookie liquorice cake gingerbread tootsie roll.
-
-## Section 2
-
-Halvah carrot cake cheesecake biscuit powder toffee fruitcake. Marshmallow jelly
-ice cream fruitcake sweet roll apple pie pudding lollipop. Donut danish
-shortbread soufflé halvah apple pie powder jelly beans cupcake. Cookie tiramisu
-icing cheesecake jujubes soufflé ice cream donut. Ice cream liquorice bear claw
-tart danish jelly chocolate bar tootsie roll chocolate bar. Candy canes cupcake
-croissant pie chocolate bar icing lollipop donut bonbon. Biscuit jujubes jujubes
-tiramisu cupcake jelly-o. Fruitcake cheesecake sugar plum tootsie roll candy.
-Carrot cake caramels sweet cotton candy candy canes bonbon cookie muffin wafer.
-Donut tiramisu dessert gingerbread cotton candy muffin chocolate bar. Sweet
-donut cake dragée pie candy. Dragée gummies bear claw bonbon gingerbread powder.
-Cake caramels cake shortbread biscuit liquorice sweet roll macaroon.
-
-### Section 2.1
-
-Tootsie roll bear claw muffin donut jujubes gummi bears danish chocolate bar.
-Chocolate dragée gingerbread cake sweet bonbon. Biscuit jujubes gummi bears
-apple pie sugar plum brownie chupa chups. Bonbon ice cream shortbread caramels
-liquorice. Jujubes marzipan topping oat cake jelly-o cake. Marshmallow lollipop
-bear claw cookie icing. Cookie marzipan wafer bonbon dragée cupcake oat cake
-candy canes. Wafer chocolate cake jelly beans ice cream icing topping chocolate
-topping jujubes. Donut soufflé gummies toffee cheesecake gingerbread jujubes
-cake. Chupa chups tart chocolate bar croissant soufflé. Candy canes cake jelly
-shortbread donut toffee topping wafer jujubes. Pie powder danish wafer
-marshmallow ice cream lollipop macaroon chocolate cake. Halvah jelly beans sugar
-plum bonbon tiramisu caramels. Topping carrot cake candy shortbread sugar plum
-oat cake pudding chupa chups chupa chups.
-
-### Section 2.2
-
-Lollipop cookie chocolate chocolate gummi bears. Jujubes powder gummi bears
-macaroon bear claw tart. Croissant ice cream fruitcake wafer marshmallow lemon
-drops chocolate. Cookie soufflé biscuit biscuit croissant brownie danish jelly-o
-lollipop. Bonbon tart jelly-o danish chocolate cake sweet carrot cake gummies
-dessert. Pie dragée jujubes lollipop halvah. Apple pie lemon drops candy
-croissant cake macaroon lollipop. Jelly-o jelly beans chupa chups bear claw
-fruitcake chupa chups sweet. Candy canes tart wafer cheesecake soufflé powder
-cake pastry. Gingerbread sesame snaps sugar plum powder bear claw. Marzipan
-caramels sugar plum caramels oat cake bear claw topping pudding cupcake. Topping
-marzipan lollipop pie marzipan carrot cake muffin.
-
-#### Section 2.2.1
-
-Lollipop cookie chocolate chocolate gummi bears. Jujubes powder gummi bears
-macaroon bear claw tart. Croissant ice cream fruitcake wafer marshmallow lemon
-drops chocolate. Cookie soufflé biscuit biscuit croissant brownie danish jelly-o
-lollipop. Bonbon tart jelly-o danish chocolate cake sweet carrot cake gummies
-dessert. Pie dragée jujubes lollipop halvah. Apple pie lemon drops candy
-croissant cake macaroon lollipop. Jelly-o jelly beans chupa chups bear claw
-fruitcake chupa chups sweet. Candy canes tart wafer cheesecake soufflé powder
-cake pastry. Gingerbread sesame snaps sugar plum powder bear claw. Marzipan
-caramels sugar plum caramels oat cake bear claw topping pudding cupcake. Topping
-marzipan lollipop pie marzipan carrot cake muffin.
-
-## Section 3
-
-Powder biscuit fruitcake shortbread topping candy cheesecake. Chupa chups wafer
-cake candy cookie jelly pie sugar plum oat cake. Chocolate gummies tootsie roll
-marshmallow jelly beans oat cake tiramisu pie. Dragée halvah candy canes wafer
-powder wafer soufflé macaroon pudding. Icing marshmallow toffee jujubes cotton
-candy marshmallow. Croissant gummi bears biscuit jelly halvah lemon drops
-jelly-o toffee. Croissant gummies sugar plum bear claw jujubes gummi bears
-icing. Bear claw jelly beans carrot cake brownie gingerbread. Brownie macaroon
-tart fruitcake pie carrot cake pastry. Topping fruitcake sweet roll jelly
-marshmallow ice cream wafer. Pudding carrot cake lollipop cake powder tiramisu.
-Muffin cupcake brownie marzipan pie cotton candy.
diff --git a/packages/apps/docs/src/scripts/checkForHeaders.mjs b/packages/apps/docs/src/scripts/checkForHeaders.mjs
index 7bde3f02d2..224cb29c81 100644
--- a/packages/apps/docs/src/scripts/checkForHeaders.mjs
+++ b/packages/apps/docs/src/scripts/checkForHeaders.mjs
@@ -1,6 +1,7 @@
import fs from 'fs';
import path from 'path';
import { globby } from 'globby';
+import { importReadMes } from './utils.mjs';
const filesMissingHeaders = [];
@@ -14,12 +15,23 @@ const removeCodeBlocks = (content) => {
return content.replace(codeBlockRegex, '');
};
+const checkifImported = (file) => {
+ return importReadMes.find((item) => {
+ return file.includes(item.destination);
+ });
+};
+
const checkForHeaders = async (filePath, links) => {
const paths = await globby([`${ROOT}/**/*.md`]);
paths.forEach((item) => {
const file = fs.readFileSync(item, 'utf8');
+ //check if the item is generated;
+ if (checkifImported(item)) {
+ return;
+ }
+
const cleanContent = removeCodeBlocks(file);
const matches = [...cleanContent.matchAll(headerDepth1Regex)];
diff --git a/packages/apps/docs/src/scripts/importReadme.mjs b/packages/apps/docs/src/scripts/importReadme.mjs
index 1867cb7ffe..469e794f2b 100644
--- a/packages/apps/docs/src/scripts/importReadme.mjs
+++ b/packages/apps/docs/src/scripts/importReadme.mjs
@@ -3,6 +3,7 @@ import 'dotenv/config';
import { remark } from 'remark';
import { toMarkdown } from 'mdast-util-to-markdown';
import { toString } from 'mdast-util-to-string';
+import { importReadMes } from './utils.mjs';
const DOCSROOT = './src/pages/docs/';
@@ -215,218 +216,4 @@ const importAll = (imports) => {
});
};
-/**
- * Files to be imported
- */
-const imports = [
- /** /libs/chainweb-node-client */
- {
- file: 'libs/chainweb-node-client/README.md',
- destination: 'chainweb/node-client',
- title: 'Node Client',
- options: {
- RootOrder: 1,
- },
- },
- {
- file: 'libs/chainweb-node-client/etc/chainweb-node-client.api.md',
- destination: 'chainweb/node-client/api',
- title: 'Client Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /libs/chainweb-stream-client */
- {
- file: 'libs/chainweb-stream-client/README.md',
- destination: 'chainweb/stream-client',
- title: 'Stream Client',
- options: {
- RootOrder: 2,
- },
- },
- {
- file: 'libs/chainweb-stream-client/etc/chainweb-stream-client.api.md',
- destination: 'chainweb/stream-client/api',
- title: 'Stream Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /libs/chainwebjs */
- {
- file: 'libs/chainwebjs/README.md',
- destination: 'chainweb/js-bindings',
- title: 'JS bindings',
- options: {
- RootOrder: 3,
- },
- },
- {
- file: 'libs/chainwebjs/etc/chainwebjs.api.md',
- destination: 'chainweb/js-bindings/api',
- title: 'JS bindings API',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /libs/client */
- {
- file: 'libs/client/README.md',
- destination: 'kadena/client',
- title: 'Client',
- options: {
- RootOrder: 7,
- },
- },
- {
- file: 'libs/client/etc/client.api.md',
- destination: 'kadena/client/api',
- title: 'Client Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
-
- {
- file: 'libs/client-examples/README.md',
- destination: 'kadena/client-examples',
- title: 'Client examples',
- options: {
- RootOrder: 8,
- },
- },
-
- /** /libs/cryptography-utils */
- {
- file: 'libs/cryptography-utils/README.md',
- destination: 'build/tools/cryptography-utils',
- title: 'Cryptography-Utils',
- options: {
- RootOrder: 3,
- },
- },
- {
- file: 'libs/cryptography-utils/etc/cryptography-utils.api.md',
- destination: 'build/tools/cryptography-utils/api',
- title: 'Cryptography-Utils Api',
- options: {
- RootOrder: 98,
- hideEditLink: true,
- },
- },
- {
- file: 'libs/cryptography-utils/etc/crypto.api.md',
- destination: 'build/tools/cryptography-utils/crypto-api',
- title: 'Crypto Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /libs/kadena.js */
- {
- file: 'libs/kadena.js/README.md',
- destination: 'kadena/kadenajs',
- title: 'KadenaJS',
- options: {
- RootOrder: 6,
- },
- },
- /** /libs/pactjs */
- {
- file: 'libs/pactjs/README.md',
- destination: 'pact/pactjs',
- title: 'PactJS',
- options: {
- RootOrder: 6,
- },
- },
- {
- file: 'libs/pactjs/etc/pactjs.api.md',
- destination: 'pact/pactjs/api',
- title: 'PactJS Api',
- options: {
- RootOrder: 98,
- hideEditLink: true,
- },
- },
- {
- file: 'libs/pactjs/etc/pactjs-utils.api.md',
- destination: 'pact/pactjs/utils',
- title: 'PactJS Utils',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /libs/pactjs-generator */
- {
- file: 'libs/pactjs-generator/README.md',
- destination: 'pact/pactjs-generator',
- title: 'PactJS Generator',
- options: {
- RootOrder: 7,
- },
- },
- {
- file: 'libs/pactjs-generator/etc/pactjs-generator.api.md',
- destination: 'pact/pactjs-generator/api',
- title: 'PactJS Generator Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /tools/cookbook */
- {
- file: 'tools/cookbook/README.md',
- destination: 'build/cookbook/cookbook',
- title: 'JS Cookbook',
- options: {
- RootOrder: 2,
- },
- },
- /** /tools/kda-cli */
- {
- file: 'tools/kda-cli/README.md',
- destination: 'build/tools/kda-cli',
- title: 'KDA CLI',
- options: {
- RootOrder: 3,
- },
- },
- {
- file: 'tools/kda-cli/etc/kda-cli.api.md',
- destination: 'build/tools/kda-cli/api',
- title: 'KDA CLI Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
- /** /tools/pactjs-cli */
- {
- file: 'tools/pactjs-cli/README.md',
- destination: 'pact/cli',
- title: 'CLI tool',
- options: {
- RootOrder: 6,
- },
- },
- {
- file: 'tools/pactjs-cli/etc/pactjs-cli.api.md',
- destination: 'pact/cli/api',
- title: 'CLI tool Api',
- options: {
- RootOrder: 99,
- hideEditLink: true,
- },
- },
-];
-
-importAll(imports);
+importAll(importReadMes);
diff --git a/packages/apps/docs/src/scripts/utils.mjs b/packages/apps/docs/src/scripts/utils.mjs
index 7c0f80bea3..818dfe316e 100644
--- a/packages/apps/docs/src/scripts/utils.mjs
+++ b/packages/apps/docs/src/scripts/utils.mjs
@@ -10,3 +10,217 @@ export const getReadTime = (content) => {
return result;
};
+
+/**
+ * Files to be imported
+ */
+export const importReadMes = [
+ /** /libs/chainweb-node-client */
+ {
+ file: 'libs/chainweb-node-client/README.md',
+ destination: 'chainweb/node-client',
+ title: 'Node Client',
+ options: {
+ RootOrder: 1,
+ },
+ },
+ {
+ file: 'libs/chainweb-node-client/etc/chainweb-node-client.api.md',
+ destination: 'chainweb/node-client/api',
+ title: 'Client Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /libs/chainweb-stream-client */
+ {
+ file: 'libs/chainweb-stream-client/README.md',
+ destination: 'chainweb/stream-client',
+ title: 'Stream Client',
+ options: {
+ RootOrder: 2,
+ },
+ },
+ {
+ file: 'libs/chainweb-stream-client/etc/chainweb-stream-client.api.md',
+ destination: 'chainweb/stream-client/api',
+ title: 'Stream Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /libs/chainwebjs */
+ {
+ file: 'libs/chainwebjs/README.md',
+ destination: 'chainweb/js-bindings',
+ title: 'JS bindings',
+ options: {
+ RootOrder: 3,
+ },
+ },
+ {
+ file: 'libs/chainwebjs/etc/chainwebjs.api.md',
+ destination: 'chainweb/js-bindings/api',
+ title: 'JS bindings API',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /libs/client */
+ {
+ file: 'libs/client/README.md',
+ destination: 'kadena/client',
+ title: 'Client',
+ options: {
+ RootOrder: 7,
+ },
+ },
+ {
+ file: 'libs/client/etc/client.api.md',
+ destination: 'kadena/client/api',
+ title: 'Client Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+
+ {
+ file: 'libs/client-examples/README.md',
+ destination: 'kadena/client-examples',
+ title: 'Client examples',
+ options: {
+ RootOrder: 8,
+ },
+ },
+
+ /** /libs/cryptography-utils */
+ {
+ file: 'libs/cryptography-utils/README.md',
+ destination: 'build/tools/cryptography-utils',
+ title: 'Cryptography-Utils',
+ options: {
+ RootOrder: 3,
+ },
+ },
+ {
+ file: 'libs/cryptography-utils/etc/cryptography-utils.api.md',
+ destination: 'build/tools/cryptography-utils/api',
+ title: 'Cryptography-Utils Api',
+ options: {
+ RootOrder: 98,
+ hideEditLink: true,
+ },
+ },
+ {
+ file: 'libs/cryptography-utils/etc/crypto.api.md',
+ destination: 'build/tools/cryptography-utils/crypto-api',
+ title: 'Crypto Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /libs/kadena.js */
+ {
+ file: 'libs/kadena.js/README.md',
+ destination: 'kadena/kadenajs',
+ title: 'KadenaJS',
+ options: {
+ RootOrder: 6,
+ },
+ },
+ /** /libs/pactjs */
+ {
+ file: 'libs/pactjs/README.md',
+ destination: 'pact/pactjs',
+ title: 'PactJS',
+ options: {
+ RootOrder: 6,
+ },
+ },
+ {
+ file: 'libs/pactjs/etc/pactjs.api.md',
+ destination: 'pact/pactjs/api',
+ title: 'PactJS Api',
+ options: {
+ RootOrder: 98,
+ hideEditLink: true,
+ },
+ },
+ {
+ file: 'libs/pactjs/etc/pactjs-utils.api.md',
+ destination: 'pact/pactjs/utils',
+ title: 'PactJS Utils',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /libs/pactjs-generator */
+ {
+ file: 'libs/pactjs-generator/README.md',
+ destination: 'pact/pactjs-generator',
+ title: 'PactJS Generator',
+ options: {
+ RootOrder: 7,
+ },
+ },
+ {
+ file: 'libs/pactjs-generator/etc/pactjs-generator.api.md',
+ destination: 'pact/pactjs-generator/api',
+ title: 'PactJS Generator Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /tools/cookbook */
+ {
+ file: 'tools/cookbook/README.md',
+ destination: 'build/cookbook/cookbook',
+ title: 'JS Cookbook',
+ options: {
+ RootOrder: 2,
+ },
+ },
+ /** /tools/kda-cli */
+ {
+ file: 'tools/kda-cli/README.md',
+ destination: 'build/tools/kda-cli',
+ title: 'KDA CLI',
+ options: {
+ RootOrder: 3,
+ },
+ },
+ {
+ file: 'tools/kda-cli/etc/kda-cli.api.md',
+ destination: 'build/tools/kda-cli/api',
+ title: 'KDA CLI Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+ /** /tools/pactjs-cli */
+ {
+ file: 'tools/pactjs-cli/README.md',
+ destination: 'pact/cli',
+ title: 'CLI tool',
+ options: {
+ RootOrder: 6,
+ },
+ },
+ {
+ file: 'tools/pactjs-cli/etc/pactjs-cli.api.md',
+ destination: 'pact/cli/api',
+ title: 'CLI tool Api',
+ options: {
+ RootOrder: 99,
+ hideEditLink: true,
+ },
+ },
+];