Skip to content

Commit

Permalink
config upd
Browse files Browse the repository at this point in the history
  • Loading branch information
vasylcode authored Sep 9, 2023
1 parent d72b321 commit ad0e248
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 116 deletions.
17 changes: 0 additions & 17 deletions docs/zetachain/setup.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/zetachain/upgrade.md

This file was deleted.

124 changes: 61 additions & 63 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -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"),
},
}),
],
Expand All @@ -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 <a target="_blank" rel="noopener noreferrer" href="https://github.com/f5nodes/wiki">github</a>.',
// backgroundColor: 'white',
// textColor: 'black',
// isCloseable: true,
// },

announcementBar: {
id: "lets_contribute",
content:
'Let\'s build something great together! Check out the <a target="_blank" rel="noopener noreferrer" href="https://github.com/f5nodes/wiki">github</a> 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,
Expand Down
23 changes: 0 additions & 23 deletions i18n/uk/docusaurus-plugin-content-docs/current/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit ad0e248

Please sign in to comment.