From 3b3740756f77e324b0de8097f42370ecc3dc0acc Mon Sep 17 00:00:00 2001
From: TrofimovAnton85 <98453427+TrofimovAnton85@users.noreply.github.com>
Date: Fri, 25 Oct 2024 11:44:44 +0200
Subject: [PATCH] feat(linea): updated net_ & web3_ reference pages (#1670)
---
.../linea/json-rpc-methods/net_listening.mdx | 43 ++++---------------
.../linea/json-rpc-methods/net_peercount.mdx | 43 ++++---------------
.../json-rpc-methods/web3_clientversion.mdx | 43 ++++---------------
3 files changed, 24 insertions(+), 105 deletions(-)
diff --git a/services/reference/linea/json-rpc-methods/net_listening.mdx b/services/reference/linea/json-rpc-methods/net_listening.mdx
index b10ffc556cf..35e0aa297dc 100644
--- a/services/reference/linea/json-rpc-methods/net_listening.mdx
+++ b/services/reference/linea/json-rpc-methods/net_listening.mdx
@@ -1,40 +1,13 @@
---
title: "net_listening"
+hide_title: true
+hide_table_of_contents: true
---
-import Tabs from "@theme/Tabs"
-import TabItem from "@theme/TabItem"
+import ParserOpenRPC from "@site/src/components/ParserOpenRPC"
+import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc"
-import Description from "/services/reference/_partials/_net_listening-description.mdx"
-
-
-
-## Parameters
-
-import Params from "/services/reference/_partials/_net_listening-parameters.mdx"
-
-
-
-## Returns
-
-import Returns from "/services/reference/_partials/_net_listening-returns.mdx"
-
-
-
-## Example
-
-import Example from "/services/reference/_partials/_net_listening-example.mdx"
-
-
-
-### Request
-
-import Request from "./_net_listening-request.mdx"
-
-
-
-### Response
-
-import Response from "/services/reference/_partials/_net_listening-response.mdx"
-
-
+
diff --git a/services/reference/linea/json-rpc-methods/net_peercount.mdx b/services/reference/linea/json-rpc-methods/net_peercount.mdx
index c0246b44d39..1f71b007232 100644
--- a/services/reference/linea/json-rpc-methods/net_peercount.mdx
+++ b/services/reference/linea/json-rpc-methods/net_peercount.mdx
@@ -1,40 +1,13 @@
---
title: "net_peerCount"
+hide_title: true
+hide_table_of_contents: true
---
-import Tabs from "@theme/Tabs"
-import TabItem from "@theme/TabItem"
+import ParserOpenRPC from "@site/src/components/ParserOpenRPC"
+import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc"
-import Description from "/services/reference/_partials/_net_peercount-description.mdx"
-
-
-
-## Parameters
-
-import Params from "/services/reference/_partials/_net_peercount-parameters.mdx"
-
-
-
-## Returns
-
-import Returns from "/services/reference/_partials/_net_peercount-returns.mdx"
-
-
-
-## Example
-
-import Example from "/services/reference/_partials/_net_peercount-example.mdx"
-
-
-
-### Request
-
-import Request from "./_net_peercount-request.mdx"
-
-
-
-### Response
-
-import Response from "/services/reference/_partials/_net_peercount-response.mdx"
-
-
+
diff --git a/services/reference/linea/json-rpc-methods/web3_clientversion.mdx b/services/reference/linea/json-rpc-methods/web3_clientversion.mdx
index c5ee316d699..dab3317b16d 100644
--- a/services/reference/linea/json-rpc-methods/web3_clientversion.mdx
+++ b/services/reference/linea/json-rpc-methods/web3_clientversion.mdx
@@ -1,40 +1,13 @@
---
title: "web3_clientVersion"
+hide_title: true
+hide_table_of_contents: true
---
-import Tabs from "@theme/Tabs"
-import TabItem from "@theme/TabItem"
+import ParserOpenRPC from "@site/src/components/ParserOpenRPC"
+import { NETWORK_NAMES } from "@site/src/plugins/plugin-json-rpc"
-import Description from "/services/reference/_partials/_web3_clientversion-description.mdx"
-
-
-
-## Parameters
-
-import Params from "/services/reference/_partials/_web3_clientversion-parameters.mdx"
-
-
-
-## Returns
-
-import Returns from "/services/reference/_partials/_web3_clientversion-returns.mdx"
-
-
-
-## Example
-
-import Example from "/services/reference/_partials/_web3_clientversion-example.mdx"
-
-
-
-### Request
-
-import Request from "./_web3_clientversion-request.mdx"
-
-
-
-### Response
-
-import Response from "/services/reference/_partials/_web3_clientversion-response.mdx"
-
-
+
\ No newline at end of file