From ad0e24878f1c1bf47eff4958fbbb14532eda3526 Mon Sep 17 00:00:00 2001
From: Influenzo <52459025+vasylcode@users.noreply.github.com>
Date: Fri, 8 Sep 2023 20:49:47 -0600
Subject: [PATCH] config upd
---
docs/zetachain/setup.md | 17 ---
docs/zetachain/upgrade.md | 13 --
docusaurus.config.js | 124 +++++++++---------
.../current/intro.md | 23 ----
4 files changed, 61 insertions(+), 116 deletions(-)
delete mode 100644 docs/zetachain/setup.md
delete mode 100644 docs/zetachain/upgrade.md
diff --git a/docs/zetachain/setup.md b/docs/zetachain/setup.md
deleted file mode 100644
index fd6d1125..00000000
--- a/docs/zetachain/setup.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-sidebar_position: 1
-description: Setting up ZetaChain Validator node
----
-
-# Setup
-
-## Hardware requirements
-
-| Node Type | CPU | Memory | Data Disk |
-| --------------- | ----------- | ------------- | ---------------- |
-| Observer Signer | 8 CPUs | 32 GB Memory | 300+ GB Data Disk |
-| Core Validator | 4 CPUs | 16 GB Memory | 300+ GB Data Disk |
-
-## Setting up ZetaChain Validator node
-
-### Server preparing
diff --git a/docs/zetachain/upgrade.md b/docs/zetachain/upgrade.md
deleted file mode 100644
index 4c4d549c..00000000
--- a/docs/zetachain/upgrade.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-sidebar_position: 2
-description: Upgrade ZetaChain Validator node
----
-
-# Upgrade
-
-## Upgrade the node
-
-### Stop the node
-```bash
-command
-```
diff --git a/docusaurus.config.js b/docusaurus.config.js
index afe0b6b0..4df52605 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -1,39 +1,39 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
-const lightCodeTheme = require('prism-react-renderer/themes/github');
-const darkCodeTheme = require('prism-react-renderer/themes/dracula');
+const lightCodeTheme = require("prism-react-renderer/themes/github");
+const darkCodeTheme = require("prism-react-renderer/themes/dracula");
/** @type {import('@docusaurus/types').Config} */
const config = {
- title: 'F5 NODES – WIKI',
- tagline: 'your nodes troubleshooter.',
- favicon: 'img/favicon.svg',
- url: 'https://wiki.f5nodes.com',
- baseUrl: '/',
- organizationName: 'f5nodes',
- projectName: 'wiki',
- onBrokenLinks: 'throw',
- onBrokenMarkdownLinks: 'warn',
+ title: "NODES WIKI",
+ tagline: "your nodes troubleshooter.",
+ favicon: "img/favicon.svg",
+ url: "https://wiki.f5nodes.com",
+ baseUrl: "/",
+ organizationName: "f5nodes",
+ projectName: "wiki",
+ onBrokenLinks: "throw",
+ onBrokenMarkdownLinks: "warn",
i18n: {
- defaultLocale: 'en',
- locales: ['en', 'uk'],
+ defaultLocale: "en",
+ locales: ["en"],
},
presets: [
[
- 'classic',
+ "classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
- sidebarPath: require.resolve('./sidebars.js'),
- editUrl: 'https://github.com/f5nodes/wiki/tree/main/',
- routeBasePath: '/',
+ sidebarPath: require.resolve("./sidebars.js"),
+ editUrl: "https://github.com/f5nodes/wiki/tree/main/",
+ routeBasePath: "/",
showLastUpdateTime: true,
},
blog: false,
theme: {
- customCss: require.resolve('./src/css/custom.css'),
+ customCss: require.resolve("./src/css/custom.css"),
},
}),
],
@@ -42,96 +42,94 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
- image: 'img/social-card.png',
+ image: "img/social-card.png",
colorMode: {
- defaultMode: 'dark',
+ defaultMode: "dark",
},
- // announcementBar: {
- // id: 'lets_contribute',
- // content:
- // 'All contributions are welcome! Check our github.',
- // backgroundColor: 'white',
- // textColor: 'black',
- // isCloseable: true,
- // },
+
+ announcementBar: {
+ id: "lets_contribute",
+ content:
+ 'Let\'s build something great together! Check out the github page for ways to contribute.',
+ backgroundColor: "white",
+ textColor: "black",
+ isCloseable: true,
+ },
+
algolia: {
- appId: 'CUEVS66Y1G',
- apiKey: 'b2dc4ae3199ebaaeedc032742c9d1589',
- indexName: 'f5nodes',
+ appId: "CUEVS66Y1G",
+ apiKey: "b2dc4ae3199ebaaeedc032742c9d1589",
+ indexName: "f5nodes",
contextualSearch: true,
debug: false,
},
navbar: {
logo: {
- alt: 'F5 Nodes Wiki',
- src: 'img/logo-light.svg',
- srcDark: 'img/logo-dark.svg',
+ alt: "Nodes Wiki",
+ src: "img/logo-light.svg",
+ srcDark: "img/logo-dark.svg",
},
items: [
{
- type: 'doc',
- docId: 'intro',
- position: 'left',
- label: 'Intro',
+ type: "doc",
+ docId: "intro",
+ position: "left",
+ label: "Intro",
},
{
- href: 'https://github.com/f5nodes/wiki',
- label: 'GitHub',
- position: 'right',
+ href: "https://github.com/f5nodes/wiki",
+ label: "GitHub",
+ position: "right",
},
{
- type: 'localeDropdown',
- position: 'right',
+ type: "localeDropdown",
+ position: "right",
},
],
},
footer: {
links: [
{
- title: 'Docs',
+ title: "Docs",
items: [
{
- label: 'Intro',
- to: '/intro',
+ label: "Intro",
+ to: "/intro",
},
{
- label: 'Celestia',
- to: '/category/celestia',
+ label: "Celestia",
+ to: "/category/celestia",
},
],
},
{
- title: 'Community',
+ title: "Community",
items: [
{
- label: 'Telegram',
- href: 'https://t.me/f5nodes',
+ label: "Telegram",
+ href: "https://t.me/f5nodes",
},
{
- label: 'Twitter',
- href: 'https://twitter.com/f5nodes',
+ label: "Twitter",
+ href: "https://twitter.com/f5nodes",
},
],
},
{
- title: 'More',
+ title: "More",
items: [
{
- label: 'F5 Nodes',
- href: 'https://f5nodes.com',
- },
- {
- label: 'F5 Checker',
- href: 'https://github.com/f5nodes/f5checker',
+ label: "F5 Nodes",
+ href: "https://f5nodes.com",
},
{
- label: 'GitHub',
- href: 'https://github.com/f5nodes/wiki',
+ label: "GitHub",
+ href: "https://github.com/f5nodes/wiki",
},
],
},
],
- copyright: `Copyright © ${new Date().getFullYear()} F5 NODES, Inc.`,
+ copyright: `Copyright © ${new Date().getFullYear()} F5 NODES. All Rights Reserved.`,
},
prism: {
theme: lightCodeTheme,
diff --git a/i18n/uk/docusaurus-plugin-content-docs/current/intro.md b/i18n/uk/docusaurus-plugin-content-docs/current/intro.md
index 6f4024f0..f5a3f1c5 100644
--- a/i18n/uk/docusaurus-plugin-content-docs/current/intro.md
+++ b/i18n/uk/docusaurus-plugin-content-docs/current/intro.md
@@ -2,26 +2,3 @@
sidebar_position: 1
---
# Introduction
-
-тут українською
-
-```bash
-npm init docusaurus@latest my-website classic
-```
-
-мовою
-
-```bash
-cd my-website
-npm run start
-```
-
-траляляля
-
-```bash
-test
-```
-
-```jsxhellou
-test1
-```